Hello,
I am trying to setup via ssh the VLANs for my ISP on a WRT32X and I read a lot of threads here but I'm not succeeding.
The VLANs my ISP has in bridge mode are:
Internet: id 6, priority 1
IPTV: id 2, priority 4
When I do reset the router and I do the welcome setup and enter the username and password for pppoe, internet works correctly but the TV does not, network file is automatically configured like this:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option type 'bridge'
option ifname 'eth1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth0'
option proto 'pppoe'
option disabled '0'
option username 'adslppp@telefonicanetpa'
option password 'adslppp'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
option disabled '0'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 6'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 5'
I tried a lot of configurations and I invested a lot of hours in order to add VLAN id 2 for IPTV but nothing worked and I don't know what else to do.
For more information
- The TV decoder is on Port labelled with 4 (I think it is port 0?)
- ISP told me that TV decoder needs VLAN 2 and internet connection too to connect external services like Netflix, I don't know if this is relevant like that the port where the decoder is has VLAN 2 + VLAN 6 or something like this, or if this is not possible and there is not solution for me.
Thank you in advance.
EDIT: for more information
I redone all the process and I'm going to detail it here for more information:
ONT
Do reset to ISP ONT and go to WAN setup, this is the default:
- ID 3: VOIP
- ID 2: IPTV
- ID 6: Internet
Delete ID 2 and ID 6 WAN services
Add ID 2 bridge mode for IPTV:
Is it good checking Allow as IGMP Multicast Source
?
Add ID 6 bridge mode for Internet:
LAN configuration:
Reboot ONT
WRT32X
Do reset and connect it to the configured ONT
Welcome setup, PPPoE
I leave the VLAN ID empty
If I put VLAN ID 6 it says that there is no connection:
Welcome setup done
Check internet connection setup
Connect via ssh and check /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option type 'bridge'
option ifname 'eth1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth0'
option disabled '0'
option proto 'pppoe'
option username 'adslppp@telefonicanetpa'
option password 'adslppp'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
option disabled '0'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 6'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 5'