Messages in this thread | | | Date | Sun, 20 Jul 1997 22:46:21 +0400 | From | "A.N.Kuznetsov" <> | Subject | Re: adding localhost route |
| |
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.
Alexey Kuznetsov.
| |