December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to configure multiple routers to act as DHCP servers for the same subnet to ensure availability.
You can configure multiple routers to act as DHCP servers for a single subnet, by ensuring that they don’t use the same pool of addresses.
Here’s Router1:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ip dhcp poolRouter1(dhcp-config)#172.22.1.0/24networkRouter1(dhcp-config)#172.22.1.0 255.255.255.0default-routerRouter1(dhcp-config)#172.22.1.1domain-nameRouter1(dhcp-config)#oreilly.comdns-serverRouter1(dhcp-config)#172.25.1.1 10.1.2.3exitRouter1(config)#ip dhcp excluded-addressRouter1(config)#172.22.1.1 172.22.1.49ip dhcp excluded-addressRouter1(config)#172.22.1.150 172.22.1.254ip dhcp databaseRouter1(config)#ftp://dhcp:bindsave@172.25.1.1/dhcp-leases-rtr1endRouter1#
And here’s Router2:
Router2#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router2(config)#ip dhcp poolRouter2(dhcp-config)#172.22.1.0/24networkRouter2(dhcp-config)#172.22.1.0 255.255.255.0default-routerRouter2(dhcp-config)#172.22.1.1domain-nameRouter2(dhcp-config)#oreilly.comdns-serverRouter2(dhcp-config)#172.25.1.1 10.1.2.3exitRouter2(config)#ip dhcp excluded-addressRouter2(config)#172.22.1.1 172.22.1.149ip dhcp databaseRouter2(config)#ftp://dhcp:bindsave@172.25.1.1/dhcp-leases-rtr2endRouter2#
You can configure multiple DHCP ...