DHCP server in cisco router

Unanswered Question
Mar 8th, 2007

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Danilo Dy Thu, 03/08/2007 - 04:51

You can specify 8 IP Addresses in one command


ip dhcp pool 1

default-router IP1 IP2 IP3 IP4 IP5 IP6 IP7 IP8

rajesh_colt Thu, 03/08/2007 - 05:08

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

Danilo Dy Thu, 03/08/2007 - 05:24

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


This Discussion