I have acquired a TP-Link Archer C7 (1.1) Router and successfully installed OpenWrt 15.05.1. I did not change much from the default configuration so far but am unfortunately unsuccessfull in establishing the internet connection from my network devices to the outside world.
Our provide (Telekom) requires the WAN interface to be VLAN7 (for whatever reasons) and using that VLAN the router itself can establish said connection. Connection to the router via ssh allows me to ping google etc. But no matter what I try, the other devices on the network are in no case able to reach the outside world while having no trouble reaching each other or the router.
This is my current config:
root@OpenWrt:~# cat /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 globals 'globals'
option ula_prefix 'fd0a:a5d6:c969::/48'
config interface 'lan'
option force_link '1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.1.1'
option type 'bridge'
option ifname 'eth1'
config interface 'wan'
option _orig_ifname 'eth0'
option _orig_bridge 'false'
option proto 'pppoe'
option password 'barfoo'
option username 'foobar@t-online.de'
option ifname 'eth0.7'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option mirror_source_port '0'
option mirror_monitor_port '0'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0 2 3 4 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option vid '7'
option ports '1t 6t'
Changing anything about the ports tagging / VID in Vlan7 or adding eth0.7 to interface 'lan' results in lost connectivity of the router to the outside. Adding the ports 1 or 6 in any combination/tagging state to VLAN 1 changes nothing. Changing the 'lan' interface to use the physical device eth0.1 results in lost connectivity from any device to the router and I have to revert using safe_mode.
Any help in establishing a connection between my LAN devices and the VLAN7 WAN is greatly appreciated.