03-08-2007 04:43 AM - edited 03-03-2019 04:05 PM
Router(config)#ip dhcp pool 1
Router(dhcp-config)#network x.x.x.x /22
Router(dhcp-config)#domain-name (domain name)
Router(dhcp-config)#dns dns1 dns2
Router(dhcp-config)#default-router x.x.x.x
Router(dhcp-config)#class class1
Router(config-dhcp-pool-class)#address range x.x.x.x x.x.x.x
this mode of configuration is absolutely working fine for me. my problem is i need to add one secondary gateway also with my default router, can I? if can then what is the commands. and my client machines are windows machines and my windows machines should contact secondary gateway when primary gateway fails.
03-08-2007 04:51 AM
You can specify 8 IP Addresses in one command
!
ip dhcp pool 1
default-router IP1 IP2 IP3 IP4 IP5 IP6 IP7 IP8
03-08-2007 05:08 AM
So will second ip address be the secondary gateway , and windows machines will identify it as secondary gateway... and will contact it when default gateway goes down???
thanks in advance...
03-08-2007 05:24 AM
It should be, I can't remember the detailed operation of this multiple gateway but you can try it by shutting down the first specified gateway :)
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: