[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PPP



suporte@linuxsolutions.com.br, 2002-May-31 22:59 -0300:
> Hi guys, I'm having some problems with pppd. I'm trying to install 2 servers 
> with a leased line.
> 
> All signals (DCD, DSR, DTR, CTS and RTS) are up, which indcates that the 
> cables and modems are OK, but I can't ping the remote peer.
> 
> Here goes my configurations:
> 
> Server 1:
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.100.2   192.168.100.1   255.255.255.255 UGH   0      0        0 ppp0
> 200.216.95.214  0.0.0.0         255.255.255.255 UH    0      0        0 ppp1
> 192.168.100.0   0.0.0.0         255.255.255.252 U     0      0        0 ppp0
> 10.0.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
> 0.0.0.0         200.216.95.214  0.0.0.0         UG    0      0        0 ppp1

>From this system, can you ping the local interface 192.168.100.1?  If
so, then can you ping the remote interface 192.168.100.2?  If so, and
you can't ping anything beyond 192.168.100.2 then there's a routing
problem on the remote server.  

If you try to ping a host on the 10.0.1.0 network, the ping will take
the default route which is ppp1 (200.216.95.214) and it doesn't appear
that this is the correct path.  Also, if you ping any other host on
the 192.168.100.0 network, that ping will take the default route ppp1,
and it appears that is not correct either.

You need to point all the newtorks/hosts you want to go to the remote
end to the 192.168.100.2 gateway, e.g.

192.168.100.2   192.168.100.1   255.255.255.255 UGH   0 0 0 ppp0
200.216.95.214  0.0.0.0         255.255.255.255 UH    0 0 0 ppp1
192.168.100.0   192.168.100.1   255.255.255.252 U     0 0 0 ppp0
10.0.1.0        192.168.100.1   255.255.255.0   U     0 0 0 eth1
0.0.0.0         200.216.95.214  0.0.0.0         UG    0 0 0 ppp1

So, 10.0.1.0 and 192.168.100.0-2 will go to the remote server and all
else will go to the default, ppp1. 

> Server 2:
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.100.1   192.168.100.2   255.255.255.255 UGH   0      0        0 ppp0
> 192.168.100.0   0.0.0.0         255.255.255.252 U     0      0        0 ppp0
> 10.0.4.0        0.0.0.0         255.255.255.0   U     0      0        0 eth2
> 10.0.1.0        192.168.100.2   255.255.255.0   UG    0      0        0 ppp0
> 10.0.2.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 10.0.3.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
> 0.0.0.0         192.168.100.2   0.0.0.0         UG    0      0        0 ppp0

This side looks right to me.

I hope this helps...jc


--
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: