ā01-05-2023 12:59 PM
Hello.
With a Hot Standby Routing Protocol configuration, does the active router have 2 active IP's on one interface at same time (The normal= 10.0.0.1, and the VIP= 10.0.0.3)?
Thank you!
Solved! Go to Solution.
ā01-05-2023 01:39 PM
Do you mean virtual IP and Physical IP - yes from the endpoint side those can be reachable.
but to get the expected outcome, the end device needs to point to VIP IP address at all time as gateway.
ā01-05-2023 01:03 PM - last edited on ā01-06-2023 02:01 AM by Translator
active router reply to any arp request ask MAC-IP for two IP
interface IP
Virtual IP of HSRP
standby router reply to any arp request ask MAC-IP of one IP
interface IP
so active HSRP router really have two IP in interface config with HSRP.
ā01-05-2023 01:29 PM - last edited on ā01-06-2023 02:14 AM by Translator
virtual IP will be bound to an Active role in the HSRP - depending on the priority the one elected as ACTIVE will hold the IP you see that information
show standby brief show IP arp (show the virtual IP and mac address of virtual IP)
ā01-05-2023 01:36 PM
Will a workstation receive successful pings responses from both IPs on the routers same interface?
ā01-05-2023 01:39 PM
Do you mean virtual IP and Physical IP - yes from the endpoint side those can be reachable.
but to get the expected outcome, the end device needs to point to VIP IP address at all time as gateway.
ā01-05-2023 02:08 PM
Will a workstation receive successful pings responses from both IPs on the routers same interface?
You mean virtual IP and Physical IP - yes
ā01-05-2023 01:46 PM - edited ā01-05-2023 01:49 PM
Hello,
The point of HSRP is the redundancy effect. You could point your devices to the default GW of the 10.0.0.1 IP address but if that router fails you will lose your GW and the devices wont know where to go. If you point it to the 10.0.0.3 (VIP address), then if R1 fails you have R2 as a backup also using that IP. You point the clients to the VIP or the physical IP. I could possibly see a scenario where you would point a client(s) to the physical IP if it had to go that way for a requirement...but like I said you lose the redundancy.
Also, I wouldn't call the physical IP of R1 an "Active" IP, while technically it is active and functional, the terminology mixed with the HSRP configuration could be misinterpreted.
Don't forget you can also configure multiple secondary IP addresses on an interface as well.
Hope that helps
-David
ā01-05-2023 01:54 PM
Only active hsrp peer respond to ping to VIP the standby not respond.
ā01-05-2023 03:04 PM
"With a Hot Standby Routing Protocol configuration, does the active router have 2 active IP's on one interface at same time (The normal= 10.0.0.1, and the VIP= 10.0.0.3)?"
If by "active router" you mean the one which is actively being the HSRP IP, as noted by the other posters, the answer is yes.
As other routers can be not concurrently be the same "active" HSRP IP, on those only their physical IP will be "active", i.e. they will not, for example, respond to a ping to the HSRP IP.
BTW, other FHRPs work a bit differently. For example, if using GLBP, all the routers supporting the same IP might do so at the same time. I.e. if you ping the GLBP IP, you'll get a response from from one of the GLBP routers but which one respond might differ based on which host pinged the GLBP IP. (All those routers, though, will respond to their own physical interface IP.)
Also with later variants of HSRP, you can have multiple HSRP IPs. Depending how you define priorities, and which router "wins" the election to "actively" be a particular HSRP IP, one router might be the one responding to multiple HSRP IPs on it, or, again due to how the HSRP IPs are currently actively hosted/supported, different routers might respond to a specific HSRP IP.
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