WOL not working in VLAN environment

Hello,

I´m using Bananapi R3 Snapshot. In standard configuration (no VLANS, all untagged) WOL from Luci Ui has worked. After recently change to VLANs, the magic packet stuck in wire...
Before asking: I have checked the target computer as WOL is actually working (may be Windows Update has some changes) - all is fine.

root@bananapi:~# ubus call system board
{
        "kernel": "6.1.74",
        "hostname": "bananapi.lan",
        "system": "ARMv8 Processor rev 4",
        "model": "Bananapi BPI-R3",
        "board_name": "bananapi,bpi-r3",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r24877-7939df9587",
                "target": "mediatek/filogic",
                "description": "OpenWrt SNAPSHOT r24877-7939df9587"
        }
}

root@bananapi:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd84:72d7:dedd::/48'
        option default_rps_val '14'
        option default_rps_flow_cnt '256'
        option default_xps_val '14'
        option default_ps '1'
        option packet_steering '1'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'
        list ports 'sfp2'
        option bridge_empty '1'

config interface 'lan'
        option device 'br-lan.1'
        option proto 'static'
        option ipaddr '10.200.137.129'
        option ip6ifaceid '::ff'
        option delegate '0'
        option force_link '0'
        option netmask '255.255.255.192'
        option ip6assign '60'

config device
        option name 'eth1'
        option macaddr '42:c2:cc:2d:e1:d5'

config interface 'guest'
        option proto 'static'
        option device 'br-lan.80'
        option ipaddr '192.168.88.1'
        option netmask '255.255.255.0'
        option force_link '0'
        option defaultroute '0'

config bridge-vlan
        option device 'br-lan'
        option vlan '1'
        list ports 'lan1:t'
        list ports 'lan2:t'
        list ports 'lan3:u*'
        list ports 'lan4:t'
        list ports 'sfp2:u*'

config bridge-vlan
        option device 'br-lan'
        option vlan '80'
        list ports 'lan1:t'
        list ports 'lan2:t'
        list ports 'lan3:t'
        list ports 'lan4:t'
        list ports 'sfp2:t'

wan side is skipped in above config file

root@bananapi:~# cat /etc/config/etherwake
config 'etherwake' 'setup'
        option 'pathes' '/usr/bin/etherwake /usr/bin/ether-wake'
        option 'sudo' 'off'
        option 'interface' 'br-lan.1'
        option 'broadcast' 'off'

config 'target'
        option 'name' 'deskmini'
        option 'mac' 'a8:a1:59:99:d5:4c'
        option 'wakeonboot' 'off'

I wan´t to power on the listed target, which ist in vlan 1 connected to port lan3 (VLAN 1 untagged and vlan 80 tagged). I have tested for untagged port only with no success.
How can I troubleshoot this problem? Wireshark?

Thanks in advance
Go

Found it. Many thanks to the guys at wireshark!
Not an OpenWrt issue.
Target device was connected to sfp2 (via 1GB copper module). Seems this module drops the magic packets. After connecting the target to normal lan port WOL was working again.

JFTR...
Go

1 Like

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