summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2014-09-11 12:30:29 +0000
committerhrs <hrs@FreeBSD.org>2014-09-11 12:30:29 +0000
commit9e4c2e60325e025e2d03da9eeecd353a4dba10b7 (patch)
treedf97ed79b52bb303c1dbe97b46b064bd82e7aa7e /share
parent0808eece71149096aacff5958700040c4c743552 (diff)
downloadFreeBSD-src-9e4c2e60325e025e2d03da9eeecd353a4dba10b7.zip
FreeBSD-src-9e4c2e60325e025e2d03da9eeecd353a4dba10b7.tar.gz
- Add $netif_ipexpand_max to specify the upper limit for the number of
addresses generated by an address range specification. The default value is 2048. This can be increased by setting $netif_ipexpand_max in rc.conf. - Fix warning messages when an address range spec exceeds the upper limit. PR: 186841
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/rc.conf.513
1 files changed, 13 insertions, 0 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 669e773..47d9ef8 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -1199,6 +1199,19 @@ or
.Li inet6 2001:db8:1-f::1/64 .
This notation allows address and prefix length part only,
not the other address modifiers.
+Note that the maximum number of the generated addresses from a range
+specification is limited to an integer value specified in
+.Va netif_ipexpand_max
+in
+.Xr rc.conf 5
+because a small typo can unexpectedly generate a large number of addresses.
+The default value is
+.Li 2048 .
+It can be increased by adding the following line into
+.Xr rc.conf 5 :
+.Bd -literal
+netif_ipexpand_max="4096"
+.Ed
.Pp
In the case of
.Li 192.0.2.5-23/24 ,
OpenPOWER on IntegriCloud