*BSD News Article 84287


Return to BSD News archive

#! rnews 1703 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!ix.netcom.com!news.enteract.com!news.inetnebr.com!newsrelay.courtave.net!polo.iquest.com!news3.crl.com!nexp.crl.com!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Two devices with same IP
Date: Tue, 03 Dec 1996 22:30:01 -0800
Organization: Walnut Creek CDROM
Lines: 15
Message-ID: <32A51A69.167EB0E7@FreeBSD.org>
References: <56ltqk$nhv@csugrad.cs.vt.edu> <56lvvc$62f$1@gail.ripco.com> <577usn$15g@anorak.coverform.lan> <nigel.26.000DFF56@znet.net.au>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 3.0-CURRENT i386)
To: Nigel Gorry <nigel@znet.net.au>

Nigel Gorry wrote:
> I think the netmask is irrelevant on a Point-to-Point link.  I used to use
> 0xffffffff, but when I reconfigured I got lazy and just left it at the default
> 0xffffff00, and it seemed to make absolutely no difference to the routing
> table.  I know that it should make a difference, and on dedicated routers it
> does, but not in FreeBSD.

You were right in your first sentence. :-)  It's irrelevant for a
point-to-point link and hence should NOT make a difference on any sort
of router.  A netmask tells the routing code which addresses should be
directly reachable through a given interface, but a p2p interface by
definition is has only one address so the netmask is superfluous.
-- 
- Jordan Hubbard
  President, FreeBSD Project