hey, type in 'route' and see what that says....cutnpaste it and send it in an email... The stock kernel should be fine... Just some checks...
a. The win98 box is using eth0 on the linux box as it's default gateway.
b. Make sure the default route on the linux box is the ip address of ppp0. (you should not have to statically assign this, you should be pulling it from dhcp)
c. determine whether or not you are not getting name resolution or you are not getting out period. (drop to dos and type 'ping www.yahoo.com' if you resolve from local dns but the pings time out we'll need to work from there. If you do not resolve from local dns (or maybe you don't have local dns) then go to the linux box and do the same thing then go back to the win98 box and just ping the ip address www.yahoo.com resolves to.
d. If we still haven't made any progrees at this point in the game, bring up tcpdump on eth0 and whatch to see if the packet is even hitting that interface. If it is, bring up another session of tcpdump on ppp0 and see if one packet you see on eth0 makes it across ppp0.
e. If you can't find any resolution to this problem, I might ftp the 6.1 cd from redhat and install it myself and see wtf is going on... :)
-Patrick
Glen Bankston ">microsys@alltel.net> wrote:
> Hello,
How can I tell if the release version of RH6.1 has packet forwarding
enabled? I was told it
does, but:
ipchains -P forward DENY
ipchains -A forward -i ppp0 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward
Does not work for me. The Linux box can access ppp0, but no other W98
client can.
This works on another RH5.1 system:
ipfwadm -F -f
ipfwadm -F -p deny
ipfwadm -F -a masquerade -W ppp0 -s 10.0.2.0/24 -d 0.0.0.0/0
I keep getting referred to the HOWTO, but for someone new to ipchains, the
triple interface
is not as easily understood as a single modem, single eth0 example, which I
cannot find
anywhere. :-(
Glen
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.