05-15-2011 07:11 AM - edited 03-06-2019 05:03 PM
I have a question how can a connection to a specific ip address mac-address
05-15-2011 12:47 PM
Hi,
Completely unintelligible question, Can you reformulate more clearly please.
Regards.
Alain.
05-15-2011 01:03 PM
how can you have a MAC address to an ip address to
05-15-2011 01:12 PM
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.
05-15-2011 01:17 PM
mac and remains always refer to the ip address
05-15-2011 01:33 PM
You want to configure a static arp entry? Then in global config: arp "ip add" "mac add"
Regards.
Alain.
05-15-2011 01:35 PM
Yes for that device always gets the same ip address
05-15-2011 02:49 PM
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.
05-15-2011 02:52 PM
can you do that without DHCP or is it not possible
05-15-2011 11:49 PM
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.
05-17-2011 09:38 AM
so it'll only work if I have a static IP address from the isp
05-17-2011 10:46 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide