Re: Keepalived: VRRP_Instance(VI_1) is ignoring received advertisement?

Rana Muhammad Waqas <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAByghRNp_e20nZomFrJ8yxm4XC6MbqxbC7q4w=BqDrVeNY1Y7Q@mail.gmail.com>
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


On Wed, May 13, 2015 at 3:38 PM Pasi Kärkkäinen <[email protected]> wrote:

> Hello,
>
> On Wed, May 13, 2015 at 08:09:48AM +0000, Rana Muhammad Waqas wrote:
> >    Do you have any idea what I am doing wrong ?
> >
>
> Is your iptables firewall properly configured, does it allow keepalived
> vrrp traffic?
>
>
> -- Pasi
>
> >    On Tue, May 12, 2015 at 12:09 PM Rana Muhammad Waqas
> >    <[1][email protected]> wrote:
> >
> >      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...
> >      On Tue, May 12, 2015 at 11:04 AM Pasi KÀrkkÀinen <[2][email protected]
> >
> >      wrote:
> >
> >        Hello,
> >
> >        On Tue, May 12, 2015 at 05:40:04AM +0000, Rana Muhammad Waqas
> wrote:
> >        >Â  Â  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
> >
> > References
> >
> >    Visible links
> >    1. mailto:[email protected]
> >    2. mailto:[email protected]
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.