aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2014-09-11 12:30:29 +0000
committerHiroki Sato <hrs@FreeBSD.org>2014-09-11 12:30:29 +0000
commit15c7266a7f1d7814dca873273e5791c48bf5b755 (patch)
treedf97ed79b52bb303c1dbe97b46b064bd82e7aa7e /share
parentfad7eeb196426e187e33dcc412cb553f1c6ecac7 (diff)
downloadsrc-15c7266a7f1d7814dca873273e5791c48bf5b755.tar.gz
src-15c7266a7f1d7814dca873273e5791c48bf5b755.zip
- 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
Notes
Notes: svn path=/head/; revision=271424
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 669e773bac64..47d9ef8e5520 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 ,