LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   A network client can't ping a foreign host via a ppp connection (https://www.linuxquestions.org/questions/linux-networking-3/a-network-client-cant-ping-a-foreign-host-via-a-ppp-connection-35554/)

Leandro 11-15-2002 04:27 PM

A network client can't ping a foreign host via a ppp connection
 
I have two computers (both running linux) in a network. One of them (slackware) connects to the internet via ppp. The other (red hat) cannot ping an outside host.



The result of route on the client (red hat)

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.1.0 * 255.255.255.0 U 0 0 0 eth0

192.168.1.0 * 255.255.255.0 U 0 0 0 eth0

127.0.0.0 * 255.0.0.0 U 0 0 0 lo

default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0



The result of route on the server (slackware)

Destination Gateway Genmask Flags Metric Ref Use Iface

200.216.95.132 * 255.255.255.255 UH 0 0 0 ppp0

192.168.1.0 * 255.255.255.0 U 0 0 0 eth0

192.168.1.0 * 255.255.255.0 U 0 0 0 eth0

loopback * 255.0.0.0 U 0 0 0 lo

default 200.216.95.132 0.0.0.0 UG 0 0 0 ppp0

Thank you!

peter_robb 11-15-2002 04:50 PM

The Slackware machine needs a few other settings to make it a gateway, namely ip packet forwarding and ip masquerading.

See the masquerading HOWTO for details...


All times are GMT -5. The time now is 03:47 PM.