I have a 1841 cisco router as a dhcp server with 2 address pools namely abc & xyz
ip dhcp pool abc network 10.20.4.0 255.255.255.0 default router 10.20.4.1
ip dhcp pool xyz network 192.50.201.0 255.255.255.0 default router 192.50.201.1
Router is connected to a cisco 2960 switch. It has 2 vlans associated with the 2 address pools.
I have a manual binding to server.
ip dhcp pool serv host 10.20.40.5 client-identifier xxx.xxx.xxxx.xx
when i connect the server to a switch port which is associated with the abc pool it gets the correct manally binded ip.
when i connect it to a switch port which is associated with the xyz pool, it get an ip from that pool. But i want the router to assign only the binded ip when connected to a port associated with the abc pool. If the server is connected to the other vlan port, then it shoul not get an ip.
How can i do this. Please help