Creating a layer 2 access point on linux

lynxamedei

New Member
I'd like to create a layer 2 access point on linux that will only forward frames between different parts of the network. In my installation, my access point is connected to an ethernet network where I have a host there and another host on the WiFi link. The AP should be able to forward the host frames without modifying the source mac address and just doing a kind of layer 2 bridging. I know hostapd in linux but as I understand it is more a layer 3 access point with IP features.

Any help about this ?
 

beers

Moderator
Staff member
APs typically just operate at layer 2 to begin with. Hostapd should do what you want, per their website:
Hostapd only creates wireless Ethernet switches, it does not know about the IP protocol or routing.

Usually you would just create a bridge interface adding wired and wireless segments and can use that software to manage the ssid.
 
Top