On Fri, 10 Sep 2004, Neil Horman wrote: > Jihua Cheng wrote: > > Dear Sir, > > > > I am using Linux 2.4.20, and I need enable multicast forwarding for an application. > > > > Who would please tell me how to enable multicast forwarding? I appreciate your help! > > > > Regards, > > > > Charles > > - > > : send the line "unsubscribe linux-net" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > You should just be able to turn on ip forwarding (echo 1 > > /proc/sys/net/ipv4/ip_forward), and then use a routing daemon (such as > quagga) to handle the configuration of your multicast routes. This seems slightly inaccurate. You will need to run (in practice) either PIM-SM ("pimd") or DVMRP ("mrouted") multicast routing protocol. If PIM is used, which is commonplace today, the topology will be based on the unicast routes, and often a unicast routing protocol (such as one from the quagga set) would be needed as well. One might also want to set net.ipv4.conf.all.mc_forwarding to 1. -- Pekka Savola "You each name yourselves king, yet the Netcore Oy kingdom bleeds." Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html