Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layer 2 Bridging in Managed/Client + AP mode? #396

Open
2193219831 opened this issue Mar 7, 2024 · 6 comments
Open

Layer 2 Bridging in Managed/Client + AP mode? #396

2193219831 opened this issue Mar 7, 2024 · 6 comments

Comments

@2193219831
Copy link

2193219831 commented Mar 7, 2024

Hi,

First of, thank you so much for this awesome repository! Really helps having everything in one place.
Not sure what keywords to use, but I'm looking to purchase a WiFi adapter that supports L2 bridging in managed / client mode, Virtual Interfaces (VIFs), and bridging in AP mode. Is that the same thing as WDS and is 4addr support needed?

Ideally, the Wi-Fi adapter should be capable of this op:
~ip l set wlan0 master br0
and, I'd create a separate virtual interface in AP mode (also bridged to br0).

Essentially, my question is: what keywords should I use to refer to the ability to add to bridge in client mode?
Any help narrowing this down would be highly appreciated!

@2193219831 2193219831 changed the title Layer 2 Bridging in Managed/Client mode Layer 2 Bridging in Managed/Client + AP mode? Mar 8, 2024
@morrownr
Copy link
Owner

morrownr commented Mar 8, 2024

Hi @2193219831

Are you looking for WiFi5 capability?

Are you looking for WiFi6 capability?

Are you looking for 6 GHz band capability?

What speeds are you looking for? AC1200/AC600/AXE3000?

What will you be doing with the adapter?

@2193219831
Copy link
Author

2193219831 commented Mar 8, 2024

Hi @morrownr

Essentially, I'm trying to reproduce this setup from https://gist.github.com/zOrg1331/a2a7ffb3cfe3b3b821d45d6af00cb8f6 but with wireless interfaces.

I'm using wireguard to connect to my home network from my girlfriend's and would like to have Layer 2 Transparency using gretap or vxlan on top of wireguard. Ethernet isn't really an option for me.

Anything >= WiFi 5 would be ideal, but if that's not an option, I'd be willing to sacrifice on speed.

@2193219831
Copy link
Author

Nevermind, what I wanted to do is quite flaky and would require all APs to be compatible with WDS or 4addr mode.
If I insist on using wlan (wlan0) to connect and wlan (wlan1) to broadcast, it would be best to NAT the IP traffic and place all LAN devices on the internal NATted router. I'd get true Layer 2 transparency over wireguard with all devices on wlan1

@morrownr
Copy link
Owner

morrownr commented Mar 9, 2024

Copy all. Sometimes you have to back up and start over. I've had to do that many times. 4addr and WDS are missing from Realtek out-of-kernel drivers. Your best bet is the Plug and Play List on the Main Menu.

@2193219831
Copy link
Author

I bought the NetGear AXE3000 and it doesn't seem to support either WDS or 4addr.
Also, I'm trying to setup AP mode on the raspberry Pi 5, but hostapd won't take off....

@morrownr
Copy link
Owner

morrownr commented Mar 9, 2024

Also, I'm trying to setup AP mode on the raspberry Pi 5, but hostapd won't take off....

What guide for AP mode are your using?

What adapter are you using?

What operating system are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants