Re: halted system still working as router.

Matti Aarnio (matti.aarnio@sonera.fi)
Thu, 29 Oct 1998 15:29:22 +0200 (EET)


David Woodhouse <David.Woodhouse@mvhi.com> wonders:
> paul.hessels@sheridanc.on.ca said:
...
> > The curious thing was that when the power came back on I found that my
> > computer was still routing traffic to the internet. Is this normal
> > behaviors for a computer that has been halted? Is this a kernel
> > problem, or specific to my machine(or my kernel)?
>
> It's always been the normal behaviour of the kernel, until someone changed it
> recently in 2.1 kernels without documenting the reason for doing so.

RFC 1122 and 1123: The system SHALL NOT BY DEFAULT route between
its interfaces. The 2.0 does violate those, and at it the routing
must be explicitely turned off. 2.1/2.2 by default do not route,
and to turn it on you need to do following command:

echo 1 > /proc/sys/net/ipv4/ip_forward

> ---- ---- ----
> David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302

/Matti Aarnio <matti.aarnio@sonera.fi>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/