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

Re: Interface's network address routing


Sat, 5 Jul 1997 14:51:03 +1000 (EST)


Mike Bilow is rumoured to of said:
>
>
> csmall wrote in a message to Mike Bilow:
>
> c> Now, reading
> c> /usr/src/linux/Documentation/networking/routing.txt it says:
>
> c> - You more need not make "route add aaa.bbb.ccc... eth0",
> c> it is made automatically.
>
> c> but, does this happen for *any* interface that is
> c> ifconfig'ed, ie SCC cards, axattached interfaces...
>
> It is bad practice to allow these implicit routes to be established
> automatically when RSPF is in use, since there is no way to set the metric in
> such cases. There should certainly be no prohibition against issuing the
> "route add" explicitly, however.
You can set the metric, I think it is done with the ifconfig paramter. I
do not have control over these implicit routes; they are added in by the
kernel.

> That has been in there since time immemorial.
TerryD says around 2.0.30 they came in before it was the old
ifconfig eth0
route add -net network-address eth0

> They certainly should. If this doesn't happen, it is probably an error in the
> way /proc/net/route is generated rather than in the IP routing code itself.
Again quoting from TerryD they are in /proc/net/rt_local, looking at that
file on my system it appears they have fragmented up the route tables :/
So now rspfd has two tables to look, any other suprises out there?

- Craig vk2xlz

-- 
  / /\  | |  Craig Small VK2XLZ <awhuyd.nbvuljjab@mt-rushmore.net>
 |==||==|=|  Finger kobfwi@relay.tunkki.fi for PGP key. 
  \ \/  | |  fingerprint = AD 8D D8 63 6E BF C3 C7  47 41 B1 A2 1F 46 EC 90