Ubuntu单网卡绑定多IP设置的步骤
编辑/etc/network/interfaces文件加入下面这些就好了
auto eth0:0
iface eth0:0 inet static
address 192.168.9.88
netmask 255.255.255.0
gateway 192.168.9.254
auto eth0:1
iface eth0:1 inet static
address 192.168.9.89
netmask 255.255.255.0
gateway 192.168.9.254
以此类推 保存。OK!
重启网卡服务
sudo /etc/init.d/networking restart
页:
[1]