LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-23-2012, 11:11 AM   #1
don_wombat_73
Member
 
Registered: Sep 2005
Posts: 60

Rep: Reputation: 15
Create an Ubuntu server to act as a multicast router


I will have the following network setup on the ubuntu server:

eth0: 10.231.102.1/255.255.255.0 - Default Route 10.231.102.254
eth1: 192.168.1.1/255.255.255.0 - PCs

I have a multicast address of 239.224.10.2. This system will be able to route to it through the default route, so no routing problems. A PC in the 192 subnet will have a different gateway (I.E. they will not be using the new ubuntu system ip address as a gateway to other networks). However, I want the new ubuntu systems to be able to respond to an IGMP request so that users can use VLC to view the stream at the 192.168.1.1.

Summary:
- The multicast sources is PIM-Sparse, thereby needing this box to pull the stream in
- The ubuntu box will need to pull the stream and proxy the stream on a reboot
- The ubuntu box will generate a multicast on eth1
- The PCs in the 192 network will use VLC to view the stream at 192.168.1.1 (the ubuntu box would act as a bridge so the 192 network would not be aware of the 239 multicast)

Which would be the best answer: smcroute or igmpproxy?

I have been using my google-fu to try and find an answer, but there are vary sparse examples online. My main goal is so that the 192 is oblivious to anything but the 192 network, and doesn't know about anything 'north' of the ubuntu multicast server.

EDIT

smcroute conf file would look something like this I believe:
mgroup from eth0 group 239.224.10.2
mroute from eth0 group 239.224.10.2 source 192.168.1.1 to eth1

Last edited by don_wombat_73; 01-23-2012 at 11:19 AM. Reason: Forgot to add the smcroute.conf example
 
Old 01-25-2012, 12:14 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Check this page for setting up Ubuntu as multicast server:

http://adehp.wordpress.com/2008/11/0...ng-ubuntu-804/
 
Old 04-17-2013, 11:37 AM   #3
tureface
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Rep: Reputation: Disabled
Hello don_wombat_73!
I do not know but maybe you had my same problem...In this case can i contact you in private?

My status: i have UDP packets coming with a multicast address (something like 225.2.4.4) and received (in a box that has a wifi interface) by a IP interface 10.0.0.0.

How i should route this UDP multicast traffic (traffic that i can see doing a tcpdump) to wifi interface?

I know that a multicast address is not in direct relation with the IP interface that receive it so i can not use a normal routing (like unicast routing).

Some one can give me some advice how to do that?

Thanks




Quote:
Originally Posted by don_wombat_73 View Post
I will have the following network setup on the ubuntu server:

eth0: 10.231.102.1/255.255.255.0 - Default Route 10.231.102.254
eth1: 192.168.1.1/255.255.255.0 - PCs

I have a multicast address of 239.224.10.2. This system will be able to route to it through the default route, so no routing problems. A PC in the 192 subnet will have a different gateway (I.E. they will not be using the new ubuntu system ip address as a gateway to other networks). However, I want the new ubuntu systems to be able to respond to an IGMP request so that users can use VLC to view the stream at the 192.168.1.1.

Summary:
- The multicast sources is PIM-Sparse, thereby needing this box to pull the stream in
- The ubuntu box will need to pull the stream and proxy the stream on a reboot
- The ubuntu box will generate a multicast on eth1
- The PCs in the 192 network will use VLC to view the stream at 192.168.1.1 (the ubuntu box would act as a bridge so the 192 network would not be aware of the 239 multicast)

Which would be the best answer: smcroute or igmpproxy?

I have been using my google-fu to try and find an answer, but there are vary sparse examples online. My main goal is so that the 192 is oblivious to anything but the 192 network, and doesn't know about anything 'north' of the ubuntu multicast server.

EDIT

smcroute conf file would look something like this I believe:
mgroup from eth0 group 239.224.10.2
mroute from eth0 group 239.224.10.2 source 192.168.1.1 to eth1
 
  


Reply



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
How to configure IP Multicast in a router jazzsir Linux - Networking 2 08-22-2011 09:22 PM
Configure a laptop to act as a router pumpkin Linux - Laptop and Netbook 3 04-20-2009 01:41 AM
Box with 3 NICS to act as router? KiLLaWaBBiT Linux - Networking 4 01-20-2008 11:05 AM
Why does basic UBUNTU act as a Router with DNS All-in-One Linux - Networking 1 03-01-2006 10:43 PM
Put linux to act as an router little_ball Linux - Networking 1 01-30-2004 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:15 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
Open Source Consulting | Domain Registration