From owner-freebsd-current Fri Mar 23 17:24:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 4BF8537B719; Fri, 23 Mar 2001 17:24:20 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.2/8.11.2) with ESMTP id f2O1OST43400; Sat, 24 Mar 2001 01:24:28 GMT (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f2O1RB719000; Sat, 24 Mar 2001 01:27:11 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200103240127.f2O1RB719000@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: "Andrey A. Chernov" Cc: Brian Somers , current@freebsd.org, brian@freebsd.org, brian@Awfulhak.org Subject: Re: Recent interface/routing changes breaks on-demand PPP In-Reply-To: Message from "Andrey A. Chernov" of "Sat, 24 Mar 2001 03:30:16 +0300." <20010324033016.B59604@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 24 Mar 2001 01:27:11 +0000 From: Brian Somers 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" 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 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