Any way to setup multicast to route out 2 different network interfaces?
I have Linux ES5.5 server that has three network connections. I need to send Multicast output to 2 of those networks. Is this possible? I have the multicast route setup for eth2, but I also need to send multicast out eth1. The service that's sending the the multicast via eth1 knows to explicitly send it using that interface, and I do see that output when running tcpdump, but I wonder if it's actually getting out without the multicast route on that interface.
Routing:
[root@app-server ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.9.255.251 10.2.119.1 255.255.255.255 UGH 0 0 0 eth0
10.2.119.0 * 255.255.255.0 U 0 0 0 eth0
10.2.112.0 * 255.255.255.0 U 0 0 0 eth2
192.168.15.0 * 255.255.255.0 U 0 0 0 eth1
192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
10.0.0.0 192.168.15.1 255.240.0.0 UG 0 0 0 eth1
224.0.0.0 10.2.112.150 240.0.0.0 UG 0 0 0 eth2
default 10.2.119.1 0.0.0.0 UG 0 0 0 eth0
tcpdump for eth1, searching for specific port and multicast address:
[root@app-server ~]# tcpdump -i eth1 -X -s0 port 1962 | grep '234.1.1.1'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
11:51:37.260517 IP 192.168.15.51.39137 > 234.1.1.1.biap-mp: UDP, length 5
11:51:38.333829 IP 192.168.15.51.39137 > 234.1.1.1.biap-mp: UDP, length 5
11:51:48.336975 IP 192.168.15.51.39137 > 234.1.1.1.biap-mp: UDP, length 5
11:51:48.578504 IP 192.168.15.51.39137 > 234.1.1.1.biap-mp: UDP, length 5
Last edited by mav1c; 08-05-2013 at 01:53 PM.
|