auto lo
iface lo inet loopback
auto br0
iface br0 inet static
address 172.16.60.3
network 172.16.0.0
netmask 255.255.0.0
#下面这个语句就是添加了一条默认的路由规则,注意,是默认的路由规则
gateway 172.16.0.254
bridge_ports eth1
bridge_stp off
bridge_fd 0
bridge_maxwait 0
auto eth0
iface eth0 inet static
address 10.145.80.67
netmask 255.255.255.128
up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.145.80.126
down route del -net 10.0.0.0 netmask 255.0.0.0 gw 10.145.80.126