Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-30-2012, 05:27 AM   #1
LQ Newbie
Registered: May 2012
Posts: 7

Rep: Reputation: Disabled
how to configure VRRP VMAC with keepalived

Hi all,
My intention is how to configure vrrp vmac in kernel from user space.My setup and configurations as mentioned below:

simple SetUp:


I am not sure this setup is fine or not for vrrp-vmac handling (master and slave). please let me know topology also if its wrong

keepalived.conf file:
I am not understanding clearly. can you please give some information on this also.

vrrp_sync_group VG1

vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 150
advert_int 1
{ IP)

vrrp_instance VI_2
state MASTER
interface eth1
virtual_router_id 52
priority 150
advert_int 1

I am getting below error when I start keepalived(./keepalived -f /etc/keepalived/keepalived.conf -P).

Oct 30 14:27:05 localhost Keepalived[28204]: Netlink: error: File exists, type=(16), seq=1351587426, pid=0 errno= 12781019
Oct 30 14:27:05 localhost Keepalived[28204]: Netlink: error: Operation not supported, type=(16), seq=1351587427, pid=0 errno= 12781019


Oct 30 14:27:05 localhost kernel: [71009.474343] keepalived[28204]: segfault at 4 ip 08059bcf sp bf84dca0 error 4 in keepalived[8048000+28000]
Oct 30 14:27:06 localhost abrt[28205]: saved core dump of pid 28204 (/home/kiran/tools/keepalived-127/bin/keepalived) to /var/spool/abrt/ (684032 bytes)

I am using fedora 15( kernel). Please suggest me how to use keepalived for VRRP-VMAC testing without LVS. please give some information on compilation. because when I tried "--enable-vrrp_vmac", I am getting "undefined option" warning and as well displays vrrp_vmac=, I removed flags for vrrp vmac and compiled.

Thanks for the time


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
Keepalived and Mysql Replication Jerim79 Linux - Networking 1 03-08-2012 11:26 AM
VRRP in linux scream Linux - Networking 1 02-01-2010 06:58 PM
Need help ti monitor KEEPALIVED cluster hhvv Linux - Desktop 1 07-01-2008 01:11 PM
Help with keepalived!! vishamr2000 Linux - Networking 1 05-15-2007 11:50 AM
how do i set vmac address udayan Linux - General 2 05-31-2002 11:04 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:26 PM.

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
Open Source Consulting | Domain Registration