Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-15-2014, 10:41 AM   #1
Registered: Apr 2012
Distribution: Ubuntu, SUSE, Redhat
Posts: 188

Rep: Reputation: Disabled
vrrpd setup please check if I am understanding it correctly

I got two VMs running redhat 6.5 and I am trying setup VRRPD on it. But I am confused about something:

According to what I have read, I need to setup it up like this

VM A has two interfaces, and
VM B has two interfaces, and is the VIP for vrrpd, and .1 and .3 are the VM's own IPs.

These two VMs are on the same network. When I tried to enable the .2 IP on VM B, I get an error

[root@ssrarmfe2 ~]# ifup eth1
Determining if ip address is already in use for device eth1...
Error, some other host already uses address
which confuses me: If I am to enable vrrpd I need both VMs to have the same VIP assigned to it. As per this doc here:

So am I misunderstanding something?

Old 10-15-2014, 09:47 PM   #2
Registered: Apr 2012
Distribution: Ubuntu, SUSE, Redhat
Posts: 188

Original Poster
Rep: Reputation: Disabled
as it turns out, i did misunderstand. here is the proper setup"

VM A gets IP 1. VM B gets IP2.

start vrrpd daemon with IP3. this is the VIP address.

vrrpd should run on both VMs and with different priority and the same the router id.

vrrpd does not survive reboot. Therefore you need to add it in rc.local.

vrrpd, after start, will rewrite routing file. this takes about 5 seconds to complete on my VM.

therefore, rc.local will also need to include a sleep statement to let vrrpd finish editing the routing file. and then add in a line to include things such as default gw.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] need help configuring vrrpd jzoudavy Linux - Newbie 1 10-14-2014 07:45 PM
How check if aquasim is correctly installed in ubuntu 12.04 Arktech Linux - Newbie 1 07-12-2014 01:34 PM
Am I understanding the output of `top` correctly? zQUEz Linux - Server 2 01-23-2012 10:04 AM
Check CPU - Red Hat - how to check if CPU working correctly ? dlugasx Linux - Server 8 07-28-2011 01:58 AM
how can i check if my swap partition is being used correctly ? abbasakhtar Linux - Newbie 2 10-07-2003 11:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration