Slow traffic to tagged VLAN Ports FRITZ!Box 4040 (IPQ4018)

I flashed my "old" FRITZ!Box to OpenWrt 19.07.4 and after a few trouble to configure the vlan settings my home network at the WAN interface works fine. But the Devices in the "Guest" & "DMZ" Networks only transfer ~3Mb/s from internet or the LAN Interface (WAN/LAN->DMZ/Guest) the outgoing traffic (DMZ/Guest->LAN/WAN) is faster is there something wrong at my config or is this a failure of the device?

Here's my network config:

root@OpenWrt:/etc/config# cat 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 'fd85:205d:01e3::/48'

config interface 'lan'
	option type 'bridge'
	option proto 'static'
	option netmask '255.255.255.0'
	option ipaddr '192.168.42.1'
	option ifname 'eth0'
	option ip6ifaceid '::1'
	option ip6assign '64'

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '1'

config interface 'WAN'
	option ifname 'eth1'
	option proto 'dhcp'
	option type 'bridge'

config interface 'WANv6'
	option proto 'dhcpv6'
	option reqaddress 'try'
	option reqprefix 'auto'
	option ifname 'br-WAN'

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option vid '1'
	option ports '0t 1 2 3 4'

config switch_vlan
	option device 'switch0'
	option vlan '2'
	option vid '2'
	option ports '0t 5'

config switch_vlan
	option device 'switch0'
	option vlan '3'
	option vid '3'
	option ports '0t t1 t2 t3 t4'

config switch_vlan
	option device 'switch0'
	option vlan '4'
	option vid '4'
	option ports '0t t1 t2 t3 t4'

config switch_vlan
	option device 'switch0'
	option vlan '5'
	option vid '5'
	option ports '0t t1 t2 t3 t4'

config interface 'Guest'
	option proto 'static'
	option ifname 'eth0.3'
	option type 'bridge'
	option netmask '255.255.255.0'
	option ipaddr '192.168.188.1'
	option ip6ifaceid '::2'
	list dns '9.9.9.9'
	list dns '1.1.1.1'
	option ip6assign '64'

config interface 'DMZ'
	option proto 'static'
	option ifname 'eth0.5'
	option type 'bridge'
	option netmask '255.255.255.0'
	list dns '9.9.9.9'
	list dns '1.1.1.1'
	option ip6ifaceid '::10'
	option ip6assign '64'
	option ipaddr '10.11.1.1'

config route
	option target '192.168.22.0'
	option gateway '192.168.42.57'
	option netmask '255.255.255.0'
	option interface 'lan'

config route
	option target '100.64.0.0'
	option gateway '192.168.42.57'
	option netmask '255.192.0.0'
	option interface 'lan'

I don't know this device but are you sure that '0t t1 t2 t3 t4' is right? Normally the nomenclature is like '0t 1t 2t 3t 4t'.

Beside that it looks this device has issues with vlan configuration.

Issues with VLANs in 19.07.4 on ipq40xx devices.
https://forum.openwrt.org/t/vlan-tagging-on-ipq40xx-gl-b1300-no-longer-works/69569

'0t t1 t2 t3 t4' is not the problem i chanced it to '0t 1t 2t 3t 4t' and the issue still exist.

But I think this looks like alike my issue: ipq40XX: low performance when sending traffic?
https://openwrt.org/releases/19.07/notes-19.07.4#regressions

Works fine for me with 19.07.4, I am using a tagged VLAN for my guest network and an untagged for the regular network. Both run fine with max speed up and down. However I am not using the WAN port as that would have to be software bridged with the LAN ports which could cause that slowdown?

After a few weeks I found the time to upgrade my rooter to OpenWrt 19.07.5 and after this my guest network speed is perfect.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.