Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2001 16:51:13 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: rev 1.61 of /sys/netinet/in.c breaks ISDN
Message-ID:  <20011208165113.G32556@sunbay.com>
In-Reply-To: <20011207210112.A97235@uriah.heep.sax.de>
References:  <Alexander@leidinger.net> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 07, 2001 at 09:01:12PM +0100, Joerg Wunsch wrote:
> As Ruslan Ermilov wrote:
> 
> > > phk has chosen 0.0.0.1 since it obviously cannot be a meaningful
> > > statically configured address.
> 
> > OK, but is it really necessary?  It's much simpler to add routes
> > over P2P interfaces using the interface name ...
> 
> 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.

> (Actually, it even tries to enter it twice, so
> you get a meaningless "Address already exists." message when bringing
> a p2p interface up with ifconfig.)
> 
> The politically correct solution to negotiate the remote PPP address
> would have been to change the routing table entry after negotiating
> the address, of course.  However, this seemed to be too much hassle
> for the small&simple intent of sppp(4), in particular considering that
> the only added value compared to the 0.0.0.1 hack would be that you
> can reach the IP address of your peer directly.
> 
Why not just bring the interface up first, then negotiate an address,
then add it to interface?

[Please DO NOT exclude my personal address when replying -- I didn't
ask for it (as many do) through the Mail-Followup-To: header.]


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011208165113.G32556>