cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
473
Views
0
Helpful
4
Replies

Binds an ip to a mac adress

tarun.shee
Level 1
Level 1

sir,

plz. help, how to Binds an ip to a mac adress in cisco IOS.

Regards,

Tarun

4 Replies 4

avillalva
Level 1
Level 1

Hi Tarun,

Arp binds an IP to a mac address. To create a static arp entry type "arp x.x.x.x yyyy.yyyy.yyyy arpa" in global config.

Hope that helps,

Andres

sir,

I want to bind because,user will not change their IP address. If they change router will not allow them. So, this is not possibel in

"arp x.x.x.x yyyy.yyyy.yyyy arpa"

Regards,

Tarun

You can use an Arp ACL if changing IP's is an issue.

1. arp access-list Manage_Host_A

2. permit ip host 10.1.1.1 mac host yyyy.yyyy.yyyy

3. deny ip any host yyyy.yyyy.yyyy

4. permit ip any any

5. (global config mode) ip arp inspection filter Manage_Host_A vlan 10 static

This is theory only, but the above config should have the effect of permiting the host when its specified IP address is used and denied if any other IP is used. All other addresses are allowed.

hope that helps,

Andres

shiva_ial
Level 1
Level 1

hi,

static mac address option with port security will work for you i believe.

The switch supports these types of secure MAC addresses:

•Static secure MAC addresses-These are manually configured by using the switchport port-security mac-address mac-address interface configuration command, stored in the address table, and added to the switch running configuration.

•Dynamic secure MAC addresses-These are dynamically configured, stored only in the address table, and removed when the switch restarts.

•Sticky secure MAC addresses-These are dynamically configured, stored in the address table, and added to the running configuration. If these addresses are saved in the configuration file, when the switch restarts, the interface does not need to dynamically reconfigure them.

check the link

http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_11_yj/configuration/guide/swtrafc.html

rate if it helps

rgds/shiva

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card