Re: No forwarding

Richard B. Johnson (root@analogic.com)
Wed, 22 Jan 1997 08:41:29 -0500 (EST)


On Tue, 21 Jan 1997, Derrik Pates wrote:

> 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"
>
# echo 1 >foo
# cat foo
1

Works here. Let me see if I have a " " in the script otherwise I am sending
a space out "stdout".

Well you were RIGHT! I just coppied what I was told without even thinking
But NOW I that I turned it on, I get hundreds of "martian source" errors!

Guess that means it is "working????". I will have to wait until tonight
to see if my remote link actualy works, tho...

Thanks

Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.21 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-