kubeadm-ha
kubeadm-ha copied to clipboard
Check keepalived work
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
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?
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...