添加新的/ 29-Net后出现意外的自动路由

我在接口中添加了一个新的networking到Debian 6.0.1 x86_64 Linux 2.6.32-5-amd64服务器。

allow-hotplug eth2 iface eth2 inet static address 172.251.1.86 netmask 255.255.255.248 network 172.251.1.80 #(tried with and without) broadcast 172.251.1.87 #(tried with and without) 

其他接口是经典静态声明。 安装了bridge-utils,但没有启用br-device。

ifup后:

 2: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether e4:1f:13:6d:36:98 brd ff:ff:ff:ff:ff:ff inet 172.251.1.86 peer 172.251.1.1/29 brd 172.251.1.87 scope global eth2 inet6 fe80::e61f:13ff:fe6d:3698/64 scope link valid_lft forever preferred_lft forever 

我期望这条路线被自动添加:

 ... 172.251.1.80 0.0.0.0 255.255.255.248 U 0 0 0 eth2 ... 

但是这条路线增加了:

 ... 172.251.1.0 0.0.0.0 255.255.255.248 U 0 0 0 eth2 ... 

当然,我可以在interfaces文件中添加一些上线来修复路由。 我只是想知道我是否错过了一些东西。 也许一些caching刷新,我错过了几个小时的错字,或者只是一个误会。

提前致谢

我怀疑你的问题与ip addr输出中显示的peer 172.251.1.1/29有关,尽pipe在你所显示的configuration中没有任何内容表明这是来自哪里。

检查你的configuration,以引用172.251.1.1/29因为这可能会指出你的问题的172.251.1.1/29来源。