Re: local multicast routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Matt Garman wrote:
> Say I have two multicast programs running on the same machine.  One
> is a sending program, and one is a receiving program.  The receiving
> program has joined the group to which the sender in sending.
> 
> How does the Linux kernel route these packets?  I.e., are the
> packets just pushed out to the switch for routing, or is the kernel
> smart enough to do some "local delivery" and directly deliver
> packets to the listener?

Multicast packets are always looped-back by default in Linux.  You
can turn this behavior off by setting the IP_MULTICAST_LOOP socket
option to zero.

-Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Add to Google