虚拟ip

时间:2014-05-08 23:58:34   收藏:0   阅读:405
网卡上增加一个IP:
ifconfig eth0:1 192.168.0.1 netmask 255.255.255.0
删除网卡的第二个IP地址:
ip addr del 192.168.0.1 dev eth0

虚拟ip,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!