cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2384
Views
0
Helpful
1
Replies

DHCP Configuration for Primary and Secondary Switches Running In VRRP

irfanjamil1994
Level 1
Level 1

Hi All,

 

I have a confusion regarding configuring DHCP on my primary and secondary switches, which are running in redundancy (VRRP). When configuring DHCP on my secondary switch i.e. the backup switch in VRRP, which IP should I use as a "default-router" IP, primary switch's SVI IP, secondary switch's SVI IP or VRRP's virtual IP? Configuration and IPs configured pasted as below:

 

Primary Switch:

interface Vlan50
ip address 192.168.50.1 255.255.255.0
vrrp 50 address-family ipv4
priority 120
address 192.168.50.1 primary
exit-vrrp

 

ip dhcp pool MGMT
network 192.168.50.0 255.255.255.0
default-router 192.168.50.1
dns-server 8.8.8.8

 

Secondary Switch:

interface Vlan50
ip address 192.168.50.2 255.255.255.0
no ip route-cache
vrrp 50 address-family ipv4
address 192.168.50.1 primary
exit-vrrp

 

ip dhcp pool MGMT
network 192.168.50.0 255.255.255.0
default-router "this IP is needed to be confirmed"
dns-server 8.8.8.8

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

Not sure you have any seconday configured on this VRRP config. (or any other  special requirement i missing here ?)

 

Primary Switch:

interface Vlan50
ip address 192.168.50.3 255.255.255.0
vrrp 50 priority 100
vrrp 50 ip 192.168.50.1

Secondary Switch:

interface Vlan50
ip address 192.168.50.3 255.255.255.0
vrrp 50 priority 120
vrrp 50 ip 192.168.50.1


ip dhcp excluded-address 192.168.50.1 192.168.50.10
ip dhcp pool MGMT
network 192.168.50.0 255.255.255.0
default-router 192.168.50.1
dns-server 8.8.8.8

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help