1
General Discussion / Re: Cannot connect to wifi after static MAC address mapping
« on: October 03, 2024, 10:31:54 pm »
You need Wi-Fi connectivity to hit the DHCP server...
A 169.xxx address is assigned when none get attributed statically or via DHCP.
Do you see DHCP entries in the firewall logs (filter on src_port = 67 or 68)?
You don't need to mess with the reservation based on the MAC of your wireless adapter when you're reconnecting wired (the wired NIC has a different one).
Which begs the question whether the Wi-Fi reservation is for the IP address that you have for the wired NIC.
Because I could see DHCP fail (or not honor the reservation) if it has an active lease for the IP...
I can't check with OPNsense's DHCP but my DHCP server ignores the reservation in case of active lease.
A 169.xxx address is assigned when none get attributed statically or via DHCP.
Do you see DHCP entries in the firewall logs (filter on src_port = 67 or 68)?
You don't need to mess with the reservation based on the MAC of your wireless adapter when you're reconnecting wired (the wired NIC has a different one).
Which begs the question whether the Wi-Fi reservation is for the IP address that you have for the wired NIC.
Because I could see DHCP fail (or not honor the reservation) if it has an active lease for the IP...
I can't check with OPNsense's DHCP but my DHCP server ignores the reservation in case of active lease.