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

MAC to IP Address Binding in cisco 3560 Switch

sairampenta
Level 1
Level 1

Hi,

We have configured Cisco 3560 Switch as DHCP server. Created VLAN 2-20.

VLAN 4 is for wifi users. remaining all VLAN's for wired LAN users.

Our airm is to assign fixed IP address from DHCP server for some users using wifi VLAN.

Through MAC binding it will accomplish. 

So we configured following command in switch :

ip source binding 2CB4.3ADB.4406 vlan 4 172.X.X.X interface Gi0/7. 

Still the users are getting new ip address everytime the lease period expire from DHCP. 

Is there any additional command with reference to the above. 

Thanks & Regards,

Sairam 

 

1 Accepted Solution

Accepted Solutions

Hi,
as long as I know, there is no other solution for that on Cisco IOS.

Generally it is not recommended to burden hardware with DHCP server. Consider to configure DHCP server on MS Windows server instead of cisco device for example.

View solution in original post

4 Replies 4

Milos Megis
Level 3
Level 3

Hi,
with your command you performed a part of configuration of source guard.

Try to read this webpage:
https://learningnetwork.cisco.com/thread/25168

You will have to configure one DHCP pool for every mac-to-IP address binding.

If I can advise you, at first assign IP address to host dynamically, then display client-identifier with command show ip dhcp bindings and finally configure static mapping. Client identifier should be 01+mac address but if you perform above steps then you just copy it.

Thanks you milos. 

But for every mac-to-ip address need to configure pool it is very tedious job.

we have around 30 ip to mac binding.

Kindly suggest alternate solution.

Thanks in advance...Milos  

Hi,
as long as I know, there is no other solution for that on Cisco IOS.

Generally it is not recommended to burden hardware with DHCP server. Consider to configure DHCP server on MS Windows server instead of cisco device for example.

Ok, thanks

Review Cisco Networking for a $25 gift card