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

FS#1960 - hostapd/netifd: multicast_to_unicast/hairpin not set for dynamic vlan, ap not in isolate mode #6620

Closed
openwrt-bot opened this issue Nov 18, 2018 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

chrislimpach:

I noticed that multicast_to_unicast and hairpin_mode are not set on the dynamically created wlan interfaces, and the wireless ap is not running in isolate mode. This is because these interfaces are created by hostapd, unlike other wlan interfaces which are created from netifd/system-linux.

The attached patch fixes this:

  • it sets ap_isolate for the hostapd interface, if the interface is using dynamic vlan
  • it sets multicast_to_unicast and hairpin_mode after the dynamic interface is created

I haven't handled the case where the isolate option is not set for the wifi interface, or where multicast_to_unicast is not set on the bridge, since this requires passing additional information to hostapd, and I wasn't sure what the preferred way to do this would be. I'd probably overload the ap_isolate option to have value 2 mean that multicast_to_unicast and hairpin_mode should be set.

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

No branches or pull requests

1 participant