导航

Linux下创建虚VIP的方法及相互的区别:

Posted on 2019-06-27 13:57  许爱琪  阅读(851)  评论(0编辑  收藏  举报

#创建虚VIP
ifconfig eth1:1 192.168.202.200 broadcast 192.168.202.255 netmask 255.255.255.0 up

ip addr add 192.168.202.200/32 dev eth1

#关闭虚VIP
ifconfig eth1:1 192.168.202.200 broadcast 192.168.202.255 netmask 255.255.255.0 down

ip addr del 192.168.202.200/32 dev eth1

 

 

详细信息请参考:https://blog.csdn.net/chengxuyuanyonghu/article/details/83539966