From owner-freebsd-current Fri Mar 23 16:30:45 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 919E437B718; Fri, 23 Mar 2001 16:30:42 -0800 (PST) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.3/8.11.3) id f2O0UII59764; Sat, 24 Mar 2001 03:30:18 +0300 (MSK) (envelope-from ache) Date: Sat, 24 Mar 2001 03:30:16 +0300 From: "Andrey A. Chernov" To: Brian Somers Cc: current@freebsd.org, brian@freebsd.org Subject: Re: Recent interface/routing changes breaks on-demand PPP Message-ID: <20010324033016.B59604@nagual.pp.ru> References: <200103232311.f2NNBu716473@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103232311.f2NNBu716473@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Fri, Mar 23, 2001 at 11:11:56PM +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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" -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message