diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-10-13 14:52:54 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-10-13 14:52:54 +0000 |
commit | c51dafea961d47a967706b5ba0e1d4c0c591428e (patch) | |
tree | b2536f5a32dbe3e92ccbc61d43e3a6c1ab42372e /share | |
parent | cf847b04f74543602670202045d69144bed59c09 (diff) | |
download | FreeBSD-src-c51dafea961d47a967706b5ba0e1d4c0c591428e.zip FreeBSD-src-c51dafea961d47a967706b5ba0e1d4c0c591428e.tar.gz |
MFS r272577,r272577:
- 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.
PR: 186841
Approved by: re (hrs)
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/rc.conf.5 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index ce1230e..69d5543 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 27, 2014 +.Dd September 11, 2014 .Dt RC.CONF 5 .Os .Sh NAME @@ -1159,6 +1159,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 , |