Ok, oto cały mój config z zamazanymi pewnymi danymi wrażliwymi oczywiście zrobiony pod T-Mobile (na bazie Netgear WNDR3800).
Wszystko działa bez zarzutu. Bez kombinacji, bez tworzenia VLANów, najprościej jak się da. Pamiętamy oczywiście, że Orange/T-Mobile korzystają z VLAN ID 35.
Żeby maksymalnie uprościć wszystko co się da skorzystałem z następującej porady:
Note that the device sections are missing and the VLAN ID and parent interface is derived from the ifname option value in dot-notation (źródło: https://openwrt.org/docs/guide-user/net … el_vlans). Oznacza to ni mniej ni więcej, że nie musimy w ogóle tworzyć VLAN - dodajemy tylko kropkę i vlan ID jak pokazałem poniżej.
W wypadku tego modelu WAN działa na ETH1, a LAN na eth0, więc było jeszcze prościej.
Dla ułatwienia powiem, że jedyną modyfikowaną sekcją przeze mnie był... 'wan'.
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'xxx'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr 'xxx.xxx.xxx.xxx'
option netmask '255.255.255.0'
option ip6assign '60'
config device 'lan_eth0_dev'
option name 'eth0'
option macaddr 'xx:xx:xx:xx:xx:xx'
config interface 'wan'
option ifname 'eth1.35'
option proto 'pppoe'
option username '48998xxxxxx'
option password 'xxxxxxxxxx'
option ipv6 'auto'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option blinkrate '2'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 5'
config switch_port
option device 'switch0'
option port '1'
option led '6'
config switch_port
option device 'switch0'
option port '2'
option led '9'
config switch_port
option device 'switch0'
option port '5'
option led '2'