Multicast routing, IGMP, IPTV doubts..
Marek Salwerowicz
marek_sal at wp.pl
Tue Oct 14 22:57:33 UTC 2014
Hi all,
My home router is small FreeBSD 10 box, with 3 ethernet ports, I use pf
as a firewall.
My ISP provides FTTH, that ends at my home with a small box called CPE.
The CPE contains 4 ethernet ports. On one port I have Internet access,
on the other there is IPTV (that's based on udp/multicast)
The IPTV works well - when I connect directly my PC to IPTV ethernet
socket - I can watch TV.
But I would like to have both Internet and IPTV on my desktop at the
same time.
I've downloaded the igmpproxy package, set up config:
quickleave
# IPTV interface
phyint re2 upstream ratelimit 0 threshold 1
altnet 10.0.0.0/8
altnet 192.168.0.0/16
# LAN interface , bridge0 as it's re0+wlan0
phyint bridge0 downstream ratelimit 0 threshold 1
# Internet access interface
phyint re1 disabled
I've also loaded the ip_mroute module into kernel:
10 1 0xffffffff81aa7000 cd91 ip_mroute.ko
And enabled UDP traffic in PF:
IPTV="re2"
int_if="bridge0"
# IPTV
pass in on $IPTV inet proto udp from any to any
pass on {$int_if, $IPTV} proto igmp allow-opts
Unfortunately after starting igmpproxy:
# igmpproxy -d -vv igmpproxy.conf
the igmpproxy starts but can't build routing table:
Current routing table (Age active routes):
-----------------------------------------------------
No routes in table...
-----------------------------------------------------
received packet from 10.66.255.248 shorter (32 bytes) than hdr+data
length (24+32)
received packet from 10.66.255.248 shorter (32 bytes) than hdr+data
length (24+32)
received packet from 10.66.255.248 shorter (32 bytes) than hdr+data
length (24+32)
Do you have any idea how should I configure my box to be able to route
the IPTV traffic?
Regards,
Marek
--
Marek Salwerowicz
More information about the freebsd-net
mailing list