RE: Multicast Broadcast

berthiaume_wayne@emc.com
Mon, 26 Nov 2001 10:47:11 -0500


One potential work-around is a patch to
net/ipv4/igmp.c:ip_mc_join_group.
For example:

#ifdef DUAL_MCAST_BIND
if(!imr->imr_ifindex) {
imr->ifindex=2; /* eth0 */
err=ip_mc_join_group(sk, imr);
if (!err) {
imr->ifindex=3; /* eth1 */
err=ip_mc_join_group(sk, imr);
}
return err;
}
#else
if(!imr->imr_ifindex)
in_dev = ip_mc_find_dev(imr);
#endif

I'm hoping that there is another way.

Wayne
EMC Corp
ObjectStorEngineering
4400 Computer Drive
M/S F213
Westboro, MA 01580

email: Berthiaume_Wayne@emc.com

"One man can make a difference, and every man should try." - JFK

-----Original Message-----
From: Jamie Lokier [mailto:lk@tantalophile.demon.co.uk]
Sent: Friday, November 23, 2001 3:53 PM
To: berthiaume_wayne@emc.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: Multicast Broadcast

berthiaume_wayne@emc.com wrote:
> I have a cluster that I wish to be able to perform a multicast
> broadcast over two backbones, primary and secondary, simultaneously. The
two
> eth's are bound to the same VIP. When I perform the broadcast, it only
goes
> out on eth0.

I have seen this problem when trying to use an NTP server to multicast
to two ethernets. Unfortunately, NTP's output would only send to one of
the networks (eth0).

I never did find a workaround.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/