Re: adding localhost route and FAQ's

Russell Coker - mailing lists account (bofh@snoopy.virtual.net.au)
Tue, 22 Jul 97 19:32:15 +1100


>> : /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)

AFAIK all distributions default to this. That is the correct default
for a distribution as the 2.0.x kernels require it. After the release of
kernel 2.2.0 they should default to not having that route.

-- 
-----------------------------------------------------------
In return for "mailbag contention" errors from buggy Exchange
servers I'll set my mail server to refuse mail from your domain.
The same response applies when a message to a postmaster
account bounces.
"Russell Coker - mailing lists account" <bofh@snoopy.virtual.net.au>
-----------------------------------------------------------