Date: Fri, 29 May 2015 20:34:54 +0000 (UTC) From: Allan Jude <allanjude@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r46734 - head/en_US.ISO8859-1/books/handbook/config Message-ID: <201505292034.t4TKYsTi080422@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: allanjude Date: Fri May 29 20:34:54 2015 New Revision: 46734 URL: https://svnweb.freebsd.org/changeset/doc/46734 Log: Add ifconfig_<if>_aliases="range/mask range/mask" example to the handbook Differential Revision: https://reviews.freebsd.org/D2660 Reviewed by: eadler Approved by: wblock (mentor) Sponsored by: ScaleEngine Inc. Modified: head/en_US.ISO8859-1/books/handbook/config/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/config/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/config/chapter.xml Fri May 29 20:16:40 2015 (r46733) +++ head/en_US.ISO8859-1/books/handbook/config/chapter.xml Fri May 29 20:34:54 2015 (r46734) @@ -1202,6 +1202,13 @@ ifconfig_fxp0_alias4="inet 202.0.75.17 n ifconfig_fxp0_alias5="inet 202.0.75.18 netmask 255.255.255.255" ifconfig_fxp0_alias6="inet 202.0.75.19 netmask 255.255.255.255" ifconfig_fxp0_alias7="inet 202.0.75.20 netmask 255.255.255.255"</programlisting> + + <para>A simpler way to express this is with a space-separated list + of IP address ranges. The first address will be given the + indicated subnet mask and the additional addresses will have a + subnet mask of 255.255.255.255.</para> + + <programlisting>ifconfig_fxp0_aliases="inet 10.1.1.1-5/24 inet 202.0.75.17-20/28"</programlisting> </sect1> <sect1 xml:id="configtuning-syslog">
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505292034.t4TKYsTi080422>