Date: Sat, 24 Mar 2001 01:27:11 +0000 From: Brian Somers <brian@Awfulhak.org> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: Brian Somers <brian@Awfulhak.org>, current@freebsd.org, brian@freebsd.org, brian@Awfulhak.org Subject: Re: Recent interface/routing changes breaks on-demand PPP Message-ID: <200103240127.f2O1RB719000@hak.lan.Awfulhak.org> In-Reply-To: Message from "Andrey A. Chernov" <ache@nagual.pp.ru> of "Sat, 24 Mar 2001 03:30:16 %2B0300." <20010324033016.B59604@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Fri, Mar 23, 2001 at 23:11:56 +0000, Brian Somers wrote: > > 1. Ppp is in -auto mode (or a ``set mode auto'' has been done). > > Here, ppp configures the interface as soon as it sees the ``set > > ifaddr'' line and never undoes that configuration. An ``add'' > > with a fixed IP number would never have worked if it's before the > > ``set ifaddr''. If it's after the ``set ifaddr'', nothing should > > ever remove it (as the interface will stay configured). > > > > 2. Ppp is not in -auto mode. Here, ppp won't assign the interface > > address 'till IPCP is up. Any attempt to ``add'' a route with a > > static IP number in ppp.conf should fail. > > > > So, the recent routing changes shouldn't have made a difference. > > > > Anyone know what I'm missing ? Andre, what does your ppp.conf look > > like and how are you running ppp ? > > ppp in -auto mode, "add" is after "set ifaddr" In which case your interface should stay configured despite the link coming down and your route should *not* be deleted. I'll see if I can reproduce this here (I need to upgrade a machine first). > -- > Andrey A. Chernov > http://ache.pp.ru/ -- Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org> <http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org> Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103240127.f2O1RB719000>