Re: 2.1.15 vs. "route"

A.N.Kuznetsov (kuznet@ms2.inr.ac.ru)
Sat, 14 Dec 1996 18:53:24 +0300


In article <m0vYdwO-00000SC@tracy-tds.wlk.com> you wrote:

: Ok. What happened? Or was I asleep at the switch when someone said
: I needed to upgrade my network utilities? :-(
........
: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 dev lo

: and get no complaints, but none of "netstat -rn", "route", or
: "cat /proc/net/route" say that a route was actually added.

8)8) Moreover, you could not not execute this command at all,
and the things went as if it was added.

Interface routes are added automatically in 2.1.15,
you need not add them manually.
But if you want to override default behaviour,
kernel will require complete route specification:
address, mask, device.

Loopback routes are not visible by standard tools,
you can find them in /proc/net/rt_local.
I am not sure, that this feature is correct, the experience
will show.

Alexey Kuznetsov.