My issue is not traffic-related, please accept however bufferbloat test:
My PC connection is wired. I do my monitoring (including the char above) from OpenWRT router itself (by SSH access), so I am quite sure the problem is inside the router (or a very unlikely ethernet incompatibilty with optic-fibre modem).
Below you'll find my network configuration. It is a bit extensive, I hav however already done test with a simplified versions. Not completely vanilla, since I want my home network to be usable and this latency events may not happen for weeks.
root@r2:~# ubus call system board
{
"kernel": "6.6.104",
"hostname": "r2",
"system": "ARMv7 Processor rev 0 (v7l)",
"model": "TP-Link Archer C2600",
"board_name": "tplink,c2600",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10.3",
"revision": "r28872-daca7c049b",
"target": "ipq806x/generic",
"description": "OpenWrt 24.10.3 r28872-daca7c049b",
"builddate": "1758316778"
}
}
root@r2:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
list ipaddr '127.0.0.1/8'
config globals 'globals'
option ula_prefix 'REDACTED'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
option ipv6 '0'
list ports 'lan1'
list ports 'lan3'
config interface 'lan'
option device 'br-lan'
option proto 'static'
list ipaddr '10.0.0.1/24'
list dns_search 'lan REDACTED'
option delegate '0'
list dns '1.1.1.1'
list dns '8.8.8.8'
list dns '9.9.9.9'
list dns 'REDACTED'
config interface 'wan'
option device 'wan'
option proto 'pppoe'
option type 'bridge'
option username 'REDACTED'
option password 'REDACTED'
option ipv6 'auto'
config interface 'wlan_guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.191.1'
option device 'radio1.network2'
config interface 'vpn0'
option device 'tun0'
option proto 'none'
config device
option name 'br-wifi'
option type 'bridge'
list ports 'phy0-ap0'
list ports 'phy1-ap0'
config interface 'wifi'
option proto 'static'
list ipaddr '10.0.3.1/24'
option device 'br-wifi'
list dns '1.1.1.1'
list dns '8.8.8.8'
list dns '9.9.9.9'
list dns 'REDACTED'
config interface 'wan_ip'
option proto 'static'
option device 'wan'
option ipaddr '192.168.100.5'
option netmask '255.255.255.0'
option defaultroute '0'
config device
option name 'wan'
option ipv6 '0'
config device
option name 'phy0-ap0'
config device
option name 'phy1-ap0'
config device
option type 'bridge'
option name 'br-lan-tv'
option ipv6 '0'
list ports 'lan2'
list ports 'lan4'
config interface 'lan_tv'
option proto 'static'
option device 'br-lan-tv'
option ipaddr '10.0.13.1'
option netmask '255.255.255.0'
config interface 'wan_dhcp'
option proto 'dhcp'
option device 'wan'
option disabled '1'
config interface 'vpn1'
option proto 'none'
option device 'tun1'
option defaultroute '0'
option delegate '0'
root@r2:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
option band '5g'
option cell_density '0'
option channel 'auto'
option txpower '20'
option country 'REDACTED'
option htmode 'VHT80'
config wifi-iface 'default_radio0'
option device 'radio0'
option mode 'ap'
option key 'REDACTED'
option network 'wifi'
option encryption 'sae'
option ieee80211r '1'
option ft_over_ds '0'
option ft_psk_generate_local '1'
option nasid '118844'
option ssid 'REDACTED'
config wifi-device 'radio1'
option type 'mac80211'
option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0'
option band '2g'
option channel 'auto'
option txpower '20'
option country 'REDACTED'
option cell_density '0'
option legacy_rates '1'
option htmode 'HT20'
config wifi-iface 'default_radio1'
option device 'radio1'
option mode 'ap'
option key 'REDACTED'
option network 'wifi'
option ieee80211r '1'
option nasid '118844'
option ft_over_ds '0'
option ft_psk_generate_local '1'
option ssid 'REDACTED'
option encryption 'sae-mixed'
config wifi-iface 'wifinet2'
option device 'radio1'
option mode 'ap'
option ssid 'REDACTED'
option key 'REDACTED'
option network 'wlan_guest'
option isolate '1'
option encryption 'sae-mixed'
option disabled '1'
config wifi-iface 'wifinet3'
option device 'radio1'
option mode 'ap'
option ssid 'REDACTED'
option encryption 'psk2'
option key 'REDACTED'
option network 'wifi'
root@r2:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'REDACTED'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option localservice '1'
option ednspacket_max '1232'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
option leasetime '36h'
list dhcp_option '6,1.1.1.1,8.8.8.8,9.9.9.9,REDACTED'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
option start '100'
option limit '150'
option leasetime '12h'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.0.14'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.0.80'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.0.111'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.0.10'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.3.102'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.3.101'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.3.132'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.0.11'
config host
option dns '1'
option ip '10.0.13.71'
option name 'REDACTED'
option mac 'REDACTED'
config host
option dns '1'
option ip '10.0.13.72'
option name 'REDACTED'
option mac 'REDACTED'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.0.8'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.3.41'
config dhcp 'wlan_guest'
option interface 'wlan_guest'
option start '100'
option limit '150'
option leasetime '8h'
config dhcp 'wifi'
option interface 'wifi'
option start '150'
option limit '100'
option leasetime '24h'
list dhcp_option '6,1.1.1.1,8.8.8.8,9.9.9.9,REDACTED'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.3.21'
config host
option name 'REDACTED'
option dns '1'
option mac 'REDACTED'
option ip '10.0.3.62'
config host
option ip '10.0.3.166'
option mac 'REDACTED'
option name 'REDACTED'
option dns '1'
config dhcp 'lan_tv'
option interface 'lan_tv'
option start '100'
option limit '150'
option leasetime '12h'
config host
option name 'REDACTED'
option ip '10.0.0.132'
list mac 'REDACTED'
root@r2:~# cat /etc/config/firewall
config defaults
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
option drop_invalid '1'
option flow_offloading '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
list network 'wifi'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
list network 'wan'
list network 'wan_dhcp'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option family 'ipv4'
option target 'ACCEPT'
list icmp_type 'echo-request'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
option enabled '0'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
option enabled '0'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config redirect
option dest 'lan'
option target 'DNAT'
list proto 'udp'
option src 'wan'
option src_dport 'REDACTED'
option dest_port 'REDACTED'
option dest_ip '10.0.3.132'
option name 'REDACTED'
config rule
option name 'OpenVPN'
list proto 'udp'
option src '*'
option target 'ACCEPT'
option dest_port 'REDACTED'
config rule
option name 'REDACTED'
option family 'ipv4'
option src 'wan'
option dest_port 'REDACTED'
option target 'ACCEPT'
list proto 'udp'
config zone
option name 'vpn'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
option family 'ipv4'
option masq '1'
list network 'vpn0'
config zone
option name 'guest'
option output 'ACCEPT'
option forward 'REJECT'
option input 'REJECT'
list network 'wlan_guest'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'REDACTED'
option src 'wan'
option src_dport 'REDACTED'
option dest_ip '10.0.0.11'
option dest_port 'REDACTED'
option enabled '0'
config forwarding
option src 'vpn'
option dest 'lan'
config forwarding
option src 'vpn'
option dest 'wan'
config forwarding
option src 'lan'
option dest 'vpn'
config zone
option name 'lantv'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
list network 'lan_tv'
config zone
option output 'ACCEPT'
option forward 'REJECT'
option name 'extRouter'
option input 'REJECT'
option masq '1'
list network 'wan_ip'
config forwarding
option src 'lantv'
option dest 'wan'
config forwarding
option src 'guest'
option dest 'wan'
config rule
option src 'guest'
option name 'Allow Guest DHCP/DNS'
option family 'ipv4'
option dest_port '53 67 68'
option target 'ACCEPT'
config rule
option src 'lantv'
option name 'Allow TV DHCP/DNS'
option family 'ipv4'
option dest_port '53 67 68'
option target 'ACCEPT'
config forwarding
option src 'lan'
option dest 'extRouter'