Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2016 17:16:45 +1300
From:      erdgeist <erdgeist@erdgeist.org>
To:        freebsd-rc@freebsd.org
Subject:   Suddenly: _IPEXPANDMAX
Message-ID:  <7F5E86C5-C3D9-4FD3-866F-0B4CAAD54693@erdgeist.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hey all,

I’ve recently (shortly after its EoL) upgraded my many-user-jails-box from 8.4 to 9.3 and noticed some of the jails failing to start. They all had in common that their IP address was above a certain suffix. Their IP addresses just were not configured on the interface.

After some investigation I found the hardcoded value _IPEXPANDMAX of 31 in /etc/network.subr and that I basically can not run more than 31 jails on my server anymore, if I am not willing to do some insane stuff, like editing a non-user-servicable rc script or manually adding each IP address or combining different schemes to add ranges (I’ve been using ipv4_addrs_IF).

Now, I find the arbitrary limit of 31 IP addresses cumbersome and even more annoying that it’s not tuneable. The warning somehow also did not properly find its way to my /var/log/messages, which leaves further work for debugging.

I noticed this has been fixed in https://svnweb.freebsd.org/base/head/etc/network.subr?r1=267812&r2=271424

Is it possible to backport it to 9.4?

  erdgeist

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAla5aDEACgkQk9uKpYuqISRBMACfdVLxbkvAJceuFKBALYE9mrqo
jY0AoIRvMNHgCrdqKhd6PkdxaqbpI6Jr
=0PK5
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7F5E86C5-C3D9-4FD3-866F-0B4CAAD54693>