Discussion:
Keepalived: VRRP_Instance(VI_1) is ignoring received advertisement?
(too old to reply)
Rana Muhammad Waqas
2015-05-12 05:40:04 UTC
Permalink
I am trying to set up the nginx using the keepalived to make sure the high
availability of nginx, I have this configuration of the keepalived on
Machine 1

! Configuration File for keepalived

vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 150
advert_int 1
authentication {
auth_type PASS
auth_pass 123
}
virtual_ipaddress {
192.168.1.132
}
}

Machine 2

! Configuration File for keepalived

vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 123
}
virtual_ipaddress {
192.168.1.132
}
}

I have tried different virtual IP like 192.168.1.200 or different subnet
192.168.0.200 which is same on both machines like this tutorial says
<https://raymii.org/s/tutorials/Keepalived-Simple-IP-failover-on-Ubuntu.html>
but
It seems to have trouble which shows in /var/log/syslog

The system logs are

May 11 16:36:24 pc1-VirtualBox Keepalived_vrrp[4514]:
VRRP_Instance(VI_1) ignoring received advertisment...
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: ip address
associated with VRID not present in received packet : 192.168.1.132
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: bogus VRRP
packet received on eth0 !!!
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]:
VRRP_Instance(VI_1) ignoring received advertisment...
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: ip address
associated with VRID not present in received packet : 192.168.1.132
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: bogus VRRP
packet received on eth0 !!!

I am not sure what is causing this trouble, did some googling but couldnt
find much

Help!
Pasi Kärkkäinen
2015-05-12 06:04:20 UTC
Permalink
Hello,
Post by Rana Muhammad Waqas
I am trying to set up the nginx using the keepalived to make sure the high
availability of nginx, I have this configuration of the keepalived on
Machine 1
! Configuration File for keepalived
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 150
advert_int 1
authentication {
auth_type PASS
auth_pass 123
}
virtual_ipaddress {
192.168.1.132
}
}
Machine 2
! Configuration File for keepalived
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 123
}
virtual_ipaddress {
192.168.1.132
}
}
I have tried different virtual IP like 192.168.1.200 or different subnet
192.168.0.200 which is same on both machines like this [1]tutorial
says but It seems to have trouble which shows in /var/log/syslog
The system logs are
May 11 16:36:24 pc1-VirtualBox Keepalived_vrrp[4514]: VRRP_Instance(VI_1) ignoring received advertisment...
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: ip address associated with VRID not present in received packet : 192.168.1.132
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: one or more VIP associated with VRID mismatch actual MASTER advert
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: bogus VRRP packet received on eth0 !!!
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: VRRP_Instance(VI_1) ignoring received advertisment...
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: ip address associated with VRID not present in received packet : 192.168.1.132
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: one or more VIP associated with VRID mismatch actual MASTER advert
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: bogus VRRP packet received on eth0 !!!
I am not sure what is causing this trouble, did some googling but couldnt
find much
You have both machines set as MASTER. That's wrong.
Actually both should be backup/slave on start, and let them figure out the master based on priorities.


-- Pasi
Rana Muhammad Waqas
2015-05-12 07:09:44 UTC
Permalink
Thanks for reply,
I have tried BACKUP on both machines and still it gives the same kind of
error in logs
Machine 1 logs

May 12 12:07:56 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP packet
received on eth0 !!!
May 12 12:07:56 pc2-VirtualBox Keepalived_vrrp[902]: VRRP_Instance(VI_1)
ignoring received advertisment...
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: ip address associated
with VRID not present in received packet : 192.168.0.132
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP packet
received on eth0 !!!
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: VRRP_Instance(VI_1)
ignoring received advertisment...
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: ip address associated
with VRID not present in received packet : 192.168.0.132
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP packet
received on eth0 !!!
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: VRRP_Instance(VI_1)
ignoring received advertisment...

Machine 2 logs

May 12 12:09:28 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP packet
received on eth0 !!!
May 12 12:09:28 pc1-VirtualBox Keepalived_vrrp[5319]: VRRP_Instance(VI_1)
ignoring received advertisment...
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: ip address associated
with VRID not present in received packet : 192.168.0.132
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP packet
received on eth0 !!!
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: VRRP_Instance(VI_1)
ignoring received advertisment...
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: ip address associated
with VRID not present in received packet : 192.168.0.132
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP packet
received on eth0 !!!
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: VRRP_Instance(VI_1)
ignoring received advertisment...
Post by Pasi Kärkkäinen
Hello,
Post by Rana Muhammad Waqas
I am trying to set up the nginx using the keepalived to make sure the
high
Post by Rana Muhammad Waqas
availability of nginx, I have this configuration of the keepalived on
Machine 1
! Configuration File for keepalived
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 150
advert_int 1
authentication {
auth_type PASS
auth_pass 123
}
virtual_ipaddress {
192.168.1.132
}
}
Machine 2
! Configuration File for keepalived
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 123
}
virtual_ipaddress {
192.168.1.132
}
}
I have tried different virtual IP like 192.168.1.200 or different
subnet
Post by Rana Muhammad Waqas
192.168.0.200 which is same on both machines like this [1]tutorial
says but It seems to have trouble which shows in /var/log/syslog
The system logs are
VRRP_Instance(VI_1) ignoring received advertisment...
Post by Rana Muhammad Waqas
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: ip address
associated with VRID not present in received packet : 192.168.1.132
Post by Rana Muhammad Waqas
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: one or more VIP
associated with VRID mismatch actual MASTER advert
Post by Rana Muhammad Waqas
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: bogus VRRP packet
received on eth0 !!!
VRRP_Instance(VI_1) ignoring received advertisment...
Post by Rana Muhammad Waqas
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: ip address
associated with VRID not present in received packet : 192.168.1.132
Post by Rana Muhammad Waqas
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: one or more VIP
associated with VRID mismatch actual MASTER advert
Post by Rana Muhammad Waqas
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: bogus VRRP packet
received on eth0 !!!
Post by Rana Muhammad Waqas
I am not sure what is causing this trouble, did some googling but
couldnt
Post by Rana Muhammad Waqas
find much
You have both machines set as MASTER. That's wrong.
Actually both should be backup/slave on start, and let them figure out the
master based on priorities.
-- Pasi
Rana Muhammad Waqas
2015-05-13 08:09:48 UTC
Permalink
Do you have any idea what I am doing wrong ?
Post by Rana Muhammad Waqas
Thanks for reply,
I have tried BACKUP on both machines and still it gives the same kind of
error in logs
Machine 1 logs
May 12 12:07:56 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP packet
received on eth0 !!!
May 12 12:07:56 pc2-VirtualBox Keepalived_vrrp[902]: VRRP_Instance(VI_1)
ignoring received advertisment...
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: ip address associated
with VRID not present in received packet : 192.168.0.132
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP packet
received on eth0 !!!
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: VRRP_Instance(VI_1)
ignoring received advertisment...
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: ip address associated
with VRID not present in received packet : 192.168.0.132
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP packet
received on eth0 !!!
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: VRRP_Instance(VI_1)
ignoring received advertisment...
Machine 2 logs
May 12 12:09:28 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP packet
received on eth0 !!!
May 12 12:09:28 pc1-VirtualBox Keepalived_vrrp[5319]: VRRP_Instance(VI_1)
ignoring received advertisment...
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: ip address
associated with VRID not present in received packet : 192.168.0.132
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP packet
received on eth0 !!!
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: VRRP_Instance(VI_1)
ignoring received advertisment...
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: ip address
associated with VRID not present in received packet : 192.168.0.132
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP packet
received on eth0 !!!
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: VRRP_Instance(VI_1)
ignoring received advertisment...
Post by Pasi Kärkkäinen
Hello,
Post by Rana Muhammad Waqas
I am trying to set up the nginx using the keepalived to make sure
the high
Post by Rana Muhammad Waqas
availability of nginx, I have this configuration of the keepalived on
Machine 1
! Configuration File for keepalived
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 150
advert_int 1
authentication {
auth_type PASS
auth_pass 123
}
virtual_ipaddress {
192.168.1.132
}
}
Machine 2
! Configuration File for keepalived
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 123
}
virtual_ipaddress {
192.168.1.132
}
}
I have tried different virtual IP like 192.168.1.200 or different
subnet
Post by Rana Muhammad Waqas
192.168.0.200 which is same on both machines like this [1]tutorial
says but It seems to have trouble which shows in /var/log/syslog
The system logs are
VRRP_Instance(VI_1) ignoring received advertisment...
Post by Rana Muhammad Waqas
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: ip address
associated with VRID not present in received packet : 192.168.1.132
Post by Rana Muhammad Waqas
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: one or more VIP
associated with VRID mismatch actual MASTER advert
Post by Rana Muhammad Waqas
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: bogus VRRP
packet received on eth0 !!!
VRRP_Instance(VI_1) ignoring received advertisment...
Post by Rana Muhammad Waqas
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: ip address
associated with VRID not present in received packet : 192.168.1.132
Post by Rana Muhammad Waqas
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: one or more VIP
associated with VRID mismatch actual MASTER advert
Post by Rana Muhammad Waqas
May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: bogus VRRP
packet received on eth0 !!!
Post by Rana Muhammad Waqas
I am not sure what is causing this trouble, did some googling but
couldnt
Post by Rana Muhammad Waqas
find much
You have both machines set as MASTER. That's wrong.
Actually both should be backup/slave on start, and let them figure out
the master based on priorities.
-- Pasi
Pasi Kärkkäinen
2015-05-13 10:38:00 UTC
Permalink
Hello,
Post by Rana Muhammad Waqas
Do you have any idea what I am doing wrong ?
Is your iptables firewall properly configured, does it allow keepalived vrrp traffic?


-- Pasi
Post by Rana Muhammad Waqas
On Tue, May 12, 2015 at 12:09 PM Rana Muhammad Waqas
Thanks for reply,Â
I have tried BACKUP on both machines and still it gives the same kind of
error in logsÂ
Machine 1 logsÂ
May 12 12:07:56 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP packet
received on eth0 !!!
May 12 12:07:56 pc2-VirtualBox Keepalived_vrrp[902]: VRRP_Instance(VI_1)
ignoring received advertisment...
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: ip address
associated with VRID not present in received packet : 192.168.0.132
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP packet
received on eth0 !!!
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: VRRP_Instance(VI_1)
ignoring received advertisment...
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: ip address
associated with VRID not present in received packet : 192.168.0.132
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP packet
received on eth0 !!!
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: VRRP_Instance(VI_1)
ignoring received advertisment...
Machine 2 logs
May 12 12:09:28 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP packet
received on eth0 !!!
VRRP_Instance(VI_1) ignoring received advertisment...
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: ip address
associated with VRID not present in received packet : 192.168.0.132
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP packet
received on eth0 !!!
VRRP_Instance(VI_1) ignoring received advertisment...
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: ip address
associated with VRID not present in received packet : 192.168.0.132
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP packet
received on eth0 !!!
VRRP_Instance(VI_1) ignoring received advertisment...
Hello,
  I am trying to set up the nginx using the keepalived to make
sure the high
  availability of nginx, I have this configuration of the
keepalived on
  Machine 1
 ! Configuration File for keepalived
 vrrp_instance VI_1 {
 state MASTER
 interface eth0
 virtual_router_id 51
 priority 150
 advert_int 1
 authentication {
   auth_type PASS
   auth_pass 123
 }
 virtual_ipaddress {
   192.168.1.132
 }
 }
  Machine 2
 ! Configuration File for keepalived
 vrrp_instance VI_1 {
 state MASTER
 interface eth0
 virtual_router_id 51
 priority 100
 advert_int 1
 authentication {
   auth_type PASS
   auth_pass 123
 }
 virtual_ipaddress {
   192.168.1.132
 }
 }
  I have tried different virtual IP like 192.168.1.200 or
different subnet
  192.168.0.200 which is same on both machines like thisÃ*
[1]tutorial
  saysÃ* but It seems to have trouble which shows inÃ*
/var/log/syslog
  The system logs are
 May 11 16:36:24 pc1-VirtualBox Keepalived_vrrp[4514]:   Â
 VRRP_Instance(VI_1) ignoring received advertisment...
 May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: ip address
associated with VRID not present in received packet : 192.168.1.132
 May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: one or more
VIP associated with VRID mismatch actual MASTER advert
 May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: bogus VRRP
packet received on eth0 !!!
VRRP_Instance(VI_1) ignoring received advertisment...
 May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: ip address
associated with VRID not present in received packet : 192.168.1.132
 May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: one or more
VIP associated with VRID mismatch actual MASTER advert
 May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: bogus VRRP
packet received on eth0 !!!
  I am not sure what is causing this trouble, did some googling
but couldnt
  find much
You have both machines set as MASTER. That's wrong.
Actually both should be backup/slave on start, and let them figure out
the master based on priorities.
-- Pasi
References
Visible links
Rana Muhammad Waqas
2015-05-13 10:52:27 UTC
Permalink
Hi,
How do I check the iptables and see if it allow keepalived vrrp traffic?
and if I see the logs it says

May 11 16:36:24 pc1-VirtualBox Keepalived_vrrp[4514]:
VRRP_Instance(VI_1) ignoring received advertisment...
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: ip address
associated with VRID not present in received packet : 192.168.1.132
May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: one or more VIP
associated with VRID mismatch actual MASTER adver

It looks that it is receiving the packets but something wrong with it
Post by Pasi Kärkkäinen
Hello,
Post by Rana Muhammad Waqas
Do you have any idea what I am doing wrong ?
Is your iptables firewall properly configured, does it allow keepalived vrrp traffic?
-- Pasi
Post by Rana Muhammad Waqas
On Tue, May 12, 2015 at 12:09 PM Rana Muhammad Waqas
Thanks for reply,Â
I have tried BACKUP on both machines and still it gives the same
kind of
Post by Rana Muhammad Waqas
error in logsÂ
Machine 1 logsÂ
May 12 12:07:56 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP
packet
Post by Rana Muhammad Waqas
received on eth0 !!!
VRRP_Instance(VI_1)
Post by Rana Muhammad Waqas
ignoring received advertisment...
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: ip address
associated with VRID not present in received packet : 192.168.0.132
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP
packet
Post by Rana Muhammad Waqas
received on eth0 !!!
VRRP_Instance(VI_1)
Post by Rana Muhammad Waqas
ignoring received advertisment...
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: ip address
associated with VRID not present in received packet : 192.168.0.132
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: one or more VIP
associated with VRID mismatch actual MASTER advert
May 12 12:07:57 pc2-VirtualBox Keepalived_vrrp[902]: bogus VRRP
packet
Post by Rana Muhammad Waqas
received on eth0 !!!
VRRP_Instance(VI_1)
Post by Rana Muhammad Waqas
ignoring received advertisment...
Machine 2 logs
May 12 12:09:28 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP
packet
Post by Rana Muhammad Waqas
received on eth0 !!!
VRRP_Instance(VI_1) ignoring received advertisment...
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: ip address
associated with VRID not present in received packet : 192.168.0.132
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: one or more
VIP
Post by Rana Muhammad Waqas
associated with VRID mismatch actual MASTER advert
May 12 12:09:29 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP
packet
Post by Rana Muhammad Waqas
received on eth0 !!!
VRRP_Instance(VI_1) ignoring received advertisment...
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: ip address
associated with VRID not present in received packet : 192.168.0.132
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: one or more
VIP
Post by Rana Muhammad Waqas
associated with VRID mismatch actual MASTER advert
May 12 12:09:30 pc1-VirtualBox Keepalived_vrrp[5319]: bogus VRRP
packet
Post by Rana Muhammad Waqas
received on eth0 !!!
VRRP_Instance(VI_1) ignoring received advertisment...
Hello,
On Tue, May 12, 2015 at 05:40:04AM +0000, Rana Muhammad Waqas
  I am trying to set up the nginx using the keepalived to
make
Post by Rana Muhammad Waqas
sure the high
  availability of nginx, I have this configuration of the
keepalived on
  Machine 1
 ! Configuration File for keepalived
 vrrp_instance VI_1 {
 state MASTER
 interface eth0
 virtual_router_id 51
 priority 150
 advert_int 1
 authentication {
   auth_type PASS
   auth_pass 123
 }
 virtual_ipaddress {
   192.168.1.132
 }
 }
  Machine 2
 ! Configuration File for keepalived
 vrrp_instance VI_1 {
 state MASTER
 interface eth0
 virtual_router_id 51
 priority 100
 advert_int 1
 authentication {
   auth_type PASS
   auth_pass 123
 }
 virtual_ipaddress {
   192.168.1.132
 }
 }
  I have tried different virtual IP like 192.168.1.200 or
different subnet
  192.168.0.200 which is same on both machines like thisÃ*
[1]tutorial
  saysÃ* but It seems to have trouble which shows inÃ*
/var/log/syslog
  The system logs are
 May 11 16:36:24 pc1-VirtualBox Keepalived_vrrp[4514]:  Â
Â
Post by Rana Muhammad Waqas
 VRRP_Instance(VI_1) ignoring received advertisment...
 May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: ip
address
192.168.1.132
Post by Rana Muhammad Waqas
 May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: one or
more
Post by Rana Muhammad Waqas
VIP associated with VRID mismatch actual MASTER advert
 May 11 16:36:25 pc1-VirtualBox Keepalived_vrrp[4514]: bogus
VRRP
Post by Rana Muhammad Waqas
packet received on eth0 !!!
VRRP_Instance(VI_1) ignoring received advertisment...
 May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: ip
address
192.168.1.132
Post by Rana Muhammad Waqas
 May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: one or
more
Post by Rana Muhammad Waqas
VIP associated with VRID mismatch actual MASTER advert
 May 11 16:36:26 pc1-VirtualBox Keepalived_vrrp[4514]: bogus
VRRP
Post by Rana Muhammad Waqas
packet received on eth0 !!!
  I am not sure what is causing this trouble, did some
googling
Post by Rana Muhammad Waqas
but couldnt
  find much
You have both machines set as MASTER. That's wrong.
Actually both should be backup/slave on start, and let them
figure out
Post by Rana Muhammad Waqas
the master based on priorities.
-- Pasi
References
Visible links
Continue reading on narkive:
Loading...