Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check keepalived work #49

Open
AlexProfi opened this issue Jan 11, 2019 · 2 comments
Open

Check keepalived work #49

AlexProfi opened this issue Jan 11, 2019 · 2 comments

Comments

@AlexProfi
Copy link

Hello How check that keepalived work
i ping from one masternode virtal ip and get
ping 10.10.61.154
PING 10.10.61.154 (10.10.61.154) 56(84) bytes of data.
From 10.10.61.211 icmp_seq=1 Destination Host Unreachable
From 10.10.61.211 icmp_seq=2 Destination Host Unreachable
So it doen't work
How config router for kepalived work correctly?
I also use proxy server to access inernet addresse
On another stand it works fine There is no proxy there and router is more simple

@cookeem
Copy link
Owner

cookeem commented Jan 15, 2019

Ping is not used proxy to check connection, so I think there’s nothing to do with the proxy.

Can you show me the keepalived logs?

@AlexProfi
Copy link
Author

AlexProfi commented Jan 15, 2019

I solved it temporary with set drop multicast from another hardware that used vrrp ( nobody don't know what is it) in same network with iptables:

 iptables -A INPUT -m pkttype -m iprange --src-range 10.10.61.211-10.10.61.213 --pkt-type multicast -j ACCEPT
 iptables -A INPUT -m pkttype --pkt-type multicast -j DROP

How config two separate keepalived without this using of firewall?

Without this rules I get logs

Keepalived_vrrp[5114]: ip address associated with VRID not present in received packet : 10.10.61.154
Jan 15 18:12:46 hb-master01 Keepalived_vrrp[5114]: one or more VIP associated with VRID mismatch actual MASTER advert
Jan 15 18:12:46 hb-master01 Keepalived_vrrp[5114]: bogus VRRP packet received on ens160 !!!
Jan 15 18:12:46 hb-master01 Keepalived_vrrp[5114]: VRRP_Instance(VI_1) Dropping received VRRP packet...
Jan 15 18:12:47 hb-master01 Keepalived_vrrp[5114]: ip address associated with VRID not present in received packet : 10.10.61.154
Jan 15 18:12:47 hb-master01 Keepalived_vrrp[5114]: one or more VIP associated with VRID mismatch actual MASTER advert
Jan 15 18:12:47 hb-master01 Keepalived_vrrp[5114]: bogus VRRP packet received on ens160 !!!
Jan 15 18:12:47 hb-master01 Keepalived_vrrp[5114]: VRRP_Instance(VI_1) Dropping received VRRP packet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants