LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Create an Ubuntu server to act as a multicast router (https://www.linuxquestions.org/questions/linux-server-73/create-an-ubuntu-server-to-act-as-a-multicast-router-925282/)

don_wombat_73 01-23-2012 11:11 AM

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

Satyaveer Arya 01-25-2012 12:14 AM

Check this page for setting up Ubuntu as multicast server:

http://adehp.wordpress.com/2008/11/0...ng-ubuntu-804/

tureface 04-17-2013 11:37 AM

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 (Post 4582266)
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



All times are GMT -5. The time now is 06:10 PM.