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