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

Re: Network unreachable just after PPP up



On 30 Jul 2002, 01:59:02, Robert Ian Smit wrote:
> I am running a standard Debian installation. So the stop/start-links
> in rc*.d were provided by the installation system.
> 
> 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 . . . 

> 
> Just after this (it's all a matter of seconds) Shorewall, a
> firewall, starts. From then on everything works as it should.
> 
> Ddclient and fetchmail are starting from /etc/ppp/ip-up.d so I guess
> PPP has succesfully brought up ppp0 (online and working).
> 
> My guess is routing is not allowed before the Shorewall scripts run.
> I am not sure about this, since I see no permission warnings in the
> log that accompany the initial fetchmail and ddclient failures.
> 
> The Shorewall script in /etc/rc2.d is numbered 99. Would it be a
> good idea to have Shorewall startup sooner? (In which case I will
> contact the maintainer of the package.)
> 
> Is there another way to create a dependency for the ip.up scripts? I
> have thought about putting a sleep statement in the scripts, but
> that is hardly a charming option.
> 
> Bob
> 
> 


-- 
Doug MacFarlane
madmac@covad.net



Reply to: