[c-nsp] Redundant DHCP Server
Mohammad Khalil
eng_mssk at hotmail.com
Mon Jun 1 05:43:09 EDT 2015
Hi allI am testing a redundant DHCP server with two MLS connected to an access switch Two hosts are connected to the access switch and they are DHCP clientsWhat am trying to do is to load balance the DHCP assignments and to avoid duplicate IP address assignments , so I have configured the same DHCP pools on both switches with the HSRP virtual IP address acting as the gateway for clientsSW1interface Vlan10 ip address 192.168.10.1 255.255.255.0 standby use-bia standby 10 ip 192.168.10.3 standby 10 priority 110 standby 10 preemptip dhcp pool POOL network 192.168.10.0 255.255.255.0 default-router 192.168.10.3ip dhcp excluded-address 192.168.10.1 192.168.10.3ip dhcp excluded-address 192.168.10.130 192.168.10.254ip dhcp ping packetsSW2interface Vlan10 ip address 192.168.10.2 255.255.255.0 standby use-bia standby 10 ip 192.168.10.3 standby 10 preemptip dhcp pool POOL network 192.168.10.0 255.255.255.0 default-router 192.168.10.3ip dhcp excluded-address 192.168.10.1 192.168.10.3ip dhcp excluded-address 192.168.10.4 192.168.10.129ip dhcp ping packetsNow , when the clients requested IP addressPC1> showNAME IP/MASK GATEWAY MAC LPORT RHOST:PORTPC1 192.168.10.6/24 192.168.10.3 00:50:79:66:68:01 20501 127.0.0.1:10005 fe80::250:79ff:fe66:6801/64PC2> showNAME IP/MASK GATEWAY MAC LPORT RHOST:PORTPC2 192.168.10.133/24 192.168.10.3 00:50:79:66:68:02 20502 127.0.0.1:10006 fe80::250:79ff:fe66:6802/64R1#sh ip dhcp bindingBindings from all pools not associated with VRF:IP address Client-ID/ Lease expiration Type Hardware address/ User name192.168.10.6 0100.5079.6668.01 Mar 01 2002 12:23 AM Automatic192.168.10.7 0100.5079.6668.02 Mar 01 2002 12:23 AM AutomaticR2#sh ip dhcp bindingBindings from all pools not associated with VRF:IP address Client-ID/ Lease expiration Type Hardware address/ User name192.168.10.132 0100.5079.6668.01 Mar 02 2002 12:18 AM Automatic192.168.10.133 0100.5079.6668.02 Mar 02 2002 12:18 AM AutomaticI do not understand why the two servers assigned IP addresses?Thanks
More information about the cisco-nsp
mailing list