Tuning of IP_MAX_MEMBERSHIPS for IP Multicast Sockets

Tom Judge tom at tomjudge.com
Thu Jan 17 10:41:26 PST 2008


Eugene Grosbein wrote:
> 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.
> 


Thanks for the response,  I will give this a try as soon as my work load 
cools off a little.

Tom


More information about the freebsd-net mailing list