Hi. I just installed openwrt on my C7 v5 router. I have configured my vlans as needed but i am experiencing major unstable connection to WAN. When running ping from the diagnostic page i get random results fromt 100% to 0%. Not sure what im doing wrong, or what i have forgotten to configure.
My WAN connection is 500/500 fiber and was stable until i put it to bridge mode and added my new openwrt c7 v5 in between.
A TLDR on my setup. I've created two VLANs (10 is my personal network, and 50 is for the apartment im renting out in the basement). I've so far only tested it on my personal network, via wired connection)
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 'fd20:9267:6335::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0t 2 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 1'
option vid '2'
config switch_vlan
option device 'switch0'
option vlan '3'
option ports '0t 3'
option vid '10'
config switch_vlan
option device 'switch0'
option vlan '4'
option ports '0t 4'
option vid '50'
config interface 'vlan10_home'
option proto 'static'
option ifname 'eth0.10'
option ipaddr '10.10.10.1'
option netmask '255.255.255.0'
option gateway '10.10.10.1'
option broadcast '10.10.10.255'
option dns '8.8.8.8'
option type 'bridge'
config interface 'vlan50_apart'
option proto 'static'
option ifname 'eth0.50'
option ipaddr '10.10.50.1'
option netmask '255.255.255.0'
option gateway '10.10.50.1'
option broadcast '10.10.50.255'
option dns '8.8.8.8'