* 2.6.32 and Multicast group membership
@ 2010-06-01 21:39 Mr. Berkley Shands
2010-06-05 11:33 ` Mark Smith
0 siblings, 1 reply; 2+ messages in thread
From: Mr. Berkley Shands @ 2010-06-01 21:39 UTC (permalink / raw)
To: Net Dev
starting in 2.6.32, my multicast connections stop getting data after
60-100 seconds.
The identical user code works fine under 2.6.22 through 2.6.31.
The NIC (an intel 82586) has two ports on the same subnet
(eth0 at 172.16.21.55/24 and eth1 at 172.16.21.56/24)
if (setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, (char*)&req,
sizeof(req)))
{
perror("setsockopt IP_ADD_MEMBERSHIP failed");
::exit(-1);
}
If I do ADD_MEMBERSHIP on just one of these interfaces, the sockets
still get data.
But if I join on both interfaces, one or both will stop getting packets
after 60-100 seconds. Sniffing with tcpdump shows the Cisco layer 3 switch
is not getting its responses back to keep the multicast group open.
The HP layer 2 switch does not seem to care, it keeps the data flowing
regardless
of which physical port the join is executed on.
Changing IP_MULTICAST_ALL has no effect :-(
Did I miss something? New code that I have to specify to keep the Cisco
happy?
tia
Berkley
--
// E. F. Berkley Shands, MSc//
** Exegy Inc.**
349 Marshall Road, Suite 100
St. Louis , MO 63119
Direct: (314) 218-3600 X450
Cell: (314) 303-2546
Office: (314) 218-3600
Fax: (314) 218-3601
The Usual Disclaimer follows...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.32 and Multicast group membership
2010-06-01 21:39 2.6.32 and Multicast group membership Mr. Berkley Shands
@ 2010-06-05 11:33 ` Mark Smith
0 siblings, 0 replies; 2+ messages in thread
From: Mark Smith @ 2010-06-05 11:33 UTC (permalink / raw)
To: Mr. Berkley Shands; +Cc: Net Dev
On Tue, 01 Jun 2010 16:39:00 -0500
"Mr. Berkley Shands" <bshands@exegy.com> wrote:
> starting in 2.6.32, my multicast connections stop getting data after
> 60-100 seconds.
> The identical user code works fine under 2.6.22 through 2.6.31.
>
> The NIC (an intel 82586) has two ports on the same subnet
> (eth0 at 172.16.21.55/24 and eth1 at 172.16.21.56/24)
>
> if (setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, (char*)&req,
> sizeof(req)))
> {
> perror("setsockopt IP_ADD_MEMBERSHIP failed");
> ::exit(-1);
> }
>
> If I do ADD_MEMBERSHIP on just one of these interfaces, the sockets
> still get data.
> But if I join on both interfaces, one or both will stop getting packets
> after 60-100 seconds. Sniffing with tcpdump shows the Cisco layer 3 switch
> is not getting its responses back to keep the multicast group open.
While it could be a kernel change, that sounds like it might also be
related to IGMP snooping on the Cisco switch. Any changes made to that
recently?
> The HP layer 2 switch does not seem to care, it keeps the data flowing
> regardless
> of which physical port the join is executed on.
>
This is expected behaviour on a 'dumb' layer 2 switch i.e. one that
doesn't perform IGMP snooping and therefore doesn't suppress multicasts
towards end-nodes that aren't subscribed. That further suggests a
change on the Cisco.
FWIW, I'm having no trouble with IPv4 multicast under 2.6.33, plugged
into Cisco switch, with IGMP snooping, but not multicast suppression,
enabled.
> Changing IP_MULTICAST_ALL has no effect :-(
> Did I miss something? New code that I have to specify to keep the Cisco
> happy?
>
> tia
>
> Berkley
>
>
> --
>
> // E. F. Berkley Shands, MSc//
>
> ** Exegy Inc.**
>
> 349 Marshall Road, Suite 100
>
> St. Louis , MO 63119
>
> Direct: (314) 218-3600 X450
>
> Cell: (314) 303-2546
>
> Office: (314) 218-3600
>
> Fax: (314) 218-3601
>
>
>
> The Usual Disclaimer follows...
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-05 11:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-01 21:39 2.6.32 and Multicast group membership Mr. Berkley Shands
2010-06-05 11:33 ` Mark Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).