I think the following line is in error:
echo 1 > /proc/sys/net/ipv4/ip_forwarding
and should be:
echo 1 > /proc/sys/net/ipv4/ip_forward
Check the filenames closely. I saw this in another message on this group. Hope
this helps.
--
Benjamin Madsen
Network Administrator
Quinta Corporation - A Seagate Company
Email: [EMAIL PROTECTED]
ccurley wrote:
> [EMAIL PROTECTED] wrote:
> >
> > On 19 Dec 98 at 15:29, ccurley wrote:
> >
> > Kind of an ironic subject line ;)
> >
> > You need to turn on forwarding. Add:
> >
> > echo 1 > /proc/sys/net/ipv4/ip_forwarding
> >
> > to your script.
>
> I added it to the script but have not rebooted. Here's what I get when I
> run the command manually:
>
> [root@server /root]# echo 1 > /proc/sys/net/ipv4/ip_forwarding
> bash: /proc/sys/net/ipv4/ip_forwarding: Permission denied
> [root@server /root]# ll /proc/sys/net/ipv4/
> total 0
> dr-xr-xr-x 2 root root 0 Dec 20 04:56 .
> dr-xr-xr-x 7 root root 0 Dec 20 04:56 ..
> -rw-r--r-- 1 root root 0 Dec 20 04:56
> arp_check_interval
> -rw-r--r-- 1 root root 0 Dec 20 04:56
> arp_confirm_interval
> -rw-r--r-- 1 root root 0 Dec 20 04:56
> arp_confirm_timeout
> -rw-r--r-- 1 root root 0 Dec 20 04:56 arp_dead_res_time
> -rw-r--r-- 1 root root 0 Dec 20 04:56 arp_max_tries
> -rw-r--r-- 1 root root 0 Dec 20 04:56 arp_res_time
> -rw-r--r-- 1 root root 0 Dec 20 04:56 arp_timeout
> -rw-r--r-- 1 root root 0 Dec 20 04:56 ip_dynaddr
> -rw-r--r-- 1 root root 0 Dec 20 04:56 ip_forward
>
> The file is there, although I did not create it. Is the simple presence
> of the file sufficient, or is the content also critical? If the content
> is not critical, then do I need this step?
>
> >
> > >I have two machines, "charlesc" and "server". Both are Red Hat 5.2.
> > >Server is a fresh installation. Server can dial out and connect to the
> > >net. Ping and DNS, etc all work. The problem is that charlesc can ping
> > >server's eth0 and server's end of the ppp connection, but can't ping the
> > >ISP's end of the ppp connection. In all cases, I am using IP addresses,
> > >not host names, so name resolution should be irrelevant.
>
> --
>
> -- C^2
>
> I have sworn upon the altar of God eternal hostility against every form
> of tyranny over the mind of man.
> -- Thomas Jefferson, letter to Benjamin Rush, 1800 A.D.
>
> Thomas Jefferson, Patron Saint of the Internet:
> http://w3.trib.com/~ccurley/Jefferson.html
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For daily digest info, email [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]