故障现象:俩台服务器设置了keepalived非争抢机制,但是发现优先级高的服务器还是会优先获取vip

利用tcpdump抓包发现只有其中一台服务器,没有另一台

tcpdump -i eth0 vrrp -n
10:06:47.483004 IP 10.12.75.73 > 224.0.0.18: VRRPv2, Advertisement, vrid 72, prio 80, authtype simple, intvl 1s, length 20
10:06:48.483032 IP 10.12.75.73 > 224.0.0.18: VRRPv2, Advertisement, vrid 72, prio 80, authtype simple, intvl 1s, length 20
10:06:49.483287 IP 10.12.75.73 > 224.0.0.18: VRRPv2, Advertisement, vrid 72, prio 80, authtype simple, intvl 1s, length 20
10:06:50.483382 IP 10.12.75.73 > 224.0.0.18: VRRPv2, Advertisement, vrid 72, prio 80, authtype simple, intvl 1s, length 20

经查发现另一台开启防火墙,导致vrrp通信有问题

 

相关文章:

  • 2021-09-11
  • 2021-09-07
  • 2022-01-03
  • 2022-12-23
  • 2021-11-20
  • 2021-09-08
  • 2022-12-23
  • 2021-09-28
猜你喜欢
  • 2021-11-02
  • 2022-12-23
  • 2021-06-29
  • 2022-03-06
  • 2022-12-23
  • 2021-05-31
  • 2021-11-16
相关资源
相似解决方案