cisco_lad2004 Fri, 04/04/2008 - 04:21
User Badges:
  • Gold, 750 points or more

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



Kevin Dorrell Fri, 04/04/2008 - 04:33
User Badges:
  • Green, 3000 points or more

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


cisco_lad2004 Fri, 04/04/2008 - 04:40
User Badges:
  • Gold, 750 points or more

No Problems kevin !

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


tarun.shee Fri, 04/04/2008 - 21:12
User Badges:


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

Ple. help

Istvan_Rabai Sat, 04/05/2008 - 00:36
User Badges:
  • Gold, 750 points or more

Hi Tarun,

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

The solution depends on your purpose.



tarun.shee Fri, 04/04/2008 - 21:23
User Badges:


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

Plz. Help.

Danilo Dy Fri, 04/04/2008 - 04:23
User Badges:
  • Blue, 1500 points or more


You mean this?

arp ip-address mac-address arpa


Where H is a hex character from 0 - F



Didier1966 Mon, 10/11/2010 - 08:29
User Badges:


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,



This Discussion