One of my APs is running 21.02 and I am struggling getting wireless clients to obtain a DHCP from the station that is attached to the vlan2 interface. I have another AP in the house running 19.07 and have no issues with wireless clients obtaining DHCP on its vlan2 interface. Admittedly I am more comfortable with 19.07 and relatively new to 21.02 so not sure how to troubleshoot with 21.02. Failing this I might flash the device back to 19.07 and leave 21.02 for future endeavors. Configs and logs for the 21.02 AP below:
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 packet_steering '1'
option ula_prefix 'fdb5:03e0:d122::/48'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ip6assign '60'
option gateway '192.168.1.1'
list ipaddr '192.168.1.2/24'
list dns '192.168.1.1'
config interface 'wan'
option device 'wan'
option proto 'none'
option auto '0'
config interface 'wan6'
option device 'wan'
option proto 'none'
option auto '0'
config device
option type '8021q'
option ifname 'br-lan'
option vid '2'
option name 'br-lan.2'
config interface 'vlan2'
option device 'br-lan.2'
option proto 'dhcp'
wireless:
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
option cell_density '0'
option country '00'
option distance '60'
option htmode 'HT40'
option channel '13'
config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11a'
option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option cell_density '0'
option channel 'auto'
option country '00'
option htmode 'VHT80'
config wifi-iface 'wifinet5'
option device 'radio0'
option mode 'ap'
option ssid 'home'
option key 'xxxx'
option network 'lan'
option ieee80211w '1'
option wpa_disable_eapol_key_retries '1'
option encryption 'psk2+ccmp'
config wifi-iface 'wifinet2'
option device 'radio1'
option mode 'ap'
option ssid 'home'
option key 'xxxx'
option wpa_disable_eapol_key_retries '1'
option network 'lan'
option ieee80211w '1'
option encryption 'psk2+ccmp'
config wifi-iface 'wifinet3'
option device 'radio0'
option mode 'ap'
option ssid 'home_guest'
option encryption 'psk2+ccmp'
option key 'zzzz'
option ieee80211w '1'
option wpa_disable_eapol_key_retries '1'
option network 'vlan2'
option disabled '1'
Log:
Sun Dec 5 09:40:29 2021 daemon.notice netifd: Interface 'vlan2' is enabled
Sun Dec 5 09:40:29 2021 daemon.info dnsmasq[1453]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Dec 5 09:40:29 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain test
Sun Dec 5 09:40:29 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain onion
Sun Dec 5 09:40:29 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain localhost
Sun Dec 5 09:40:29 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain local
Sun Dec 5 09:40:29 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain invalid
Sun Dec 5 09:40:29 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain bind
Sun Dec 5 09:40:29 2021 daemon.info dnsmasq[1453]: using nameserver 192.168.1.1#53
Sun Dec 5 09:40:29 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain lan
Sun Dec 5 09:40:29 2021 daemon.info dnsmasq[1453]: using nameserver 192.168.1.1#53
Sun Dec 5 09:40:29 2021 daemon.notice netifd: Interface 'vlan2' is setting up now
Sun Dec 5 09:40:29 2021 daemon.notice netifd: vlan2 (7199): udhcpc: started, v1.33.1
Sun Dec 5 09:40:29 2021 daemon.notice netifd: vlan2 (7199): udhcpc: sending discover
Sun Dec 5 09:40:30 2021 daemon.notice netifd: vlan2 (7199): udhcpc: sending select for 192.168.2.103
Sun Dec 5 09:40:30 2021 daemon.notice netifd: vlan2 (7199): udhcpc: lease of 192.168.2.103 obtained, lease time 86400
Sun Dec 5 09:40:30 2021 daemon.notice netifd: Interface 'vlan2' is now up
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain test
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain onion
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain localhost
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain local
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain invalid
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain bind
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: using nameserver 192.168.1.1#53
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: using only locally-known addresses for domain lan
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: using nameserver 192.168.1.1#53
Sun Dec 5 09:40:30 2021 daemon.info dnsmasq[1453]: using nameserver 192.168.2.1#53
...
Sun Dec 5 09:48:39 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: authenticated
Sun Dec 5 09:48:40 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: authenticated
Sun Dec 5 09:48:40 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: associated (aid 1)
Sun Dec 5 09:48:40 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 RADIUS: starting accounting session EBD1F8F95B636DDE
Sun Dec 5 09:48:40 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 WPA: pairwise key handshake completed (RSN)
Sun Dec 5 09:48:58 2021 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED a6:b2:c5:0c:0c:a0
Sun Dec 5 09:48:58 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: disassociated
Sun Dec 5 09:48:59 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sun Dec 5 09:49:02 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: authenticated
Sun Dec 5 09:49:02 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: associated (aid 1)
Sun Dec 5 09:49:02 2021 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED a6:b2:c5:0c:0c:a0
Sun Dec 5 09:49:02 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 RADIUS: starting accounting session 6532D926855E8880
Sun Dec 5 09:49:02 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 WPA: pairwise key handshake completed (RSN)
Sun Dec 5 09:49:16 2021 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED a6:b2:c5:0c:0c:a0
Sun Dec 5 09:49:16 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: disassociated
Sun Dec 5 09:49:17 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sun Dec 5 09:49:20 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: authenticated
Sun Dec 5 09:49:20 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: associated (aid 1)
Sun Dec 5 09:49:20 2021 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED a6:b2:c5:0c:0c:a0
Sun Dec 5 09:49:20 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 RADIUS: starting accounting session 46FD9C4AEA0B49DC
Sun Dec 5 09:49:20 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 WPA: pairwise key handshake completed (RSN)
Sun Dec 5 09:49:38 2021 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED a6:b2:c5:0c:0c:a0
Sun Dec 5 09:49:38 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: disassociated
Sun Dec 5 09:49:39 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sun Dec 5 09:49:44 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: authenticated
Sun Dec 5 09:49:44 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 IEEE 802.11: associated (aid 1)
Sun Dec 5 09:49:44 2021 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED a6:b2:c5:0c:0c:a0
Sun Dec 5 09:49:44 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 RADIUS: starting accounting session 4F578124BBFE9152
Sun Dec 5 09:49:44 2021 daemon.info hostapd: wlan0-1: STA a6:b2:c5:0c:0c:a0 WPA: pairwise key handshake completed (RSN)
Sun Dec 5 09:50:24 2021 daemon.info hostapd: wlan0: STA d8:f1:5b:11:63:51 IEEE 802.11: authenticated
Sun Dec 5 09:50:24 2021 daemon.info hostapd: wlan0: STA d8:f1:5b:11:63:51 IEEE 802.11: associated (aid 2)
Sun Dec 5 09:50:24 2021 daemon.notice hostapd: wlan0: AP-STA-CONNECTED d8:f1:5b:11:63:51
Sun Dec 5 09:50:24 2021 daemon.info hostapd: wlan0: STA d8:f1:5b:11:63:51 RADIUS: starting accounting session B30C8AF30F22D320
Sun Dec 5 09:50:24 2021 daemon.info hostapd: wlan0: STA d8:f1:5b:11:63:51 WPA: pairwise key handshake completed (RSN)