LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 08-05-2013, 02:52 PM   #1
mav1c
LQ Newbie
 
Registered: Mar 2010
Location: Dulles, VA
Posts: 6

Rep: Reputation: 0
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 02:53 PM.
 
Old 08-15-2013, 10:52 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
How about bonding the 2 interfaces and sending out bond0 ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two ethernet cards in a single network, how to route packets from both interfaces? nabi18 Linux - Networking 5 12-11-2010 03:49 PM
Xen network-route AND network-bridge setup kwiksand Linux - Networking 1 08-22-2010 04:18 PM
Combining multiple interfaces with multicast icedown Linux - Networking 1 04-03-2010 10:09 AM
How to route traffic on a network - cannot get machine to transfer across interfaces captainpotato Linux - Networking 15 10-04-2006 09:04 AM
Manual Network Setup Works, /etc/network/interfaces doesn't verdeboy2k Linux - Wireless Networking 0 05-31-2006 07:56 PM


All times are GMT -5. The time now is 09:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration