I would like to create a single hotspot server on two interfaces, the wif and the ethernet 2 interface.
Is this possible?
If i bridge the WiFi interface with the Ethernet interface (lets call the bridge “br0”) and assign a hotpsot on the bridge, will the PCs connected on the ethernet and wifi gain access to hotspot?
If i need any further configuarions, or lets say PCC rules, will i have to apply the rules on the bridge?
One last thing:
if you bridge ether1,ether2 and ether3, is it the same as
ether2 master-port=ether1
ether3 master-port=ether1
Yep. The bridge interface becomes the “official” lan interface.
All physical ports are just switch ports now, and nothing more.
No - bridge uses CPU for ethernet switch behavior, where master-port makes the interfaces use the switch chip for wire-speed forwarding at layer 2 (faster, and no cpu overhead). In this case, if you want to bridge between physical ethernet interfaces and WiFi, you only connect the master port to the bridge, and the Wifi of course.
OK, so i created a bridge called “br0” and added ether3 and Wifi. I then created a dhcp server listening on the interface br0 and after that i created a hotspot on br0.
Initially my pc wasnt obtaining any ip address and i went to the dhcp server tab and it was marked in red color indicating it was not working.
I added an ip address on the bridge interface “br0” (10.88.1.100) and instructed dhcp server to provide to the clients this ip as gateway and dns server 8.8.8.8
Now my pc indeed gets an ip address but hotspot page dont come up and it seems that i must have done something wrong with the routing.
My question is, what is teh default gateway for the hotspot users since we have a bridge? I am quite burned out after so many hours on the Router OS and might cant see the obvius so exuse me if the uestion is sily
The best way to set it up from scratch is to remove all related nat rules, IP address pools, dhcp server, dhcp network, etc.
Leave just an IP address on the br0 interface.
In the IP > Hotspot screen, there is a button, “Hotspot Setup” which you can click (this is in Winbox) that launches a hotspot setup wizard.
It asks the interface first (tell it br0) and then it will see the IP address on the interface and suggest dhcp, default gw, dns, etc settings based on that, and it will create every necessary piece for you automatically.
(quite lovely)
You still need to go in and tweak stuff after that, but it will result in a basic, working hotspot.