Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm experiencing issues related to OSPF (which relies on Multicast) not allowing us to work with enough adjacencies and was told to look at: /proc/sys/net/ipv4/igmp_max_memberships

Now, while it's easy to just increase this number to infinity, is there a way to know how many IGMP memberships are currently held by the OS so I can ensure this is indeed the problem and what number should be used?

share|improve this question
add comment

2 Answers

Yes, there is a way:

# cat /proc/net/igmp

It should print out all the IGMP groups currently in use by the machine:

# cat /proc/net/igmp
Idx Device    : Count Querier   Group    Users Timer    Reporter
1   lo        :     0      V3
                4B4B00E0     2 0:00000000       0
                010000E0     1 0:00000000       0
3   eth0      :     4      V3
                4B4B00E0     2 0:00000000       0
                010000E0     1 0:00000000       0
9   tap2      :     4      V3
                4B4B00E0     2 0:00000000       0
                010000E0     1 0:00000000       0
10  tap1      :     4      V3
                4B4B00E0     2 0:00000000       0
                010000E0     1 0:00000000       0
11  tap0      :     5      V3
                4B4B00E0     2 0:00000000       0
                080808E4     2 0:00000000       0
                010000E0     1 0:00000000       0
share|improve this answer
add comment
netstat -g

or for numeric only output: netstat -ng

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.