Hello!

i see..all this time i wondered how a simple 

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

could do ip_forwarding! Malamang the default kernel
already had this enabled nga!



--- neuroticimbecile <[EMAIL PROTECTED]> wrote:
> On Friday 14 September 2001 11:27, you wrote:
> > Hello,
> >
> > a lot of guys have already suggested doing the
> >
> > echo 1>/proc/sys/net/ipv4/ip_forward
> >
> > thing, and it did work; problem was, this solution
> > didn't really sit well with me for some reason, so
> i
> > ended up recompiling my kernel with ip forwarding
> > enabled. Then again, i'm a kernel-compile junkie
> -- it
> > just gives me a certain satisfaction that my cpu's
> > working hard, and that i'm getting my money's
> worth
> > B).
> 
> hi there bert,
> 
> afaik, to enable ip forwarding, you need a kernel
> with ip forwarding enabled, 
> AND "1" in the file /proc/sys/net/ipv4/ip_forward 
> 
> in other words, if the "echo 1 > ..." solution
> worked for you, it means that 
> your kernel was ALREADY compiled with ip forwarding
> enabled.
> 
> if you don't want to "echo 1 > ..." on every boot,
> you can set it in the file:
> /etc/sysctl.conf  (at least for redhat systems, that
> is)
> 
> hth,
> -eric
> -- 
> ?--. �Enrique D. Rosel II ??????????>
office://+63.2.894.3592/
> ( () ) Q Linux Solutions, Inc.
> �`--\\ A Philippine Open Source Solutions Co.
> �http://www.q-linux.com/
> _
> Philippine Linux Users Group. Web site and archives
> at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to
> [EMAIL PROTECTED]
> 
> To subscribe to the Linux Newbies' List: send
> "subscribe" in the body to
[EMAIL PROTECTED]


__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to