Linux-Hams archive - July 1997: Re: confusion over routing with rspf

Re: confusion over routing with rspf

Terry Dawson (iwrrwbjd@mailit.tunk.net)
Thu, 03 Jul 1997 08:31:32 +1000


nmzwfqy@999group.co.uk wrote:

> > This is I think correct. Initially I have no specific routing information
> > to ax0 apart from the device configuration above, but this is sufficient
> > to route access to all hosts on the 44.133.228/26 network.
> While I am not up on "the networking rules" this I would consider to be a
> Bad Thing. I'd say all configurations of Unix have in them an ifconfig
> statement and then a route add statment straight after that for the network
> directly connected on that interface. Now Linux may be different, I will
> try to find out (probably in the next message in your mail-list).

It depends on which kernel he is using Craig. The new 2.1.* kernels
automatically create the local network route from the information
supplied by ifconfig. It's occurred to me that this may well be
the cause of the problem. That network route is _not_ created in
the usual /proc/net/route, instead it goes in /proc/net/local_rt (?).
If rspfd is expecting to be able to read /proc/net/route and find
all routes then it won't find the local routes.

Simon, are you running a new 2.1.* kernel ?

regards
Terry