cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
636
Views
5
Helpful
3
Replies

DHCP server in cisco router

rajesh_colt
Level 1
Level 1

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.

3 Replies 3

Danilo Dy
VIP Alumni
VIP Alumni

You can specify 8 IP Addresses in one command

!

ip dhcp pool 1

default-router IP1 IP2 IP3 IP4 IP5 IP6 IP7 IP8

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

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

Getting Started

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: