Bug#3143: sysvinit init.d/network script buglet
You (Stephen Early) wrote:
> > So I think the "route add 127.0.0.1" is how it should be done.
>
> I refer you to the file Documentation/Changes in recent kernel trees; it
> says:
>
> Network errors with recent kernels
> ==================================
>
> Many default network scripts are set up add a route to the localhost
> at 127.0.0.1 at startup. However, they do this incorrectly. To fix
> the error, which is now spotted by the kernel, look for a line like
> `route add -net 127.0.0.1' in your network configuration files and
> change it to `route add -net 127.0.0.0'.
But that text needs to be read in a different context; many distributions
have a "route add -net 127.0.0.1" and *that* is broken with newer kernels.
Both "route add 127.0.0.1" and "route add -net 127.0.0.0" are correct.
By the way, there is nothing to be gained by routing the whole 127 net
over "lo"; it still only reacts to 127.0.0.1.
Mike.
--
Miquel van | Cistron Internet Services -- Alphen aan den Rijn.
Smoorenburg, | mailto:info@cistron.nl http://www.cistron.nl/
miquels@het.net | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)
Reply to: