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.
This commit is contained in:
parent
2978284dad
commit
21ac08d83e
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46734
1 changed files with 7 additions and 0 deletions
|
@ -1202,6 +1202,13 @@ ifconfig_fxp0_alias4="inet 202.0.75.17 netmask 255.255.255.240"
|
|||
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">
|
||||
|
|
Loading…
Reference in a new issue