Re: No forwarding

Derrik Pates (dpates@Cavern.NMSU.Edu)
Tue, 21 Jan 1997 21:56:32 -0700 (MST)


On Tue, 21 Jan 1997, Richard B. Johnson wrote:

> I can't get Version:
> Linux chaos 2.1.21 #5 Wed Jan 15 16:03:43 EST 1997 i586
>
> ... to route packets! Yesterday (no configuration changes) it did after
> mucking around for about an hour.
>
> My remote ppp link is called skunkworks in the following script. The
> route gets added as expected.
>
> /etc/proxy_all is a little program that tells arp to auto-arp everything.
> It was advised by the ip4v code developer and worked yesterday.
> #
> # startup script. Executed after the ppp link is up.
> #
> /sbin/route add -net 204.178.47.0 netmask 255.255.255.0 gw skunkworks
> echo 1>/proc/sys/net/ipv4/ip_forwarding
> /etc/proxy_all

My eyes may not be super experienced, but shouldn't this line:

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

read like this:

echo "1" >/proc/sys/net/ipv4/ip_forwarding

?? Otherwise it just sends a newline to the
/proc/sys/net/ipv4/ip_forwarding file. I may be wrong on this, but I
thought 1 was the value to be put into there.

Derrik Pates
dpates@cavern.nmsu.edu

"What'll you two lovable plush toys have?"
"How 'bout a root beer popsicle and an Orange Julius? What about you,
Max?"
"Dishwater! And put it in a dirty glass!"
-Sam & Max
"Fair Wind to Java"