On Sun, Jul 06, 2003 at 12:41:50AM +0100, Shango Oluwa wrote: > 192.168.168.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 192.168.168.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 192.192.192.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 > 192.192.192.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
ah ok, this looks like a bad interaction of the kernels auto-adding of routes and the routes from /etc/network/interfaces. > Forgive my ignorance, but I am not familiar with a "run" command - woody > does not recognise > "run" either... and, yes, when I removed the "route add -net..." entries > recommended by Tony Mancill's > Linux Routers (1st Ed.) I now have only one entry per interface (...!) - > online education appreciated - i was talking about the "up route -del ..." option in the interfaces file. Sorry I thought it was named 'run'. > You mention "automatic route table entries"...where are these generated > from, ie. which script/process? the kernel is doing this if you up an interface by ifconfig. I think this is 2.2.x only. 2.0 and 2.4 dont do that. > Bernd proposes to treat the symptom by deleting extra entries, am I being > naive to try and treat the > cause rather than treating the symptom? If this is kernel reality then I > must accept... in that case it is most likely the easisest solution to upgrade your kernel. I think there is no way to tell ifup, to not add the routing entry statically. Perhaps this warrants a bug report to ifup. > If the kernel automatically adds route table entries, does it do so with > interfaces loaded as modules also? Yes, I think it is related to the ioctl, which is the same for static and loaded interfaces. > Anyhow I have included ifconfig & route info - but I don't think that my > ip/netmask combination is faulty. Yes you are right, looks fine. I did not expect that kind of duplicate routes. You can, btw try it out yourself: # ifconfig eth0 down # route # ifconfig eth0 192.168.168.0 netmask 255.255.255.0 up # route and then you should see a route to the new interface. Greetings Bernd -- (OO) -- [EMAIL PROTECTED] -- ( .. ) [EMAIL PROTECTED],linux.de,debian.org} http://home.pages.de/~eckes/ o--o *plush* 2048/93600EFD [EMAIL PROTECTED] +497257930613 BE5-RIPE (O____O) When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!

