Linux-Hams archive - July 1997: Re: Interface's network address routing

Re: Interface's network address routing

Terry Dawson (cqoijci@ihugdsl.com.au)
Thu, 03 Jul 1997 08:34:38 +1000


wnbe@sti.net wrote:

> Now, reading /usr/src/linux/Documentation/networking/routing.txt it says:
>
> - You more need not make "route add aaa.bbb.ccc... eth0",
> it is made automatically.
>
> but, does this happen for *any* interface that is ifconfig'ed, ie SCC cards,
> axattached interfaces...

Yes it should, it is a generic facility that relates to all interfaces
supporting IP.

> If so, does anyone know when (in kernel versions) this occurred roughly?

2.1.3*. Alexey's work was integrated sometime about then I believe.

> Do these "interface routes" appear in the kernel routing table
> (/proc/net/route), if not where can they be tracked?

Nope. I've half answered this question in my other message. I think they
live in /proc/net/local_rt

> The reason why I am asking this is that a program I wrote that manipulates
> the routing table probably needs to be updated and I want to make sure I get
> all the facts straight.

I suspected this would be the case. Make sure you can cope with either
condition.

People will use alpha kernels in production environments :)

[All] Jonathon doesn't make the effort to put together the module patches
for nothing you know.

Terry