Bridging VLAN and Wifi

by Mike B   Last Updated July 12, 2018 01:00 AM

I am in the process of building my own Linux-based router and have ran into an issue bridging the wifi and LAN networks. The box previously ran pfSense, but due to it's inability to use my internal wifi adapter, I decided to build my own router on top of CentOS 7.

The box only has one ethernet port, so I setup a managed switch to create two VLANs:

  • enp3s0.10: LAN
  • enp3s0.99: WAN

I setup hostapd, connected to the wifi access point, but noticed my device was unable to pull an IP from my DHCP server. The wifi devices connected to my network will need to be able to access other devices on the wired LAN, like my DHCP and DNS services.

I have tried bridging enp3s0.10 with the wifi adapter (wls4), but that only lead to my LAN port becoming inaccessible externally. Is it possible to bridge a VLAN with a wireless adapter, or is there a better way to accomplish this? How do the inexpensive consumer routers accomplish this?



Related Questions


Connecting two APs of different models to SXT router

Updated September 22, 2017 15:00 PM

How to connect 2 network swicths wirelessly?

Updated September 21, 2015 11:00 AM