IP_MAX_MEMBERSHIPS story.

Stephen Clark Stephen.Clark at seclark.us
Fri May 12 03:44:22 UTC 2006


Robert Watson wrote:

>On Tue, 9 May 2006, Bruce M Simpson wrote:
>
>  
>
>>On Tue, May 09, 2006 at 01:28:01PM +0100, Bruce M Simpson wrote:
>>    
>>
>>>A user recently reported a problem with running into IP_MAX_MEMBERSHIPS
>>>on a system running FreeBSD with IPv4 forwarding enabled, and running
>>>the OSPF routing protocol.
>>>      
>>>
>>More background. People may be wondering why this is even an issue for 
>>FreeBSD as a router.
>>
>>The answer: the imo_membership array contains members which exist as 
>>separate entries for each ifnet in the system, and the system where this was 
>>observed to be a problem had a number of ifnet interfaces which was larger 
>>than IP_MAX_MEMBERSHIPS (20).
>>    
>>
>
>I'm loosely of the opinion that the membership array should be variable 
>length, and that we should default it to 20, but have a significantly larger 
>maximum.  It's not horribly efficient, but also wouldn't be so particularly 
>terrible either.
>
>Robert N M Watson
>_______________________________________________
>freebsd-net at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-net
>To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
>  
>
I think it should be tunable other than going in a changing the source 
code, which I have
to do every time I do a cvsup.

My $.02
Steve

-- 

"They that give up essential liberty to obtain temporary safety, 
deserve neither liberty nor safety."  (Ben Franklin)

"The course of history shows that as a government grows, liberty 
decreases."  (Thomas Jefferson)





More information about the freebsd-net mailing list