Hi,
I’m trying to set SXT as client connected to HAP AC 3 with 5 GHz and as AP on 2,4 GHz. But I have no luck.
As soon as I’m connected to HAP I cannot even tech the SXT from the same network HAP.
How should I set the SXT?
WiFi 5Ghz is set as client and WiFi 2,4 GHz as bridge. I’m not able to put those interface into one bridge with DHCP client. I have to set DHCP client only on the WiFi 5,4 and then I’m able to receive the IP from HAP.
Hap ac 3 - DHCP server
SXT with WiFi 5,4 and 2.4
SXT connected to HAP AC thorough WiFi 5.4
SXT can get IP only when the DHCP client is set on WiFi interface
When I put WiFi 5,4 and 2,4 into bridge and DHCP client on that bridge I will not get IP from HAP ac3.
I want connect SXT to WiFi 5,4 as client get IP from HAP ac3 and on WiFi 2.4 a want bridge to share connection.
How should looks simple setup?
As @rextended asked, please post the config export of the SXT (in Terminal: /export hide-sensitive file=yourfilename)
Still confusing. I have no knowledge of any SXT with 2.4GHz radio and 5 GHz radio in the same device. Both executions (2.4GHz and the 5 GHz) have “WLAN1” as default for their wifi interface.
How can you connect both to the bridge in the SXT?
There is also “wifi 5” and “wifi 4”, but that is about simple names for 802.11ac and 802.11n
The hAP ac3 has 2 master WLAN interfaces, one in the 2.4GHz band, and one in the 5 GHz band. Probably named WLAN1 and WLAN2, as in other MT devices.
WLAN2 standalone interface, WLAN2 interface in the WAN interface list, and with DHCP client on the WLAN2.
WLAN2 wifi mode is “station” or mode “station bridge”. This will work with any AP (MT or other brand)
WLAN1 interface connected to the SXT bridge, Bridge in LAN interface list, IP address and DHCP server on the bridge (with a local but different subnet than WLAN2).
Ethernet connected to the bridge if needed.
Firewall will do NAT/masquerade. SXT distributes IP addresses to local clients, which are NOT reachable from the hAP ac3 (due to NAT/masquerade)
SXT Transparent bridge setup
WLAN2 interface connected to the bridge, bridge interface in the LAN interface list, and with DHCP client on the bridge. SXT WLAN2 wifi mode is “station bridge”. WLAN2 mode on the hAP ac3 must be “AP bridge”, classic wifi drivers, no CAPsMAN controlled wifi, no wifiwave2 drivers used on hAP ac3
This gives a transparent L2 bridged network over the wifi link. No extra IP address or DHCP server on the SXT !
WLAN1 also connected to the SXT bridge, Bridge in LAN interface list, DHCP only as client on the bridge, will get an IP address from the hAP ac3
Ethernet connected to the bridge if it is used. WLAN1 and ethernet clients get an IP address from hAP ac3. They are reachable from the hAP ac3.
This is one L2 network. hAPac3_bridge ↔ SXT_bridge.
The MT [“AP bridge”-“station bridge”] classic driver wifi connection is as transparent (source MAC - destination MAC) as an ethernet connection. Other wifi connections only use 3 MAC addresses and cannot do this, because they only use “source MAC, sender MAC, receiver MAC” address, missing the “destination MAC address”.
DHCP client on that bridge it will work. But it is not working.
One of the possible causes is the bridges MAC address. (some duplicate?), or 3-address connection and with a different MAC address than WLAN2 on the bridge.
Even with mode “station pseudobridge” on SXT DHCP is still often a problem, as the DHCP-offer never reaches the requesting client. Other TCP and UDP traffic will work if client IP address gets set.
MT “AP bridge”-“station bridge” does work, even with multiple hops (hops = intermediate bridges and links).
Thank you very much for excellent explanation.
At the moment is SXT in lab with HAP AC3 where I have WiFiwave2 so probably that’s the problem. I did not set on the HAP AC3 AP bridge. I will try the first guide. But later on I will try to connect SXT to Cube 60 with 5Ghz as bridge so I will use the second guide.
I really appreciate your work here. Those 2 guides save me a lot of troubles.
OK Rox169 you are welcome. Here some more possibilities for the lab.
For the first setup (router/Home gateway)(SXT WLAN connected as station) (3 MAC address connection) it is still possible to have a transparent setup by using a VPN tunnel between hAP ac3 and SXT over that wifi link. (tunnel over IP, tunnel ends on hAP ac3 bridge and SXT bridge)
You will find exemples of people comparing EoIP versus MPLS/VPLS as tunnel connection. With MPLS/VPLS giving less CPU load / better throughput.
Those exemples are ROS6 based, and do not use the ROS7 newer options like VXLAN and ZeroTier. Maybe there are even others like Wireguard.
I have no information if the WDS of classic driver and WDS of wifiwave2 driver are compatible. (My hAP ac3 is in backorder)
WDS is a special case of the 4-MAC address bridge connection, and could be used instead of the “AP bridge/station bridge” mode.