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

Re: PPP route problem?



John Maheu wrote:
> Here is the output from
> 
> ROOT:/root>route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 207.34.68.254   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        1 lo
> 0.0.0.0         207.34.68.254   0.0.0.0         UG    0      0        0 ppp0
 
[snip]

> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:207.34.68.2  P-t-P:207.34.68.254  Mask:255.255.255.0
>           UP POINTOPOINT RUNNING  MTU:1500  Metric:1
>           RX packets:15 errors:1 dropped:1 overruns:0 frame:0
>           TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
>           Collisions:0
>           Memory:384f038-384fc04
> 
> I can't seem to add the gateway address
> 
> ROOT:/root>route add default gw 199.45.65.1
> SIOCADDRT: Network is unreachable
> 
The IP (199.45.65.1) given as the gateway will not work as it is not on
your network (207.34.68.0). Your gateway is 207.34.68.254 from your
routing table. This gets added automatically by pppd.

The fact that you can ftp and ping outside your network means that
routing is setup properly for you (for the most part). Does telnet not
work for any hosts or just one in particular? You can use the traceroute
command to see how far you get before getting host unreachable.

Don't know what else to tell you, but I hope this helps you get closer
to a solution.

-- 
Paul Miller
pmiller@jove.acs.unt.edu


Reply to: