centos绑定虚拟IP 发表于 2023-04-19 配置虚拟IP /sbin/ifconfig bond0:2 172.20.192.241 netmask 255.255.255.0 up 广播通知 /sbin/arping -c 5 -U -I bond0 172.20.192.241 >/dev/null 2>&1 关闭虚拟IP /sbin/ifconfig bond0:2 172.20.192.241 netmask 255.255.255.0 down