ubuntu

auto lo
iface lo inet loopback
#external Network
auto eth0
iface eth0 inet static
address 192.168.91.11
netmask 255.255.255.0
gateway 192.168.91.2
dns-nameservers 8.8.8.8
# internal Network
auto eth1
iface eth1 inet static
address 10.10.10.11
netmask 255.255.255.0

/etc/init.d/networking restart

你可能感兴趣的:(ubuntu)