What is VRRP and what it is being used for?

What is VRRP and what it is being used for? I would like to know the use case. Appreciate any help in this. Thanks!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The Virtual Router Redundancy Protocol (VRRP) is almost the same as HSRP (if you are familiar with it), but it is open standard (HSRP is Cisco proprietary) so all vendors can use it. It is First Hop Redundancy Protocol (FHRP). Basically, VRRP provide virtual IP address for hosts to be used as default gateway, in case that L3 device that is in use as default gateway is unavailable, other L3 devices replace unavailable device to be default gateway.
Wiki article.
More theory and configuration on Cisco devices
Don JohnstonInstructorCommented:
The primary function of VRRP is as a standards based First Hop Routing Protocol (FHRP).

Basically, if your network has two separate routers which provide connectivity to the same locations (the Internet, branch offices, etc.), when you configure the local PC's, you have to pick one of those two routers as the default gateway.  If the router you chose to use fails, that second router will not be used until you redefine the default gateway on each PC to use the other router.

With a FHRP, the two routers work together to provide redundancy for the default gateway service.  One of the routers becomes the "active" forwarder.  The other is in "standby" mode.  All traffic sent through the default gateway will be handled by the active router.  If the active router fails, the standby promotes itself to be the active router and the traffic continues to flow.  The PC's have no idea this happened.

There is a bit more going on behind the scenes but I didn't know how much detail you were looking for.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
beer9Author Commented:
Thanks for explaining, I have below details for my interface, and IP is being used as VRRP via Keepalived (http://www.keepalived.org/) applications. I would like to understand what is happening here.

oot@localhost:~# ip addr show eth2
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 05:2b:21:2f:f2:65 brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth2
    inet scope global eth2
    inet6 fe20::27b:22ff:f1cf:7bc5/64 scope link
       valid_lft forever preferred_lft forever

Open in new window

Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Don JohnstonInstructorCommented:
It looks like the is the "virtual IP" address for VRRP.  This is the IP address that the hosts use as their default gateway.

When a host forwards traffic to that IP address, only the active router will forward it.

Edit: This implementation of VRRP uses "Master" and "Backup" instead of "Active" and "Standby".

Recommend reading the users guide, section V.
beer9Author Commented:
Thanks for the explanation. What is the difference of "Master"/"Backup" and "Active"/"Standby".
Don JohnstonInstructorCommented:
Please see my first post.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.