Tuning of IP_MAX_MEMBERSHIPS for IP Multicast Sockets

Eugene Grosbein eugen at kuzbass.ru
Thu Jan 17 05:26:48 PST 2008


On Thu, Jan 17, 2008 at 12:49:54PM +0000, Tom Judge wrote:

> On RELENG_6_2 the max multicast memberships per socket 
> (IP_MAX_MEMBERSHIPS) is hard coded in sys/netinet/in.h to 20.
> 
> Would there be any problem with bumping this to say 40.  The problem is 
> our VPN routers running quagga (ospf) seem to be hitting this limit.
> 
> I know the problem is fixed on 7+ but would there be any adverse side 
> affects of bumping this value up?

Not at all. I raised the limit upto 200 for my 4.11-STABLE
quagga router 3 months ago and have no problems. There are 65 active now.

Eugene Grosbein


More information about the freebsd-net mailing list