The VIP address of the keepalived high-availability service cannot be accessed

Environment: keepalived+nginx achieves high availability

The VIP address can be generated normally or drift normally, and failover can be achieved; the VIP address can only be pinged from the local server, and cannot be pinged from other intranet servers. The firewall and selinux have been turned off.

Reason 1: The server has enabled the ipv6 network card address. You need to disable the comment #vrrp_strict and restart keepalived.

Reason two: VIP has a mac address bound on the switch and needs to be unbound before it can be used normally.

Guess you like

Origin blog.csdn.net/weixin_42272246/article/details/130362691