LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-18-2015, 10:39 AM   #1
Leaskovski
LQ Newbie
 
Registered: May 2015
Distribution: Raspbian
Posts: 3

Rep: Reputation: Disabled
IGMPProxy to push multicasts to other subnet


Hi all,

I am trying to get multicasts pushed from one subnet to another on my rasbian setup. I have a Raspberry Pi running OpenVPN to allow access to my home network whilst out and about. OpenVPN is setup as a tunnel (tun) as bridge (tap) is not supported (using the OpenVPN app) on Android.

My LAN (eth0) has a subnet of 192.168.0.0/24, and my OpenVPN tunnel is using 10.8.0.0/24.

I have tried to use SMCROUTE, but that was complaining and wouldn't start...

Code:
INIT: MC-Router IPv4 API already in use; Errno(98): Address already in use
INIT: MC-Router IPv6 API already in use; Errno(98): Address already in use
INIT: Kernel does not support multicast routing; Errno(92): Protocol not available
So, instead I went down the route of IMGPProxy, which I have successfully compiled and am able to get running.

My config of IMGPProxy is...

Code:
quickleave

phyint eth0 upstream  ratelimit 0  threshold 1
altnet 192.168.0.0/24
altnet 10.8.0.0/24

phyint tun0 downstream  ratelimit 0  threshold 1
altnet 10.8.0.0/24
and when I run IMGPProxy using "sudo igmpproxy -dv /etc/igmpproxy.conf", I get the following output...

Code:
adding VIF, Ix 0 Fl 0x0 IP 0x1400a8c0 eth0, Threshold: 1, Ratelimit: 0
adding VIF, Ix 1 Fl 0x0 IP 0x0100080a tun0, Threshold: 1, Ratelimit: 0
joinMcGroup: 224.0.0.2 on tun0
RECV Membership query   from 10.8.0.1        to 224.0.0.1
RECV V2 member report   from 10.8.0.1        to 224.0.0.2
The IGMP message was from myself. Ignoring.
Inserted route table entry for 239.255.255.250 on VIF #-1
The origin for route 239.255.255.250 changed from 192.168.0.6 to 10.8.0.6
The origin for route 239.255.255.250 changed from 10.8.0.6 to 192.168.0.6
RECV Membership query   from 10.8.0.1        to 224.0.0.1
RECV V2 member report   from 10.8.0.1        to 224.0.0.2
The IGMP message was from myself. Ignoring.
Removing MFC: 192.168.0.6 -> 239.255.255.250, InpVIf: 0
MRT_DEL_MFC; Errno(2): No such file or directory
Inserted route table entry for 239.255.255.250 on VIF #-1
select() failure; Errno(4): Interrupted system call
Got a interupt signal. Exiting.
Removing MFC: 192.168.0.6 -> 239.255.255.250, InpVIf: 0
MRT_DEL_MFC; Errno(2): No such file or directory
All routes removed. Routing table is empty.
Shutdown complete....
Now, some info about the IPs...
10.8.0.1 OpenVPN server from the VPN client side.
10.8.0.6 OpenVPN Android Client
192.168.0.6 TV on the LAN
192.168.0.20 Pi running MiniDNLA, OpenVPN and Samba

I am specifically looking at the 239.255.255.250 broadcasts that I want to route over to the OpenVPN subnet as I want to be able to see the MiniDLNA server that is running on 192.168.0.20.

Any ideas as to how to get IGMPProxy to do my multicast routing?
 
  


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
LXer: The Perfect Push Mail Server - Debian Squeeze (Debian 6.0) With ISPConfig 3 & Z-push LXer Syndicated Linux News 0 11-23-2012 08:30 AM
IPTABLES ? - 1 ip in a different subnet push all traffic from that ip through vpn andrew44 Linux - Networking 4 07-18-2012 11:25 PM
[SOLVED] VLAN with 2 Router and 2 Subnet - Is device in different subnet works? velusawme Linux - Networking 2 07-23-2011 10:16 AM
Problem with multicasts Igrushkin Linux - Networking 0 05-22-2009 07:28 AM
Problem with MAC-level multicasts in userspace protocol elrusso Linux - Networking 0 02-01-2005 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:45 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