标签:文件 nbsp 绑定 interface eth0 固定 bsp int etc
cd /etc/network
sudo vi interfaces
在文件中输入如下内容:
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.254
auto eth0:0
iface eth0:0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.254
标签:文件 nbsp 绑定 interface eth0 固定 bsp int etc
原文地址:http://www.cnblogs.com/zmingh/p/6951655.html