OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: ddoke on April 14, 2018, 12:39:54 pm

Title: [Solved] WiFi bridged with LAN - unusable if LAN is unplugged
Post by: ddoke on April 14, 2018, 12:39:54 pm
Hello,
I bridge my WiFi Interface with LAN (Using an APU3 from PC Engines), and it somewhat works. I can connect to the WiFi AP and get a DHCP IP, and can browse the Internet with my client. However, if I unplug the cable behind NAT, which is in itself another client connected via cable, my WiFi interface goes down. I can still see the WiFi AP, but if I connect to it, I won't get an IP from the DHCP.
Basically, it looks to me as if the LAN is  only usable if something is physically plugged to it. Given that my WiFi interface bridges with LAN, it also becomes unusable.
On the GUI, I checked the lock on the LAN and WiFi bridge to prevent the interface removal, to no effect.

What are your suggestions to solve this?
I'm running Opnsense 18.1.6.

Thanks!
Title: Re: WiFi bridged with LAN - unusable if LAN is unplugged
Post by: ddoke on April 14, 2018, 06:16:39 pm
This is solved.
The solution is to make the bridge Interface the authoritative one over the LAN interface. So disable IPv4 over LAN, assign IPv4 to the Bridge Interface, make sure DHCP listens over the bridge interface, and apply changes.
Lan can go up and down as it pleases, and the WiFi interface can still route, NAT, DHCP, as normal.
I'm still unclear to what the "lock" option does. What does Prevent Interface Removal mean?
Title: Re: [Solved] WiFi bridged with LAN - unusable if LAN is unplugged
Post by: namezero111111 on April 14, 2018, 11:13:33 pm
Prevent interface removal removes the option to remove the interface from the overview (delete it). Basically idiot protection and very useful (::