My simple system looks like “Router-Switch-AP (all in one)” (and this works great) + 1 Unifi AP AC LR, which is configured manually with main MainWiFi on “default” network and guests GuestWiFi which I attach to “guestNetwork”, as GREEN VLAN 20. UniFi AP I attached to ether2 and it gets address from BLUE VLAN. MainWiFi works, GuestWiFi not (even not get DHCP address) and I guess that is from
[..]
# VLAN Security
# Only allow ingress packets without tags on Access Ports
/interface bridge port
set bridge=BR1 ingress-filtering=yes frame-types=admit-only-untagged-and-priority-tagged [find interface=ether2]
set bridge=BR1 ingress-filtering=yes frame-types=admit-only-untagged-and-priority-tagged [find interface=ether3]
set bridge=BR1 ingress-filtering=yes frame-types=admit-only-untagged-and-priority-tagged [find interface=ether4]
set bridge=BR1 ingress-filtering=yes frame-types=admit-only-untagged-and-priority-tagged [find interface=ether5]
set bridge=BR1 ingress-filtering=yes frame-types=admit-only-untagged-and-priority-tagged [find interface=wlan1]
set bridge=BR1 ingress-filtering=yes frame-types=admit-only-untagged-and-priority-tagged [find interface=wlan2]
then how I must configure Mikrotik and UniFi AP to establish safe and stable guest WiFi?
First: Please remove router serial number from your post!
Second: Config is incomplete, the base subnet is missing typical networking items, ip pool etc…
THird: remove or set to NO the ip bridge firewall settings! This is an advanced menu that is normally not needed.
Fourth: Normally “allow fast path” is set to yes.. Why did you set it to NO??
Fifth: Ether2 should be a hybrid port to the UNIFI… the untagged vlan should be the base vlan ( the management vlan and the unifis IP should be 192.168.0.X ) PVID of 99, and the other two vlans, main and guest should be tagged as data vlans.
Sixth: Firewall rules need work…
Both the changes I have asked you to do were necessary, just apparently not sufficient. Does it behave the same if you try to connect using the wlan2 interface of the Mikrotik itself?
If it works when you enable wlan2 on the Mikrotik itself, the IP configuration seems to be ok.
So as the next step, disable wlan2 again, open a command line window as wide as your screen allows, and do the following: /interface bridge port set [find interface=ether2] hw=no
/tool sniffer quick interface=ether2 port=68
and then let some client device try to connect to the guest network that is broadcast from the Ubiquiti.
If the /tool sniffer … shows anything, copy-paste it here.
OK, so it comes alright from the Unifi, but I cannot spot an issue in the configuration. Post the current output of /interface bridge export after all the changes you’ve made so far, please.
Second: Config is incomplete, the base subnet is missing typical networking items, ip pool etc…
Fifth: Ether2 should be a hybrid port to the UNIFI… the untagged vlan should be the base vlan ( the management vlan and the unifis IP should be 192.168.0.X ) PVID of 99, and the other two vlans, main and guest should be tagged as data vlans.
/interface bridge settings set use-ip-firewall-for-vlan=no
then try again.
I did not analyze all @anav’s recommendations as most of them are not relevant to the primary issue, but I agree with him on the above one, the purpose of this setting is different from what you assume - its name is misleading.
After change, all start working, but after few minutes devices disconnect and now don’t connect to guest at all.
Tomorrow try to reset and start again from scratch…
If they cannot even connect to the WiFi, I don’t think it is a Mikrotik issue any more. So before starting from scratch, I’d suggest to save a backup and an export of the current configuration so that you have something known good to return to.
First: Please remove router serial number from your post!
Second: Config is incomplete, the base subnet is missing typical networking items, ip pool etc…
THird: remove or set to NO the ip bridge firewall settings! This is an advanced menu that is normally not needed.
Fourth: Normally “allow fast path” is set to yes.. Why did you set it to NO?? Fifth: Ether2 should be a hybrid port to the UNIFI… the untagged vlan should be the base vlan ( the management vlan and the unifis IP should be 192.168.0.X ) PVID of 99, and the other two vlans, main and guest should be tagged as data vlans.
Sixth: Firewall rules need work…
Sindy is the expert, I am just learning.
However, his level of genius is not always needed for basic config issues.
I am searching for the big lump of cow poop in the haystack, his eyes are trained to look for needles… He might not even notice the cow poop LOL
Unless its very fresh )