From owner-freebsd-doc@FreeBSD.ORG Fri Aug 6 23:26:46 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E10CB16A4CE for ; Fri, 6 Aug 2004 23:26:46 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3879643D1D for ; Fri, 6 Aug 2004 23:26:45 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b202.otenet.gr [212.205.244.210]) i76NQfgW032597; Sat, 7 Aug 2004 02:26:42 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id i76NQLcF094797; Sat, 7 Aug 2004 02:26:21 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id i76NQLkG094792; Sat, 7 Aug 2004 02:26:21 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sat, 7 Aug 2004 02:26:21 +0300 From: Giorgos Keramidas To: Peter Pentchev Message-ID: <20040806232620.GB79083@gothmog.gr> References: <200408061250.i76CoICu093376@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408061250.i76CoICu093376@freefall.freebsd.org> cc: freebsd-doc@freebsd.org Subject: Re: docs/68746: Virtual hosts documentaion doesn't make clear issues with netmask on adding aliases. X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2004 23:26:47 -0000 It looks fine to me :) On 2004-08-06 12:50, Peter Pentchev wrote: > What do people think about the following patch? > > G'luck, > Peter > > Index: doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml > =================================================================== > RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml,v > retrieving revision 1.163 > diff -u -r1.163 chapter.sgml > --- doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml 5 Aug 2004 10:04:29 -0000 1.163 > +++ doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml 6 Aug 2004 12:29:18 -0000 > @@ -1137,7 +1137,9 @@ > fortunately quite simple. For a given interface, there must be > one address which correctly represents the network's netmask. > Any other addresses which fall within this network must have a > - netmask of all 1s. > + netmask of all 1s (expressed as either > + 255.255.255.255 or 0xffffffff). > + > > For example, consider the case where the > fxp0 interface is > @@ -1148,7 +1150,15 @@ > We want the system to appear at 10.1.1.1 > through 10.1.1.5 and at > 202.0.75.17 through > - 202.0.75.20. > + 202.0.75.20. As noted above, only the > + first address in a given network range (in this case, > + 10.0.1.1 and > + 202.0.75.17) should have a real > + netmask; all the rest (10.1.1.2 > + through 10.1.1.5 and > + 202.0.75.18 through > + 202.0.75.20) must be configured with a > + netmask of 255.255.255.255. > > The following entries configure the adapter correctly for > this arrangement: