echo "1" > /proc/sys/net/ipv4/ip_forward To make it permanent add the following line to /etc/sysctl.conf: net.ipv4.ip_forward = 1
If you do not have static IP assigned by your ISP, you will also need: echo "1" > /proc/sys/net/ipv4/ip_dynaddr The corresponding line in /etc/sysctl.conf is: net.ipv4.ip_dynaddr = 1 Guy On Sun, 2004-04-25 at 19:36, David Suna wrote: > Thanks to some off list help I was able to get my ISDN connection up > with Bezeq. The problem was that I needed to upgrade my > redhat-config-network package and the rhpl package as well. I thought I > had done it but it turns out I hadn't. Upgrading solved the problem. > > I am now on to my next problem. > > When I was running RH7.3 I had the Linux box set up with ip_masq and > ip_filter to be the Internet gateway for the other machines on the > network. I am trying to do the same now but it is not working. I am > able to connect to the Internet from the Linux box. I am able to ping > the Linux box from the other machines on the LAN. I have Samba running > and I am able to browse the Linux box from the Windows machines. > However, when I try to ping an IP address (i.e. 192.0.34.161 > www.internic.net) from the Windows boxes on the LAN I get Request timed > out responses. I do see that the request is going out on the ISDN > connection but it doesn't seem to be going back to the machine on the > LAN. I ran tcpdump and saw the icmp: echo request recorded. > > The problem seems to be that the packets from the LAN machine are going > out onto the Internet as coming from 192.168.0.4 which are then being > ignored. I believe the problem is with my routing table but I don't > know how to fix it. > > The output from route -n is: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth0 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 > eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 > lo > 62.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 > ippp0 > 0.0.0.0 62.219.193.1 0.0.0.0 UG 0 0 0 > ippp0 > > Any fixes or pointers to documentation that would tell me how to fix > this would be appreciated. > > Thanks, > David Suna > [EMAIL PROTECTED] > > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] -- Smith & Wesson - the original point and click interface ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]