Why is routed added a default route pointing to the local machine ?
Before routed is run, the local routing table looks like this :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.0.0 0.0.0.0 255.255.255.0 U 0 0 5 eth0
172.17.6.0 0.0.0.0 255.255.255.0 U 0 0 2 eth1
172.17.7.0 0.0.0.0 255.255.255.0 U 0 0 1 eth2
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.10.0.9 0.0.0.0 UG 1 0 3 eth0
After routed starts, the tail of the routing table looks like this :
210.10.23.0 10.10.0.2 255.255.255.0 UG 2 0 0 eth0
130.2.0.0 10.10.0.2 255.255.0.0 UG 1 0 0 eth0
172.31.0.0 172.17.6.2 255.255.0.0 UG 1 0 1 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 3 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0
0.0.0.0 10.10.0.9 0.0.0.0 UG 1 0 8 eth0
That new default route pointing to the local machine kinds screws things up.
Dean Carpenter deano isat areyes dot com 94TT :)
Areyes, Inc. deano isalsoat netaxis dot com
"No matter where you go, there you are" sayeth Buckaroo, across the Eighth Dimension