Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2001 09:55:53 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        Poul-Henning Kamp <phk@FreeBSD.org>, freebsd-current@FreeBSD.org
Subject:   Re: rev 1.61 of /sys/netinet/in.c breaks ISDN
Message-ID:  <20011207095553.D13705@sunbay.com>
In-Reply-To: <200112062023.fB6KNWd65603@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 06, 2001 at 09:23:32PM +0100, Joerg Wunsch wrote:
> Ruslan Ermilov <ru@FreeBSD.ORG> wrote:
> 
> > ISTR that I4B uses some special magical destination address for some
> > purpose (0.0.0.0 or something).
> 
> The magical destination address is 0.0.0.1.  It is used as a
> `placeholder' address for the remote side, so you can add a route to
> it.
> 
> Should probably be extended to 0.0.0.*, so you can add more than one
> interface that way.  (The actual PPP negotiation for the remote side
> is simply told to acceppt any suggested address, but this address is
> then ignored, and the local end still uses 0.0.0.1 for routing
> purposes.  This is a big hack, but the only feature you lose is to
> directly access your remote router.  Any other packets have a
> destination address different from the remote router anyway.)
> 
> 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 rather than the
``other end's IP address'':

route add default -iface tun0


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?20011207095553.D13705>