LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-15-2002, 04:27 PM   #1
Leandro
LQ Newbie
 
Registered: Nov 2002
Location: Rio de Janeiro
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
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!
 
Old 11-15-2002, 04:50 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
telnet - connection closed by foreign host rbumann Linux - General 11 01-05-2012 08:43 AM
small network - can't ping by host, only IP jneider23 Linux - Networking 16 03-10-2005 08:40 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
MDK 10 host unable to ping W98SE client Manasseh Linux - Networking 2 05-16-2004 12:22 AM
Help! Can't find host w PPP Connection? NightSky Slackware 4 06-16-2002 05:09 PM


All times are GMT -5. The time now is 03:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration