Linux下建立虛VIP的方法及相互的區別:

#建立虛VIP
ifconfig eth1:1 192.168.202.200 broadcast 192.168.202.255 netmask 255.255.255.0 up.net

ip addr add 192.168.202.200/32 dev eth1blog

#關閉虛VIP
ifconfig eth1:1 192.168.202.200 broadcast 192.168.202.255 netmask 255.255.255.0 downip

ip addr del 192.168.202.200/32 dev eth1get

 

 

詳細信息請參考:https://blog.csdn.net/chengxuyuanyonghu/article/details/83539966ast

相關文章
相關標籤/搜索