Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 2004 02:26:21 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: docs/68746: Virtual hosts documentaion doesn't make clear issues with netmask on adding aliases.
Message-ID:  <20040806232620.GB79083@gothmog.gr>
In-Reply-To: <200408061250.i76CoICu093376@freefall.freebsd.org>
References:  <200408061250.i76CoICu093376@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
It looks fine to me :)

On 2004-08-06 12:50, Peter Pentchev <roam@ringlet.net> 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 <literal>1</literal>s.</para>
>  +      netmask of all <literal>1</literal>s (expressed as either
>  +      <literal>255.255.255.255</literal> or <literal>0xffffffff</literal>).
>  +      </para>
>
>       <para>For example, consider the case where the
>         <devicename>fxp0</devicename> interface is
>  @@ -1148,7 +1150,15 @@
>         We want the system to appear at <hostid role="ipaddr">10.1.1.1</hostid>
>         through <hostid role="ipaddr">10.1.1.5</hostid> and at
>         <hostid role="ipaddr">202.0.75.17</hostid> through
>  -      <hostid role="ipaddr">202.0.75.20</hostid>.</para>
>  +      <hostid role="ipaddr">202.0.75.20</hostid>.  As noted above, only the
>  +      first address in a given network range (in this case,
>  +      <hostid role="ipaddr">10.0.1.1</hostid> and
>  +      <hostid role="ipaddr">202.0.75.17</hostid>) should have a real
>  +      netmask; all the rest (<hostid role="ipaddr">10.1.1.2</hostid>
>  +      through <hostid role="ipaddr">10.1.1.5</hostid> and
>  +      <hostid role="ipaddr">202.0.75.18</hostid> through
>  +      <hostid role="ipaddr">202.0.75.20</hostid>) must be configured with a
>  +      netmask of <literal>255.255.255.255</literal>.</para>
>
>       <para>The following entries configure the adapter correctly for
>         this arrangement:</para>



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