Linux 在一块网卡上绑定多个IP
配置虚拟主机时有一种方式是在一块网卡上绑定多个IP,操作如下:
首先用ifconfig查看物理网卡
[root@localhost etc]# route del 192.168.1.201 dev eth0:1[root@localhost etc]# route del 192.168.1.202 dev eth0:2
发布时间: 2012-09-07 10:38:15 作者: rapoo
Linux 在一块网卡上绑定多个IP
配置虚拟主机时有一种方式是在一块网卡上绑定多个IP,操作如下:
首先用ifconfig查看物理网卡
[root@localhost etc]# route del 192.168.1.201 dev eth0:1[root@localhost etc]# route del 192.168.1.202 dev eth0:2