On Wed, 2003-06-25 at 05:44, Michael Weber wrote: > Are you running RIP or OSPF? AFAIK, no! > How about a firewall? Definately. What effect might this have on routes appearing? > If you reboot the machine how long does it take for the routes to show > up? I'm guessing as soon as eth0 comes up, although I could be wrong. I make this assumption because I fix the routes with route del... and then as soon as I run ifdown eth0 and ifup eth0, the routes come back. > My network scripts are in /etc/rc[3,5].d/S10network. Try creating > a script the dumps the route table to a text file and put it in My > network scripts are in /etc/rc[3,5].d/S11route-dump and see what it > shows. I had a look in here and the only place it seems to get routes from (about line 146) is: # Add non interface-specific static-routes. if [ -f /etc/sysconfig/static-routes ]; then grep "^any" /etc/sysconfig/static-routes | while read ignore args ; do /sbin/route add -$args done fi and yes, /etc/sysconfig/static-routes is empty! > (Or just add the route -n > /var/log/route.dump command to your > S10network file.) Ok I tried this, but it didn't tell me much else. At the beginning of /etc/rc.d/init.d/S10network I put: route -n > /var/log/pre-route.dump which, after a reboot contains (as I expected): Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface and nothing else. At the end I put: route -n > /var/log/post-route.dump which, after a reboot, contains (as I expected): Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 18.104.22.168 172.16.0.8 255.255.255.0 UG 0 0 0 eth0 172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 22.214.171.124 172.16.0.4 255.255.255.0 UG 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 172.16.0.4 0.0.0.0 UG 0 0 0 eth0 Thanks for your help, now how would you analyze this? -- Iain Buchanan <iain nospam pcorp com au> Q: What's the difference between USL and the Titanic? A: The Titanic had a band.
Description: This is a digitally signed message part