I have a relatively simple setup and after Googling found a lot of more complicated enviroments that I tried to transplant their settings after using quickset and didn’t get it to work (eth5 kept getting DHCP address but couldn’t connect to anything).
Non-MK Router -> Unifi AP .................... MK hAP AC2 -> Deskop Computer
-> NAS
I believe I want station-pseudobridge and I am aware of the L2 limitations but as this is a IP routed network should still be possible?
Got it working using CPE quickset and “Router” but would like to have “Bridge” so I can connect to the NAS directly via its IP.
I would use Ap wisp mode.
All you need to do is configure the interfaces and the bridge and put all your hapac2 ports as part of the bridge.
If there are vlans coming in they have to be created on the hap and added to the bridge.
Create any wifi networks required.
Thats about it…
post your hapac config and would be helpful a diagram to show what networks are being passed through to the hap.
Like I said, you dont need most of that config.
Enter the config through winbox and make the changes necessary.
I gather the wifi is coming in WLAN3 from an AP.
You want to connect to that and then provide switch and wifi to other devices (as an access point switch).
I gather you have three chains for the hap ac2.
Thus you should be able to easily get wifi in on WLAN3 and provide WIFI on WLAN1 and 2.
You want all of the connections to be served by the main router.
Identify all the interfaces as you have done.
Create the bridge as you have done.
No vlans to worry about.
Add the ports to the bridge as you have done
How to connect to the wifi via wifi… real wisp stuff that is a bit too heady for me as I havent done it…
Add the wifi settings on the WLAN 3 (assuming thats the wlan network to use for connecting to the router) so they match the SSID and security password of the wifi its connecting too.
That should be the start but there are more steps, how to tell hapac what its lanip is from the router? etc… Like put it in ap wisp mode.
The other way which may be simpler to start with then you can adjust via winbox is to reset the unit to defaults and then use quickset defaults.
If you reset to defaults to get you going, I believe it defaults to 192.168.88.1.
Thus plug it into your pc, change your pc ipv4 address static to 192.168.88.2 with dns and gateway of 192.168.88.1
Use winbox to access the unit.
In the default setup you have several things to look.
Configure the default wifi on the left to match the wifi you are mating too.
Select AP wisp mode
802.11
Mode=bridge
source=wlan
add address you can set to auto or you can set statically.
In other words if you know what ip address you want the unit to have from the main router you can enter it here.
Thats it.
This works if the PC has a static IP.. for some reason when it gets the address via DHCP it still won’t have Internet access. I’m starting to suspect the non-MK router (Ubiqiuiti EdgeRouter running ISC DHCPd) might not allow duplicate MACs for different IPs.
Got it working using CPE quickset and “Router” but would like to have “Bridge” so I can connect to the NAS directly via its IP.
This is a routed network. If you disable the src-nat masquerade and add a Route to your EdgeRouter for the hAP LAN, then you should be able to connect to the NAS directly without NAT. You may also have to change the src-nat on the EdgeRouter to include the hAP LAN if it is not broad enough currently to cover it.
With legacy and M series Ubiquiti, you could use WDS on the AP and station-wds on CPE and it would work perfect. But it seems they have dropped WDS in UniFi for their own Uplink protocols.
“This mode is limited to complete L2 bridging of data to single device connected to station and some support for IPv4 frame bridging”
That’s fine as I am not worried about L2 bridging I just want the MIkroTik to read the IPv4 / L3 header and route accordingly like that address claims it should be able to do for IPv4 frames.
The reason I suspect this is all possible is my ASUS RT-AC68U was able to do this fine, so I know it’s technically feasible.
I actually think I got it working in Bridge mode so long as I didn’t want DHCP to work (it looks like even DHCP will work if the DHCP response is broadcast to all MACs due to the fact the destination MAC isn’t bridged when the DHCP server tries replying to the MikroTik with one of the client MACs). The MikroTik needs to have some sort of DHCP proxy service / relay I suspect for this all to work the way I want it to.
I can connect using the MikroTik’s IP directly to my NAS and have it basically working via NAT. Dream goal would have been for each device to have an IP address on the same subnet rather than having to do destination NAT. Maybe it’s not possible to do this like it was with my ASUS RT-AC68U while running a DHCP server that isn’t broadcasting replies to all MACs?