Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

IP address binding with MAC

hi,

Plz. send the config. How to bind IP address with MAC.

8 REPLIES

Re: IP address binding with MAC

TST-POP1-ACC01(config)#mac-address-table static

HTH

Sam

Re: IP address binding with MAC

Sam, I'm sorry to contradict, but the mac-address-table static will make a static binding between MAC address and a port, but not between a MAC address and an IP address.

Setting a static mapping between IP address and MAC address depends on what you want to achieve.

If your hosts are configured using DHCP, then you can make static bindings on the DHCP server, although I have to say that if you have a large number hosts then it is easier on a Microsoft server than it is to do it on a router. Also, you should consider how much maintenance burden you want to give yourself. It depends on your environment.

If you want to bind an IP address to a switchport, then that is tricky. You could put an IP access list on the port (yes, even on some layer-2 switches), as well as implementing static port-security, which binds the MAC address to the switchport (but only within the single switch). But again that could be a maintenance overhead, depending on how dynamic your environment is.

If you don't use DHCP, you can still do things that prevent users from abusing an IP address. You can set a static ARP entry in your routers. That will prevent any rogue mapping from getting outside the VLAN, but does nothing for the switching within the VLAN.

Sorry, the options are numerous, but if you can explain what you are trying to achieve maybe we can whittle it down a bit.

Kevin Dorrell

Luxembourg

Re: IP address binding with MAC

No Problems kevin !

I was bit fast on the trigger, so will stand corrected :-)

Sam

New Member

Re: IP address binding with MAC

hi,

I am to configure statically MAC address to IP address binding.

Ple. help

Re: IP address binding with MAC

Hi Tarun,

Kevin is asking what purpose you want to achieve with mac-address to IP address binding.

The solution depends on your purpose.

Cheers:

Istvan

New Member

Re: IP address binding with MAC

hi,

I am to configure Pc's MAC address to IP address binding in my router.

Plz. Help.

Re: IP address binding with MAC

Hi,

You mean this?

arp ip-address mac-address arpa

arp 10.10.10.10 HHHH.HHHH.HHHH arpa

Where H is a hex character from 0 - F

Regards,

Dandy

New Member

Re: IP address binding with MAC

Hello,

I did this on a CISCO 1841 ROUTER ,and it does not work

What can prevent that this work ?

Thank you in advance for your help

Best Regards,

Didier

649
Views
0
Helpful
8
Replies