Talk:Virtual Router Redundancy Protocol
From Wikipedia, the free encyclopedia
How can one redirect this article to Virtual Router Redundancy Protocol I think that would be a more appropriate name
Hey guys, Some of this page is factually a little off regarding the election mechanism. I just finished a VRRP implementation for a router manufacturer, so I'm in a good position to nitpick ;) I'll update as soon as I have the time.. but for now check the RFC before basing decisions on this page. Daren Brantley 20:49, 17 November 2006 (UTC)
[edit] Load sharing
Can VRRP be used to share two gateways in a load-balancing arrangement? If so, is there a way of setting a "preferred" gateway for different nodes?
Yes, that's actually the only way to perform load-balancing. Given two routers, router1 and router2, create two vrids, e.g. vrid1 and vrid2 with virtual ip addresses ip1 and ip2 respectively. Make both routers members of both vrids, but give router1 a higher priority in vrid1 and give router2 a higher priority in vrid2. Now set some nodes (hosts) to a default gateway of ip1, and the rest to ip2. Under normal operation (both routers up) the load is coarsely balanced between the routers, with router1 serving ip1 and router2 serving ip2. If either router fails the other takes over both ips. Daren Brantley 20:16, 17 November 2006 (UTC)
[edit] VRRP and PAT (Source-NAT)
Can VRRP be used on a network that uses Port Address Translation (PAT) to hide itself from the external network? Will established TCP sessions be reset when a failover takes place?
Yes and yes. For tcp connections to stay up the routers would have to synchronize their port maps AND present the same public IP address.. remember the remote host indexes it's tcp connections with the router's public IP. Daren Brantley 20:29, 17 November 2006 (UTC)