...only the routing-table is sometimes not correctly updated (a problem with every distro I tried!)
so eventually you will have to manually edit it: Example:
Code:
[root@killbill peterh]# ifdown eth1
[root@killbill peterh]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.1.0 172.16.1.36 255.255.255.0 UG 0 0 0 eth0
172.16.1.0 * 255.255.255.0 U 10 0 0 eth0
10.0.4.0 * 255.255.254.0 U 10 0 0 eth1
default 10.0.4.1 0.0.0.0 UG 10 0 0 eth1
default 172.16.1.1 0.0.0.0 UG 10 0 0 eth0
As you can see, even though eth1 is down, it is still default gateway. Delete it with:
Code:
[root@killbill peterh]# route del default eth1