注意: 同一网段中virtual_router_id的值不能重复,否则会出错,相关错误信息如下。

Keepalived_vrrp[27120]: ip address associated with VRID not present in received packet :
one or more VIP associated with VRID mismatch actual MASTER advert
bogus VRRP packet received on eth1 !!!
receive an invalid ip number count associated with VRID!
VRRP_Instance(xxx) ignoring received advertisment...
问题排查:

通过tcpdump抓包并过滤vrid,可以发现同一个vrid对应的主机,进而判断是否这些主机隶属同一个集群

tcpdump -nn -i any net 224.0.0.0/

如:

[root@CN-DJI-PLB1 ~]# tcpdump -nn -i any net 10.104.15.0/24 |grep vrid
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
13:50:46.778532 IP 10.104.15.33 > 224.0.0.18: VRRPv2, Advertisement, vrid 55, prio 100, authtype simple, intvl 1s, length 20
13:50:47.778735 IP 10.104.15.61 > 224.0.0.18: VRRPv2, Advertisement, vrid 55, prio 95, authtype simple, intvl 1s, length 20
13:50:47.778748 IP 10.104.15.33 > 224.0.0.18: VRRPv2, Advertisement, vrid 55, prio 100, authtype simple, intvl 1s, length 20
13:50:48.778899 IP 10.104.15.63 > 224.0.0.18: VRRPv2, Advertisement, vrid 55, prio 98, authtype simple, intvl 1s, length 20
13:50:49.779096 IP 10.104.15.61 > 224.0.0.18: VRRPv2, Advertisement, vrid 55, prio 95, authtype simple, intvl 1s, length 20
13:50:50.779518 IP 10.104.15.33 > 224.0.0.18: VRRPv2, Advertisement, vrid 55, prio 100, authtype simple, intvl 1s, length 20
13:50:51.779755 IP 10.104.15.33 > 224.0.0.18: VRRPv2, Advertisement, vrid 55, prio 100, authtype simple, intvl 1s, length 20
13:51:01.783737 IP 10.104.15.61 > 224.0.0.18: VRRPv2, Advertisement, vrid 55, prio 95, authtype simple, intvl 1s, length 20
13:51:02.784253 IP 10.104.15.63 > 224.0.0.18: VRRPv2, Advertisement, vrid 55, prio 98, authtype simple, intvl 1s, length 20

最新文章

  1. MySQL 相关
  2. 曲演杂坛--特殊字符/生僻字与varchar
  3. eclipse的包的加减号展开方式
  4. Ubuntu jsp平台使用JDBC来连接MySQL数据库
  5. Null Object模式
  6. Linux 操作系统的用户和用户组管理
  7. 优雅地使用CodeIgniter 3之Session类库(1)(转)
  8. DBus接口文档
  9. android 回调机制实例!
  10. 凸包(hd1392)
  11. hightchart导出图片
  12. PHP全栈学习笔记15
  13. maven的安装教程
  14. 项目之初的模型设计与status状态字段
  15. bcrypt 加密
  16. POJ 1661 (Help Jimmy )
  17. JAVA求解全排列
  18. StreamSets学习系列之StreamSets是什么?
  19. $clog2(转)
  20. ORACLE创建用户,建表空间,授予权限

热门文章

  1. python可变类型与不可变类型
  2. Windows 下redis的安装和使用
  3. python 手机App数据抓取实战二抖音用户的抓取
  4. Gossip协议
  5. 接口请求 URL转码
  6. C# DataContractJsonSerializer
  7. (二)Lucene之根据关键字搜索文件
  8. Windows 下 mysql 5.7 设置 区分大小写(敏感),设置默认编码 utf8mb4
  9. springboot启动流程(二)SpringApplication run方法核心逻辑
  10. React/react相关小结