From owner-freebsd-current Mon Dec 10 0: 3:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id E60B837B416 for ; Mon, 10 Dec 2001 00:03:18 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id fBA835680219; Mon, 10 Dec 2001 10:03:05 +0200 (EET) (envelope-from ru) Date: Mon, 10 Dec 2001 10:03:05 +0200 From: Ruslan Ermilov To: Joerg Wunsch , freebsd-current@FreeBSD.ORG Subject: Re: rev 1.61 of /sys/netinet/in.c breaks ISDN Message-ID: <20011210100305.B79785@sunbay.com> References: <200112061126.fB6BQ5v00774@Magelan.Leidinger.net> <200112061352.fB6DqnE47522@hak.lan.Awfulhak.org> <20011206162840.C82299@sunbay.com> <200112062023.fB6KNWd65603@uriah.heep.sax.de> <20011207095553.D13705@sunbay.com> <20011207210112.A97235@uriah.heep.sax.de> <20011208165113.G32556@sunbay.com> <20011208234447.E97235@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011208234447.E97235@uriah.heep.sax.de> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Dec 08, 2001 at 11:44:47PM +0100, Joerg Wunsch wrote: > As Ruslan Ermilov wrote: > > > > You need to configure /some/ interface address for the remote end > > > anyway, and it must not clash with any other routing table entry, > > > since "ifconfig ... up" always adds an entry for the remote IP address > > > for p2p interfaces. > > > Only if you have INET address configured on an interface. > > That's the purpose of an sppp interface. You can't do anything with > it unless an INET address has been configured to it. (In the case of > an automatic dialer -- which is what many ISDN users are using -- you > need the IP traffic generated by normal routing in order to trigger > the ISDN dialout.) > ifconfig isp0 up route add default -iface isp0 Won't this work, without prior configuring any INET addresses? This will definitely trigger a traffic through the interface. > > Why not just bring the interface up first, then negotiate an address, > > then add it to interface? > > Because it'll become a chicken-and-egg problem: the interface would > never start negotiating PPP in that case. > Still don't get it, sorry. :-) Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message