Community discussions

MikroTik App
 
zolee1666
just joined
Topic Author
Posts: 2
Joined: Sun Mar 21, 2021 9:40 pm

Problem with wlan

Sun Mar 21, 2021 9:48 pm

Hello!

I am new with Mikrotik, still learning. I would like to ask some help. I bought a hap ac2 to home, set up but something is not good with wlan. Tried with qos and without it too. I tested with 2 mobile phone 2,4 ghz. When i download with one on full speed, meanwhile upload with full speed on the other. The upload speed is very slow. With qos was the same, when i started speedtest the same time, one goes full speed, the other one failed. I've just reset the configuration, so the firewall and others not finished yet. Can somebody help me? Thanks

# mar/21/2021 20:30:56 by RouterOS 6.48.1
# software id = F5ZG-LZKU
#
# model = RBD52G-5HacD2HnD
# serial number = C6140D7235F1
/interface bridge
add name=bridge1
add name=bridge2_2,4
add name=bridge3_5
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1 keepalive-timeout=1 \
max-mru=1410 max-mtu=1410 name=pppoe-out1 password=****** user=\
m********d
/interface list
add name=LAN
add name=WAN
add name=WLAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk eap-methods="" mode=dynamic-keys name=wlan \
supplicant-identity=MikroTik wpa2-pre-shared-key=******************
add authentication-types=wpa2-psk eap-methods="" mode=dynamic-keys name=\
wlan_5 supplicant-identity=MikroTik wpa2-pre-shared-key=********************
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n channel-width=20/40mhz-XX \
country=hungary default-forwarding=no disabled=no frequency=2427 \
installation=indoor mode=ap-bridge security-profile=wlan ssid=\
MikroTik_MOD wps-mode=disabled
set [ find default-name=wlan2 ] band=5ghz-n/ac channel-width=20/40/80mhz-XXXX \
country=hungary default-forwarding=no disabled=no frequency=5200 \
installation=indoor mode=ap-bridge security-profile=wlan_5 ssid=\
MikroTik_MOD_5 wps-mode=disabled
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/ip pool
add name=lan ranges=192.168.10.100-192.168.10.200
add name=wlan ranges=192.168.11.100-192.168.11.200
add name=wlan_5 ranges=192.168.12.100-192.168.12.200
/ip dhcp-server
add address-pool=lan disabled=no interface=bridge1 lease-time=12h name=lan
add address-pool=wlan disabled=no interface=bridge2_2,4 lease-time=12h name=\
wlan
add address-pool=wlan_5 disabled=no interface=bridge3_5 lease-time=12h name=\
wlan_5
/queue simple
add dst=pppoe-out1 max-limit=1G/1G name=digi queue=\
pcq-upload-default/pcq-download-default target=""
add dst=pppoe-out1 max-limit=1G/1G name=lan parent=digi queue=\
pcq-upload-default/pcq-download-default target=192.168.10.0/24
add dst=pppoe-out1 max-limit=100M/100M name=wlan parent=digi priority=1/1 \
queue=pcq-upload-default/pcq-download-default target=192.168.11.0/24
add dst=pppoe-out1 max-limit=300M/300M name=wlan_5 parent=digi priority=1/1 \
queue=pcq-upload-default/pcq-download-default target=192.168.12.0/24
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge2_2,4 interface=wlan1
add bridge=bridge3_5 interface=wlan2
/interface bridge settings
set allow-fast-path=no use-ip-firewall=yes
/ip settings
set allow-fast-path=no
/interface list member
add interface=bridge1 list=LAN
add interface=bridge2_2,4 list=LAN
add interface=bridge3_5 list=LAN
add interface=ether1 list=WAN
/ip address
add address=192.168.10.1/24 interface=bridge1 network=192.168.10.0
add address=192.168.11.1/24 interface=bridge2_2,4 network=192.168.11.0
add address=192.168.12.1/24 interface=bridge3_5 network=192.168.12.0
/ip dhcp-server network
add address=192.168.10.0/24 dns-server=192.168.10.1 gateway=192.168.10.1 \
netmask=24
add address=192.168.11.0/24 dns-server=192.168.11.1 gateway=192.168.11.1 \
netmask=24
add address=192.168.12.0/24 dns-server=192.168.12.1 gateway=192.168.12.1 \
netmask=24
/ip dns
set allow-remote-requests=yes servers=127.0.0.1,1.1.1.1,8.8.8.8

/ip firewall nat
add action=masquerade chain=srcnat src-address=192.168.10.0/24
add action=masquerade chain=srcnat src-address=192.168.12.0/24
add action=masquerade chain=srcnat src-address=192.168.11.0/24
/system clock
set time-zone-name=Europe/Budapest
/system identity
set name=MikroTik_MOD
Last edited by zolee1666 on Mon Mar 22, 2021 5:15 pm, edited 1 time in total.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19106
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Problem with wlan

Mon Mar 22, 2021 3:52 pm

Yeah, your config needs rework for sure.
For starters only need one bridge.
Nothing wrong with multiple subnets!
Firewall rules need serious help.
To much funky stuff for mangling there not required
Masquerade nat rules not right.
and more.............

Recommend go back to default settings.
Dont change anything from that with regard to firewall rules nat etc..........
ensure both the etherport and the PPOE-connection interfaces are list members on the WAN.
Keep one bridge.
Should be at a much better starting point to troubleshoot wifi.
 
zolee1666
just joined
Topic Author
Posts: 2
Joined: Sun Mar 21, 2021 9:40 pm

Re: Problem with wlan

Mon Mar 22, 2021 5:17 pm

Yeah, your config needs rework for sure.
For starters only need one bridge.
Nothing wrong with multiple subnets!
Firewall rules need serious help.
To much funky stuff for mangling there not required
Masquerade nat rules not right.
and more.............

Recommend go back to default settings.
Dont change anything from that with regard to firewall rules nat etc..........
ensure both the etherport and the PPOE-connection interfaces are list members on the WAN.
Keep one bridge.
Should be at a much better starting point to troubleshoot wifi.
Thanks, i was f*cking angry and i create this config only few minutes. The point is, with default settings, wlan is useless.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19106
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Problem with wlan

Mon Mar 22, 2021 5:51 pm

Yes, one still has to program the wifi settings but that is trivial
compared to setting up the router properly for interfaces such as subnets and vlans ( i prefer vlans)
and then the bridge and bridge port settings (and bridge vlan setting is using vlans).
Firewall rules need minimum change.
Then setup wifi.
 
gotsprings
Forum Guru
Forum Guru
Posts: 2102
Joined: Mon May 14, 2012 9:30 pm

Re: Problem with wlan

Wed Mar 24, 2021 4:28 pm

Should start with a single subnet and SSID.

Just to get the basics.
Then expand into more complex things one at a time.
 
WeWiNet
Long time Member
Long time Member
Posts: 592
Joined: Thu Sep 27, 2018 4:11 pm

Re: Problem with wlan

Wed Mar 24, 2021 4:53 pm

You need a reference of your link quality to say that Wifi is really bad and not your link.
Have you done speedtest via ethernet in both directions? What is the speed you see?

Mikrotik is in 2.4Ghz as good as any other device. And this band is pretty much useless in crowded environment.
So perf. problems are mainly due to other factors (interference etc.) than Mikrotik device.

Its a different story for 5Ghz, but this is not where you have the problem you say.

What is the distance between you and the AP when you do the wifi tests? What are the speeds you get?

If you use a low end phone with 1x1 11a support only you can not expect anything outstanding ;-)
 
gotsprings
Forum Guru
Forum Guru
Posts: 2102
Joined: Mon May 14, 2012 9:30 pm

Re: Problem with wlan

Wed Mar 24, 2021 6:09 pm



Mikrotik is in 2.4Ghz as good as any other device...

I disagree with this.

Mikrotik shutting off wireless entirely when the 2.4 radio is crowded is CONSIDERABLY WORSE, than my other vendor. Which slows way down but still gets a connection.

Who is online

Users browsing this forum: No registered users and 26 guests