Community discussions

MikroTik App
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

hAP ac2 as WISP AP cannot change to bridge

Wed Jul 29, 2020 11:19 pm

Hello
i have hEX s with bridge on all ports 2-5 having on the ether5 connected hAP ac2 with bridge as well on all ports (poe in on ether1)
i tried to setup a dhcp on the bridge1 interface but it doesn't get an IP on the interface.
i could access hAP ac2 with webfix only once I have ip on ether1

what do i miss?
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: hAP ac2 as WISP AP cannot change to bridge

Wed Jul 29, 2020 11:32 pm

Post config export of hap ac2.
 
erlinden
Forum Guru
Forum Guru
Posts: 2687
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: hAP ac2 as WISP AP cannot change to bridge

Wed Jul 29, 2020 11:49 pm

@Shy, read answers to your other topics. The information can be found easily (in the optional configuration step):
viewtopic.php?f=13&t=163767&p=808123#p808144
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 12:15 am

@Shy, read answers to your other topics. The information can be found easily (in the optional configuration step):
viewtopic.php?f=13&t=163767&p=808123#p808144

thank you
found what was missing on my bridge on hap ac2
On bridge, change to protocol-mode=none. The default is RSTP.
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 12:21 am

Post config export of hap ac2.
# jul/30/2020 00:19:31 by RouterOS 6.47.1
/interface bridge
add name=bridge protocol-mode=none
add name=bridge1
add name=bridge2
add name=bridge3
add name=bridge4
add name=bridge5
add name=bridge6
add name=bridge7
add name=bridge8
add name=bridge9
add name=bridge10
add name=bridge11
add name=bridge12
add name=bridge13
add name=bridge14
add name=bridge15
add name=bridge16
add name=bridge17
add name=bridge18
add name=bridge19
add name=bridge20
add name=bridge21
add name=bridge22
add name=bridge23
add name=bridge24
add name=bridge25
add name=bridge26
add name=bridge27
add name=bridge28
add name=bridge29
add name=bridge30
add name=bridge31
add name=bridge32
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n basic-rates-b="" channel-width=\
    20/40mhz-eC disabled=no frequency=auto mode=ap-bridge rate-set=configured \
    ssid=hAP supported-rates-b="" wireless-protocol=802.11 wmm-support=\
    enabled
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=\
    20/40/80mhz-XXXX disabled=no mode=ap-bridge ssid=hAP
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
    supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/port
set 0 baud-rate=9600 data-bits=8 flow-control=none name=usb1 parity=none \
    stop-bits=1
/interface ppp-client
add apn=internet name=ppp-out1 port=usb1
/interface bridge filter
add action=drop chain=input dst-port=68 in-interface=ether1 ip-protocol=udp \
    mac-protocol=ip
/interface bridge port
add bridge=bridge interface=all
/interface list member
add interface=bridge list=LAN
add interface=ether1 list=WAN
add list=LAN
/interface wireless cap
set bridge=bridge1 caps-man-addresses=192.168.88.1 discovery-interfaces=\
    ether1 interfaces=wlan1
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add disabled=no interface=bridge
/ip service
set winbox address=192.168.88.0/24
/system clock
set time-zone-name=Asia/Jerusalem
/tool graphing interface
add interface=bridge1
add interface=wlan1
add interface=wlan2
/tool traffic-monitor
add disabled=yes interface=bridge1 name=tmon1 threshold=0

sorry about the mess - thre are some cap testings on old bridge1 i used for testing.
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 12:34 am

Why so many bridges?

Why this:
/ip dhcp-client
add disabled=no interface=bridge
coexist with this:
/ip address
add address=192.168.88.224/24 interface=ether1 network=192.168.88.0
and this:
/interface bridge filter
add action=drop chain=input dst-port=68 in-interface=ether1 ip-protocol=udp \
    mac-protocol=ip
I don't get it: you do want it to get ip by dhcp, or you don't?
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 12:36 am

Why so many bridges?

Why this:
/ip dhcp-client
add disabled=no interface=bridge
coexist with this:
/ip address
add address=192.168.88.224/24 interface=ether1 network=192.168.88.0
and this:
/interface bridge filter
add action=drop chain=input dst-port=68 in-interface=ether1 ip-protocol=udp \
    mac-protocol=ip
I don't get it: you do want it to get ip by dhcp, or you don't?
I dont know why too many i wonder myself i think it was the intial setup... i didnt create them myself
i do want to get, i used winbox to see the conf but i didnt see the bridge filter rule..
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 12:40 am

the dhcp works on the bridge, when I use the webfig to change it to be using bridge on WISP AP it changes automatically to router and adds the ip of ether1
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 12:44 am

I don't know if it has anything to do with these bridges, but FYI: quickset can be used only for initial setup.
After you used it once or configured router manually you can never touch it again.
I mean literally NEVER.

And a piece of advice: better don't use it at all.
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 1:04 am

I don't know if it has anything to do with these bridges, but FYI: quickset can be used only for initial setup.
After you used it once or configured router manually you can never touch it again.
I mean literally NEVER.

And a piece of advice: better don't use it at all.

ok now i understood what it was creating so much bridges, i did cleanup , removed unnecessary IPs from ether1
changed to CAP and configured CapsMan on heXs

its just great
i learnt now how to configure bridge properly

10q so much for your help and advise
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 1:17 am

*Thumbs up* :D
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 1:37 pm

Basically it didnt fix the way to change on wisp ap to bridge (it was just changed to cap) which i am not sure that i know what is the difference.
Is there any guideness to find out more about WISP ap mode?
I assume that to set cap for one device currently is less inportant now, when i will add more cAPs it will be needed.
Also i found some loops while configurd the Capsman the network is disappearing from time to time because of bridge loop detected

ether5: bridge port received packet with own address as source address (48:8f:5a:52:aa:86), probably loop
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 1:48 pm

You don't need "wisp ap mode" you need "cap mode".
If you want to find differences: reset to no config, try first, export, reset to no config, try second, export - you will have two configs that you can study in any text redactor.

Most likely loops are the result of adding cap interfaces to bridges on both sides, while you need to do it only on one side: either on caps, or on capsman.
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 2:23 pm

You don't need "wisp ap mode" you need "cap mode".
If you want to find differences: reset to no config, try first, export, reset to no config, try second, export - you will have two configs that you can study in any text redactor.

Most likely loops are the result of adding cap interfaces to bridges on both sides, while you need to do it only on one side: either on caps, or on capsman.
in my end I had issue with the wifi network was in the bridge, I needed to add bridge to LAN and WAN only on hAP ac2
yes I want to understand which is preffere either "wisp ap mode" or cap mode
for now I wanted to study with capsman to know how can I build a roaming and add additional cAP in the future...
I think i will move back to "wisp ap" but I dont understand what the bridge mode in wisp ap means.
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 2:27 pm

Stop using quickset and start configuring the devices by hand.
Especially if you want to "study" something.
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 2:57 pm

Stop using quickset and start configuring the devices by hand.
Especially if you want to "study" something.
Ok so how do i switch between the modes?
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 2:58 pm

Basically it didnt fix the way to change on wisp ap to bridge (it was just changed to cap) which i am not sure that i know what is the difference.
Is there any guideness to find out more about WISP ap mode?
I assume that to set cap for one device currently is less inportant now, when i will add more cAPs it will be needed.
Also i found some loops while configurd the Capsman the network is disappearing from time to time because of bridge loop detected

ether5: bridge port received packet with own address as source address (48:8f:5a:52:aa:86), probably loop

Update: the loop was because the wlan interface was in the bridge. I needed to set only LAN and WAN
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 3:09 pm

Update: the loop was because the wlan interface was in the bridge.
That's what I told you.
Ok so how do i switch between the modes?
There is no such thing as "modes" outside of quickset.
Apart from "CAP mode" but that is not really the "mode" for the whole device, but rather just a configuration option.
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 4:30 pm

I understand, so it just meters if i want to manage the wifi via caps or via dedicated device. I am looking what will be the best way to configure the wirless setings (like to avoid using b mode and to increase the 5ghz power) how do i do so in CapsMan
 
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 5:24 pm

I think you'd better postpone the capsman for some time (not if it is essential in your situation in the first place), and start with learning how to write some basic config from scratch.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22135
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 6:27 pm

Dont bring logic into the equation LOL.
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 6:30 pm

For now capsman is stable since the bridge fix.
:)

Tnx all
Also who can explain what is the differenxe between bridge and router mode on wisp ap?
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 6:50 pm

Also who can explain what is the differenxe between bridge and router mode on wisp ap?
I guess:

Bridge: all ports in one LAN bridge, dhcp client on top.
Router: ether1 with dhcp client as WAN, all other ports in LAN bridge with dhcp-server on top.
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 8:25 pm

Tnx again!
I would also like to know since wisp ap has a more features way to use the ap as an ap and also as a router is it possible to connect the hAP ac^2 with usb lte and use it as another wan access?
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 8:32 pm

I thought hEX S was your main router?
Why not plug your modem in it?
 
Shy
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Sat Jun 13, 2020 8:17 am

Re: hAP ac2 as WISP AP cannot change to bridge

Thu Jul 30, 2020 10:14 pm

Yes indeed, that's how i do it now