[TriLUG] PPPoE, adsl connection, RH 7.3

Henryk Kowalski kowalski at easternrad.com
Sun Jun 2 12:36:39 EDT 2013


---------- Original Message ----------------------------------
From: "Richard O. Hammer" <ROHammer at earthlink.net>
Reply-To: trilug at trilug.org
Date: Wed, 22 May 2002 18:00:51 -0400

<snip>

>  pppd[]: not replacing existing default route to eth0
>[192.168.0.2]
>    /* I am suspicious of that message ^ there.  192.168.0.2
>is the
>       address I have assigned to this machine for my LAN,
>connecting
>       to a windows box.
>    */
>  pppd[]: local IP address 63.173.123.59
>  pppd[]: remote IP address 63.173.123.1
>  pppd[]: primary DNS address 63.162.197.69
>
>But I can't do anything with this internet connection.  When I
>try:
>ping trilug.org , it responds
>  ping: unknown host trilug.org
>
>And when I try ping 63.162.197.69  (the earthlink DNS server)
>it responds
>  PING 63.162.197.69  from 192.168.0.2 : 56 bytes of data
>  From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
>  ...
>
>
>So it looks to me like perhaps my machine is identifying
>itself to the earthlink server as 192.168.0.2 instead of as
>63.173.123.59, which is probably a mistake.

The IP address of eth0 is NOT the problem.
The problem is the default gateway.
if you run "route -n" or "ip r l" you should get the answer to which device is your default gateway.  The default gateway is the route out to the 'net.
For pppoe the gateway needs to be ppp0 (or ppp1...)

AFAIK pppd is used to set the default route w/ DSL and rp-pppoe.

Check /etc/ppp/options for a line reading "nodefaultroute"
if it's present change it to read "defaultroute"
(at least that's what mine reads)
Then try "adsl-stop" and "adsl-start" again.

HTH
--hmk



More information about the TriLUG mailing list