Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

DHCP server in cisco router

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.


Re: DHCP server in cisco router

You can specify 8 IP Addresses in one command


ip dhcp pool 1

default-router IP1 IP2 IP3 IP4 IP5 IP6 IP7 IP8

New Member

Re: DHCP server in cisco router

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...

Re: DHCP server in cisco router

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 :)

CreatePlease to create content