What's new

Vlan trunking for IPTV / Unix / Asuswrt

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

HLFH

New Around Here
I replaced my Orange Livebox in France by a Asus RT-AC68U.

The ONT (Optical Network Termination) is using all these VLAN Ids :

INTERNET :
VLAN 835

IPTV :
VLAN 838
VLAN 839
VLAN 840
VLAN 841

VoIP :
VLAN 851

Internet is working thanks to Asuswrt (Merlin build).
I don't use VoIP.

But I need a 802.1Q VLAN trunk for VID 838, 839, 840, 841

Some infos :

nvram show | grep vlan
wan0_ifname=vlan835
vlan2ports=0 5u
wl0_vlan_prio_mode=off
vlan2hwname=et0
wl_vlan_prio_mode=off
lan_ifnames=vlan1 eth1 eth2
wan_ifnames=vlan835
vlan1hwname=et0
vlan1ports=1 2 5*
landevs=vlan1 wl0 wl1
wl1_vlan_prio_mode=off

So :
LAN=VLAN1
WAN=VLAN2
I have one WAN port + 4 LAN Ports. Moreover, LAN 3 and LAN 4 are not really working because they seem to be dedicated only to IPTV and VoIP.

I have a SSH access to my router.

I have to transmit the signal for IPTV via two Power-Line Communications. The PLC connected to the router is also used for Internet access for one MacBookPro and one MacBookAir. This PLC will be connected to LAN 4. So, I think that on LAN 4, I need a 802.1Q VLAN TRUNK with VID 835, 838, 839, 840, 841. Or maybe, the 802.1Q VLAN TRUNK has to be on the WAN port ?

Which Unix commands may I use to set up a 802.1Q VLAN TRUNK on LAN 4 (or WAN port..) with VID 835, 838, 839, 840, 841 ?

Thanks in advance,

HLFH
 
Last edited:
I replaced the Livebox by Asus RT-AC68U router.
I'm connected via PPPoE to Internet with the manual option VLAN 835.

According to a nvram show | grep vlan
vlan1ports=1 2 3 4 5*
vlan2ports=0 5u

The VLAN 1 contains by default my 4 Ethernet LAN ports.
The VLAN 2 contains by default my WAN port (eth0)

According to an ip link
br0 = bridge (VLAN 1, eth1, eth2)
eth1 = WiFi 2,4 GhZ
eth2 = WiFi 5 GhZ

So I created and enabled VLANs for IPTV (838, 839, 840, 841).
ip link add link eth0 name eth0.838 type vlan id 838
ip link add link eth0 name eth0.839 type vlan id 839
ip link add link eth0 name eth0.840 type vlan id 840
ip link add link eth0 name eth0.841 type vlan id 841

ip link

ip link set dev eth0.838 up
ip link set dev eth0.839 up
ip link set dev eth0.840 up
ip link set dev eth0.841 up

And then, I added them to the existing br0 bridge :
brctl addif br0 eth0.838 eth0.839 eth0.840 eth0.841

I enabled IGMP Snooping. Maybe I have to enable IGMP Proxy too...?

For the moment, IPTV does not work.

What could I do ?

Thanks in advance,
 
Last edited:
Orange has a closed proprietary Livebox & decoder. Too many technical difficulties. I believe that I will try the Android TV solution with a single-board computer Cubietruck based on Android 4.2. Starting from Android 4.2, the open protocol Miracast is supported (working on Android, Windows or Linux with OpenWFD). Starting from Android 4.3, Netflix with 1080p definition is supported. I hope that the "TV d'Orange" app will work well notwithstanding that there is little feedback on this latter. I simply know that the quality is almost the same as http://chaines-tv.orange.fr/. I think that Google wanted Android 4.4 KitKat to be dedicated to Smart TVs.


1392593034.png


The Chromecast is too closed. So we have :
-Single-Board Computer Android-enabled with Miracast : Cubietruck > GbE or WiFi n connection
-Dongle HDMI Android-enabled with Miracast : Netgear NTV300D > WiFi ac connection

I will get my second Cubietruck next week from Miniand.com
The first one was for selfhosting.
The second one will be for IPTV.
 
Last edited:
Orange decoder could be remplaced by Cubietruck

With Cubietruck, I could have Android 4.2.2 thanks to Livesuit & FEL mode : http://dl.cubieboard.org/software/a20-cubietruck/android/

After that, I could install TV d'Orange automatically related to my Orange account. So after few seconds, the IPTV is working using this modern way.

F*ck you Vlan trunking.

And Netflix should work too if I enable an OpenVPN service like http://freedom-ip.com/ or a DNS service like Unlocator : http://unlocator.com/
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top