静态路由在有两个NIC的Linux服务器上有时会停止工作

我们有一个Ubuntu 12.04.5 LTS服务器(3.13.0-32-generic),configuration如下两个networking接口

auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.16.131.53 netmask 255.255.255.0 network 192.16.131.0 broadcast 192.16.131.255 gateway 192.16.131.1 auto eth1 iface eth1 inet static address 192.16.131.49 netmask 255.255.255.0 up route add -host 10.96.80.80 gw 192.16.131.1 dev eth1 up route add -host 10.96.80.81 gw 192.16.131.1 dev eth1 

内核IP路由

 Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.16.131.1 0.0.0.0 UG 100 0 0 eth0 10.96.88.80 192.16.131.1 255.255.255.255 UGH 0 0 0 eth1 10.96.88.81 192.16.131.1 255.255.255.255 UGH 0 0 0 eth1 192.16.131.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.16.131.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 

目前,我们正在使用eth1接口configuration静态路由,随机地,我们失去了连接到主机10.96.80.80和10.96.80。 执行ifdown eth1 && ifup eth1会立即解决问题,但在某个时间后停止工作。

还注意到,当这种情况发生时,我们可以从同一networking上的其他服务器访问eth1接口,而不会出现任何问题(ping和ssh向eth1工作正常)

我们没有在dmesg和syslog中发现任何错误,我们如何解决这个问题?