Hi everyone!
My new ISP have given me a VDSL modem/router running a proprietary OpenWRT derivate (based on 12.09). Unfortunately, the hardware sucks and yields poor performance on my LAN both wired and wireless. So what I want is to use the ISP-box as a modem only, and use my ASUS RT-AC66U as a router. I also have IPTV through the ISP-box, so I suspect the IPTV configuration will have to stay in the ISP-box as well.
Summarized, what I want to achieve is a setup like this:
Unfortunately I have no idea how to configure this using UCI. I have tried to read the documentation, but it seems my previous knowledge is too limited.
Here are some (I believe relevant) excerpts from the config as preconfigured by my ISP.
$ uci export network
package network
config interface 'loopback'
option is_lan '1'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option is_lan '1'
option type 'bridge'
option proto 'static'
option ifname 'eth3 eth4'
option ipaddr '10.0.0.1'
option netmask '255.255.255.0'
option bridge_instance '1'
config interface 'guest'
option is_lan '1'
option proto 'static'
option ipaddr '10.0.1.1'
option netmask '255.255.255.0'
config interface 'wan'
option proto 'pppoe'
option ifname 'ptm0.1'
option service 'Data'
option wan_instance '3.1.2.1'
option username <***>
option password <***>
config interface 'iptv'
option proto 'none'
option type 'bridge'
option auto '1'
option ifname 'ptm0.103 eth1 eth2'
option bridge_instance '2'
$ uci export layer2_interface_vdsl
package layer2_interface_vdsl
config vdsl_interface
option unit '0'
option ifname 'ptm0.1'
option baseifname 'ptm0'
option name 'VDSL2'
option dslat '1'
option ptmprio '1'
option ipqos '1'
$ uci export layer2_interface_vlan
package layer2_interface_vlan
config vlan_interface
option name 'vlan_IPTV'
option ifname 'ptm0.103'
option baseifname 'ptm0'
option vlan8021q '103'
option vlan8021p '3'
option bridge '1'
Does anyone know how to configure the OpenWRT-box to acheive what I want? I have root SSH access, so that's not a problem. Also, it would be nice to be able to configure the OpenWRT box by plugging into one of the available ethernet ports.
Thanks in advance – any help at all would be greatly appreciated!