09-28-2018 01:41 PM - edited 03-03-2019 08:54 AM
Hi,
I know there are quite a few discussions on this, but I haven't seen this question answered. So if I have two routers HSRP'd with the /27 DHCP pool split into /26 between them. What do I set the default-router IP to for each pool? Can I set it to the HSRP virtual IP, keeping in mind one of the pools won't have this IP in it (although of course the HSRP IP will be excluded from the pools themselves?) Is this example functional?
Primary Router
ip dhcp excluded-address 10.30.3.129
ip dhcp excluded-address 10.30.3.131
ip dhcp excluded-address 10.30.3.144 10.30.3.159
ip dhcp pool RECON_A
network 10.30.3.128 255.255.255.240
default-router 10.30.3.129
dns-server 10.30.3.129
lease 0 0 10
update arp
interface vlan 30
description RECON_LAN
encapsulation dot1Q 30
ip address 10.30.3.131 255.255.255.224
no ip redirects
no ip unreachables
no ip proxy-arp
standby version 2
standby 30 ip 10.30.3.129
standby 30 timers 2 5
standby 30 priority 110
standby 30 preempt delay minimum 300
Secondary Router
ip dhcp excluded-address 10.30.3.129 10.30.3.145
ip dhcp pool RECON_B
network 10.30.3.144 255.255.255.240
default-router 10.30.3.129
dns-server 10.30.3.129
lease 0 0 10
update arp
ip dhcp ping packets 5
ip dhcp ping timeout 1000
interface Vlan30
description RECON_LAN
ip dhcp relay information trusted
ip address 10.30.3.145 255.255.255.224
no ip redirects
no ip unreachables
no ip proxy-arp
standby version 2
standby 30 ip 10.30.3.129
standby 30 timers 2 5
standby 30 priority 105
standby 30 preempt delay minimum 300
Solved! Go to Solution.
09-29-2018 04:43 AM
Hi,
Keep default-router IP as HSRP group virtual IP address "10.30.3.129"
Regards,
Deepak Kumar
09-29-2018 04:43 AM
Hi,
Keep default-router IP as HSRP group virtual IP address "10.30.3.129"
Regards,
Deepak Kumar
09-29-2018 10:17 AM
Just wanted to make sure. The method being used was the IP of the VLAN interface on each individual router, but I thought the HSRP IP made more sense.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide