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

Re: need help on setting up a ppp connection



I'm not going to try and work out which machine you are listing these
on or which machine(s) you are trying to dial out of, but I'll just make
a couple of general points.

1) do you have defaultroute set on the ppp machine?

Quoting Bill Shui (wshui@mail.com):

> here's what I got when ppp is not on: (192.168.1.3 is the new gateway box that I was trying to build).
> 
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 0.0.0.0         192.168.1.3     0.0.0.0         UG    0      0        0 eth0

2) if ppp starts when this gateway is present .....^
it will say "ppp not replacing existing default route to eth0"
and you won't get your default route through ppp0.

> here's what I got when ppp is on:
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 129.78.56.16    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 
> 
> this is what I want to get when ppp is on: (129.78.56.17 is given by my ISP, but this is not the DNS, 192.168.1.1 is the old gateway that I have, and it is running).
> 
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 129.78.56.17    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 192.168.1.0     192.168.1.1     255.255.255.0   UG    0      0        0 eth0

You don't need a gateway to get to 192.168.1.0 ....^
because you're already connected to this net.
  vvvvvvvvvvv
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         129.78.56.17    0.0.0.0         UG    0      0        0 ppp0

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Reply to: