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

Interface's network address routing


Wed, 2 Jul 1997 21:15:44 +1000 (EST)


G'day All,
This is just more of a comfirmation of what I think I have found.

When an interface if0 is ifconfig'ed with network address A.B.C.D and a
netmask E.F.G.H does this mean that a route is added that basically says:

route -net add A.B.C.D netmask E.F.G.H if0

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...

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

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

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.

- Craig