Networking Forums

Networking Forums > Computer Networking > Linux Networking > IGMP forwarding between LANs

Reply
Thread Tools Display Modes

IGMP forwarding between LANs

 
 
Innocenti Maresin
Guest
Posts: n/a

 
      06-14-2006, 03:06 PM
Hello!
I have a trouble using IPTV (over multicast UDP)
through a Linux router.

There are one workstation machine
and the server, connected to the ISP LAN.
Server has 2 NICs, link to the workstation is NIC-to-NIC.
Server routes normal (unicast) traffic
from workstation to Internet as NAT.
Server can join LAN's multicast groups (tested by emroute),
but IGMP requests to join these multicast groups
are ignored when come from the workstation.
No outcoming IGMP nor changes in /proc/net/igmp .
Multicast route is set to the ISP LAN.

I read in http://kerneltrap.org/node/6565
that I should set /proc/sys/net/ipv4/conf/*/mc_forwarding to 1,
but we can see in the filesystem (and in the kernel source)
that such /proc objects are READ ONLY.

Linux/2.4.33-pre3, relevant .config options follow:
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
# CONFIG_IP_ROUTE_MULTIPATH is not set
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set



--
qq~~~~\ [ úá IP âåú ãåîúõòù ]
/ /\ \ [ inCTV news ] news://news.inCTV.ru
\ /_/ /
\____/
 
Reply With Quote
 
 
 
 
Innocenti Maresin
Guest
Posts: n/a

 
      06-14-2006, 05:17 PM
I realized (thanks to http://technet2.microsoft.com/Window...1d65e1033.mspx
that the thing I need is an "IGMP proxy",
it's a multicast analog of NAT, isn't it?

Is there some simple soft for IGMP proxy for Linux?
I tried igmpv3proxy http://potiron.loria.fr/projects/mad...i/igmpv3proxy/
, but it compiled with a lot of warnings and doens't work,
say "setsockopt IP_MSFILTER: Cannot assign requested address" when receive an IGMP packet.

A *simple* IGMP proxy is required, no need in MBone, DVMRP etc.
I have only one downstream host.

Maybe there are some kernel patches solving the problem?



--
qq~~~~\ [ úá IP âåú ãåîúõòù ]
/ /\ \ [ inCTV news ] news://news.inCTV.ru
\ /_/ /
\____/
 
Reply With Quote
 
Andy Furniss
Guest
Posts: n/a

 
      06-15-2006, 11:53 AM
Innocenti Maresin wrote:
> I realized (thanks to http://technet2.microsoft.com/Window...1d65e1033.mspx
> that the thing I need is an "IGMP proxy",
> it's a multicast analog of NAT, isn't it?
>
> Is there some simple soft for IGMP proxy for Linux?
> I tried igmpv3proxy http://potiron.loria.fr/projects/mad...i/igmpv3proxy/
> , but it compiled with a lot of warnings and doens't work,
> say "setsockopt IP_MSFILTER: Cannot assign requested address" when receive an IGMP packet.
>
> A *simple* IGMP proxy is required, no need in MBone, DVMRP etc.
> I have only one downstream host.
>
> Maybe there are some kernel patches solving the problem?
>


Not a proxy but you can set up static routes and issue joins with
smcroute - it compiles and "works" on 2.6.12 & 16. Trouble is I don't
think things work at my ISP so I don't really know if it works yet.

http://www.cschill.de/smcroute

Andy.
 
Reply With Quote
 
Innocenti Maresin
Guest
Posts: n/a

 
      06-15-2006, 02:29 PM
Andy Furniss:
>
> http://www.cschill.de/smcroute


Thank you, smcroute can do this job.
I can't use yet subnetmasks instead of the list of individual IPs,
but it's really a minor problem IMHO.


--
qq~~~~\ [ úá IP âåú ãåîúõòù ]
/ /\ \ [ inCTV news ] news://news.inCTV.ru
\ /_/ /
\____/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IGMP snooping Mark Linux Networking 0 02-15-2010 11:33 PM
IGMP Multicast Dick Windows Networking 1 11-13-2006 11:40 AM
RRAS, IGMP, and multicast forwarding osudar@cmt.anl.gov Windows Networking 0 09-08-2006 09:37 PM
Multicast & IGMP Mike King Network Routers 0 04-10-2006 02:13 PM
IGMP Proxy satishamara@yahoo.com Linux Networking 2 03-29-2005 01:45 AM



1 2 3 4 5 6 7 8 9 10 11