cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1108
Views
0
Helpful
11
Replies

ip address to mac-address

pcfreak49
Level 1
Level 1

I have a question how can a connection to a specific ip address mac-address

11 Replies 11

cadet alain
VIP Alumni
VIP Alumni

Hi,

Completely unintelligible question, Can you reformulate more clearly please.

Regards.

Alain.

Don't forget to rate helpful posts.

how can you have a MAC address to an ip address to

Hi,

Not much more understandable but anyway let's do some assumption, you mean:

- how to get MAC address corresponding to IP address ?

If it is the question then you have to look in arp cache, on a PC arp -a and on a Cisco Router  show ip arp.

Regards.

Alain.

Don't forget to rate helpful posts.

mac and remains always refer to the ip address

You want to configure a static arp entry?  Then in global config: arp "ip add" "mac add"

Regards.

Alain.

Don't forget to rate helpful posts.

Yes for that device always gets the same ip address

Ah ok so you want a device with a MAC address to get always the same IP with DHCP?

Then you configure a  network DHCP Pool  and then another one with the manual binding like this:

ip dhcp pool PARENT

network 192.168.1.0 /24

default-router x.x.x.x

ip dhcp pool CHILD

host 192.168.1.2 255.255.255.0

hardware-address xxxx.xxxx.xxxx or client-identifier 01xx.xxxx.xxxx.xx To see what to use just let your host get an IP from PARENT pool and then do show ip dhcp binding and you'll know what it uses.

Regards.

Alain.

Don't forget to rate helpful posts.

can you do that without DHCP or is it not possible

Hi,

of course  with a static IP but I suppose it has something to do with the ip vaste problem  post in  WAN routing and switching section?

If this is the case, AFAIK whether you ask for a static permanent IP whether you have dynamic DHCP given IP but not statically defined.

Regards.

Alain.

Don't forget to rate helpful posts.

so it'll only work if I have a static IP address from the isp

AFAIK if you want your WAN address to stay the same you have to ask for a static IP from ISP as they don't give DHCP addresses withi nfinite leases.

Regards.

Alain.

Don't forget to rate helpful posts.