日期:2014-05-16 浏览次数:21117 次
auto lo
iface lo inet loopback
auto eth0 eth1
iface eth0 inet static
address 10.10.101.100
netmask 255.255.255.0
iface eth1 inet static
address 192.168.106.232
netmask 255.255.255.0
gateway 192.168.106.99
auto lo
iface lo inet loopback
auto eth0 eth1
iface eth0 inet static
address 172.31.101.100
netmask 255.255.255.0
iface eth1 inet static
address 192.168.106.233
netmask 255.255.255.0
dns-nameservers 101.202.172.35
up route add -net 192.168.106.0 netmask 255.255.255.0 gw 192.168.106.99 dev eth1
up route add -net 192.168.52.0 netmask 255.255.255.0 gw 192.168.106.99 dev eth1