1. ubuntu多ip设置
root@user-desktop:~# cat /etc/network/interfaces
iface lo inet loopback
auto eth11
iface eth11 inet static
address 192.168.1.131
gateway 192.168.1.1
netmask 255.255.255.0
auto eth11:1
iface eth11:1 inet static
address 192.168.2.131
gateway 192.168.2.1
netmask 255.255.255.0
auto eth11:2
iface eth11:2 inet static
address 192.168.3.131
gateway 192.168.3.1
netmask 255.255.255.0
* Reconfiguring network interfaces...
RTNETLINK answers: No such process
SIOCDELRT: No such processssh stop/waiting
ssh start/running, process 12952
ssh stop/waiting
ssh start/running, process 13004
ssh stop/waiting
ssh start/running, process 13056
2.Ubuntu面板网络设置不存在时
2.1 修改网络ip
2.2 root@user-desktop:~# cat /etc/NetworkManager/nm-system-settings.conf
# This file is installed into /etc/NetworkManager, and is loaded by
# NetworkManager by default. To override, specify: '--config file'
# during NM startup. This can be done by appending to DAEMON_OPTS in
# the file:
#
# /etc/default/NetworkManager
#
[main]
plugins=ifupdown,keyfile
no-auto-default=00:0c:29:5c:62:ad #mac
[ifupdown]
managed=false
2.3 /etc/init.d/networking restart