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

Re: Network unreachable just after PPP up



On Wed, Jul 31, 2002 at 03:18:55AM +0000, Doug MacFarlane wrote:
> > I use pppoe to get online. For the first few seconds after PPP has
> > established a link, I see various error message in the log from
> > fetchmail and ddclient indicating they can't reach a destination.
 
> If you assigned a default gateway to the NIC (you may have 2 of them, actually,
> it appears), and that default gateway is on the local LAN, then you won't
> pick up the new default gateway via the PPPoE negotiation.  
> 
> If you do a netstat -r you should get confirmation of this . . . 
> 
> Remove the default gateway and you should be fine . . . 

I do have two NICS but I think I solved issues with routing and
gateways some time ago. I don't bring up eth0 at boot which hardware-wise is
the one being used by PPP.  

Eth1 is brough up at boot and points to the local network. However
it's not the default gateway.

Netstat -r shows:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
147dyn1.com21.c *               255.255.255.255 UH       40 0          0 ppp0
localnet        *               255.255.255.0   U        40 0          0 eth1
default         147dyn1.com21.c 0.0.0.0         UG       40 0          0 ppp0

Should I change things?

Bob

Attachment: pgpXEl_ZmUaqC.pgp
Description: PGP signature


Reply to: