Linux 在一块网卡下绑定多个IP

Linux 在一块网卡上绑定多个IP配置虚拟主机时有一种方式是在一块网卡上绑定多个IP,操作如下:首先用ifconfi

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