Re: adding localhost route and FAQ's

Teunis Peters (teunis@usa.net)
Mon, 21 Jul 1997 15:50:01 -0600 (MDT)


On Sun, 20 Jul 1997, A.N.Kuznetsov wrote:

> In article <Pine.LNX.3.95q.970720093020.3410A-200000@jcoy.tucson.az> you wrote:
> : I can't add localhost to my routing table with newer kernels. I am using
> : net tools v1.41 and using the following lines:
>
> : /sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0 up
> : /sbin/route add -net 127.0.0.0 netmask 255.0.0.0
>
> : I get a "SIOCADDRT: No such device" when I run the route command.
>
> Well, when someone complains "No such device", add it! :-) :-)
>
> /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 dev lo
>
> Seriously, this command is more not necessary.
> This route is added automatically.

FWIW : I think RedHat defaults to doing this... (4.0)

Add it to the FAQ!
wait a sec- IS there a linux-kernel FAQ? There used to be... for 1 or 2
months. What happened?

There's certainly a call for a FAQ in this mailing list....

Ciao!
- Teunis