[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ppp fails to get default route on reconnect
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: ppp fails to get default route on reconnect
- From: Nick Nauwelaerts <nick_(_at_)_nauwelaerts_(_dot_)_net>
- Date: Wed, 9 Feb 2005 21:00:29 +0100
On Wed, 9 Feb 2005 09:19:54 +0059
Claudio Jeker <cjeker_(_at_)_diehard_(_dot_)_n-r-g_(_dot_)_com> wrote:
> On Tue, Feb 08, 2005 at 08:59:18PM +0100, Nick Nauwelaerts wrote:
> > Hello,
> > I have a problem with my pppoe adsl connection. My isp has a 7 day
> > ip rotation scheme, so once every week I get thrown of the net and
> > need to reconnect, getting a new ip from the pool in the process.
> > While the reconnecting goes fine it seems to have some problems with
> > updating it's default route. I get a new IP but my default route
> > still points to the old gateway. Sometimes this isn't a big deal
> > since I'll stay in the same range, other times I get moved to
> > another IP range and thus can't connect to anything. I've tried
> > reloading my pf rules with a "pf -F all&& pf -f /etc/pf.conf" but
> > that doesn't help. Only killing and restarting the ppp process will
> > restore the connection.
> >
> > Anyone seen this? I've looked for the "Warning: 0.0.0.0/0: Change
> > route failed: errno: No such process" error but didn't come up with
> > something relevant.
> >
>
> Could you try -current? Markus reverted some hack that is no longer
> needed that seem to cause problems with some routes. This is the diff:
> http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/ppp/ppp/route.c.diff?r1=1.29&r2=1.30
Thanks, I'll give that one a spin.
// nick
Visit your host, monkey.org