Community discussions

MikroTik App
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Wired connection was flaky with MikroTik hAP ac2.

Fri May 04, 2018 3:47 pm

Today, my DHCP client lost DHCP servers twice. It also lost IP address once today.

I unplugged hAP ac2 and plugged it again. Now, it works again. I guess wireless connections were lost too, but I haven't checked my wireless devices.

Did anyone else have this problem, too?
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: Wired connection was flaky with MikroTik hAP ac2.

Fri May 04, 2018 3:54 pm

Stating the software version you're running is equally or even more important than stating the model.

In 6.42.1, problems of DHCP client which match your symptoms are reported, see the topics dedicated to that version.
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Fri May 04, 2018 4:14 pm

My hAP ac2 runs RouterOS v6.41.3

On
What's new in 6.42 (2018-Apr-13 11:03)
I found
*) dhcp - improved DHCP service reliability when it is configured on bridge interface;
I'll upgrade RouterOS and come back.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: Wired connection was flaky with MikroTik hAP ac2.

Fri May 04, 2018 4:25 pm

My hAP ac2 runs RouterOS v6.41.3
...
What's new in 6.42 (2018-Apr-13 11:03)
*) dhcp - improved DHCP service reliability when it is configured on bridge interface;
the DHCP client issue seems to have been introduced in 6.42 or 6.42.1. The improvement from changelog you quote seems to address a DHCP server issue.

If I read you right, your hAP ac² was acting as a DHCP client, wasn't it?
 
yottabit
Member Candidate
Member Candidate
Posts: 198
Joined: Thu Feb 21, 2013 5:56 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Fri May 04, 2018 8:37 pm

I'm using 6.42.1 on my hAP ac2, and haven't had any problems with DHCP server or client. My ISP is Frontier neé FiOS, and I have about 40 devices on the LAN. I have APs subtended from the router and am not using the router's Wi-Fi.

Sent from my Pixel XL using Tapatalk


Last edited by yottabit on Fri May 04, 2018 8:37 pm, edited 1 time in total.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: Wired connection was flaky with MikroTik hAP ac2.

Fri May 04, 2018 10:38 pm

I'm using 6.42.1 on my hAP ac2, and haven't had any problems with DHCP server or client. My ISP is Frontier need FiOS, and I have about 40 devices on the LAN. I have APs subtended from the router and am not using the router's Wi-Fi.

Sent from my Pixel XL using Tapatalk

You can believe it, there is a problem with DHCP Client, I get the issue on RB2011, Hap Lite, Hap Mini and RB951Ui-2HnD.

I have sent packet analyzer files to support, they confirmed and it will be corrected in new release
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Sat May 05, 2018 1:24 am

the DHCP client issue seems to have been introduced in 6.42 or 6.42.1. The improvement from changelog you quote seems to address a DHCP server issue.

If I read you right, your hAP ac² was acting as a DHCP client, wasn't it?
I meant my desktop's DHCP client that receives IP address from RouterOS DHCP server. I don't know whether RouterOS DHCP client has an issue.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: Wired connection was flaky with MikroTik hAP ac2.

Sat May 05, 2018 1:39 am

the DHCP client issue seems to have been introduced in 6.42 or 6.42.1. The improvement from changelog you quote seems to address a DHCP server issue.

If I read you right, your hAP ac² was acting as a DHCP client, wasn't it?
I meant my desktop's DHCP client that receives IP address from RouterOS DHCP server. I don't know whether RouterOS DHCP client has an issue.
OK, in that case 6.42.1 should be the solution as you've found yourself.

But try to read your first post as if you were a person not familiar with your home setup :-)
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Sat May 05, 2018 2:47 am

OK, in that case 6.42.1 should be the solution as you've found yourself.

But try to read your first post as if you were a person not familiar with your home setup :-)
However, I discovered that DHCP server on wlan1 in station mode cannot receive an IP address from a wireless router after upgrading to 6.42.1
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: Wired connection was flaky with MikroTik hAP ac2.

Sat May 05, 2018 12:16 pm

OK, in that case 6.42.1 should be the solution as you've found yourself.

But try to read your first post as if you were a person not familiar with your home setup :-)
However, I discovered that DHCP server on wlan1 in station mode cannot receive an IP address from a wireless router after upgrading to 6.42.1
And now I'm lost again. DHCP servers do not receive IP addresses, they hand them out. And how is "wireless router" related to the hAP ac², is the hAP ac² a wireless client of some other router? I'm afraid that we are badly missing a diagram of your network.

Nevertheless, 6.42.1 (or already 6.42) has fixed an issue of dhcp server and introduced an issue of dhcp client.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: Wired connection was flaky with MikroTik hAP ac2.

Sat May 05, 2018 12:21 pm

You cant receive IP's with DHCP Server, it only issues IP's to other devices. If you want to receive an IP from another DHCP Server you have to make use of DHCP client
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Sat May 05, 2018 3:01 pm

I configured DHCP client on wlan1 in IP > DHCP client
RouterOS DHCP server runs on bridge. wlan1 doesn't belong to bridge.

My current network configuration is

192.168.80.0/24 on Desktop, Phone <-----> 192.168.80.1 on hAP ac2

192.168.0.2 for wlan1 on hAP ac2 <------> 192.168.0.1 on a wireless router from another company <------> 192.168.0.0/24 on other devices

192.168.0.1 issues the IP address 192.168.0.2 to wlan1 on hAP ac2.
Machines behind hAP ac2 can talk to machines behind the other wireless router.

Weirdly, DHCP client works on ether1 which is the WAN interface. But, it takes many minutes for ether1 to renew DHCP lease.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: Wired connection was flaky with MikroTik hAP ac2.

Sat May 05, 2018 3:43 pm

I configured DHCP client on wlan1 in IP > DHCP client
RouterOS DHCP server runs on bridge. wlan1 doesn't belong to bridge.

My current network configuration is

192.168.80.0/24 on Desktop, Phone <-----> 192.168.80.1 on hAP ac2

192.168.0.2 for wlan1 on hAP ac2 <------> 192.168.0.1 on a wireless router from another company <------> 192.168.0.0/24 on other devices

192.168.0.1 issues the IP address 192.168.0.2 to wlan1 on hAP ac2.
Machines behind hAP ac2 can talk to machines behind the other wireless router.
Now it is clear. To temporarily overcome the broken dhcp client of 6.42.1, note down the gateway and DNS server address(es) you get from the other router by means of DHCP, disable the DHCP client and configure the hAP ac²'s own address, the default route and the DNS servers manually. Once the change log says the issue has been fixed, you can upgrade and revert to DHCP client mode. It depends on the level of your adrenaline addiction whether you should do that once the fix becomes available in an rc version or whether you should wait for a current version.
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Sat May 05, 2018 3:56 pm

Now it is clear. To temporarily overcome the broken dhcp client of 6.42.1, note down the gateway and DNS server address(es) you get from the other router by means of DHCP, disable the DHCP client and configure the hAP ac²'s own address, the default route and the DNS servers manually. Once the change log says the issue has been fixed, you can upgrade and revert to DHCP client mode. It depends on the level of your adrenaline addiction whether you should do that once the fix becomes available in an rc version or whether you should wait for a current version.
After assgining a static IP address to wlan1 in IP > Addresses, it works for now.

I'll keep an eye on https://mikrotik.com/download/changelogs
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Mon May 07, 2018 9:56 am

I stumbled upon the solution to my issue.
The issue was with the DHCP server of 192.168.0.1 on another router.
It was not with the DHCP client on wlan1 on RouterOS.

After upgrading the other router, the router's DHCP server started gradually refusing to issue DHCP leases.
The problem was that old configurations were incompatible with the new OS of the router.
The fix was factory reset of the other router, followed by manual configuration.

Now, there is no problem. I don't have to wait for a new release of RouterOS.
 
yottabit
Member Candidate
Member Candidate
Posts: 198
Joined: Thu Feb 21, 2013 5:56 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Mon May 07, 2018 3:47 pm

I've never met a router I liked that defaulted to 192.168.0.0 or 192.168.1.0! [emoji38]

Sent from my Pixel XL using Tapatalk

 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Sat May 19, 2018 1:24 pm

Unfortunately, the issue became worse. The DHCP client on wlan1 keeps searching for a DHCP server forever.
I upgraded RouterOS from 6.42.1 to 6.42.2, but the issue persists.

My smartphone doesn't have a problem with receiving an IP address from the wireless router which wlan1's DHCP client is supposed to receive an IP address from.
 
squeeze
Member Candidate
Member Candidate
Posts: 145
Joined: Thu Mar 22, 2018 7:53 pm

Re: Wired connection was flaky with MikroTik hAP ac2.

Sun May 20, 2018 10:24 pm

Never had any issues with DHCP on hAP ac2 on 6.41.3. I suspect your issues have little to do with the router.

We know for a fact that 6.42+ introduced new DHCP issues. So, that may not help you.

However, you could either switch to firmware version Bugfix (uses mainly by businesses) or latest Release Candidate (testing).
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Mon May 21, 2018 2:59 am

Never had any issues with DHCP on hAP ac2 on 6.41.3. I suspect your issues have little to do with the router.

We know for a fact that 6.42+ introduced new DHCP issues. So, that may not help you.

However, you could either switch to firmware version Bugfix (uses mainly by businesses) or latest Release Candidate (testing).
I tried bugfix, and wireless didn't work at all.
I went back to current.

My smartphone can fetch an IP address from a wireless router. My MikroTik hAP ac2 can't fetch an IP address from the same wireless router.
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: Wired connection was flaky with MikroTik hAP ac2.

Tue May 22, 2018 5:38 am

Never had any issues with DHCP on hAP ac2 on 6.41.3. I suspect your issues have little to do with the router.

We know for a fact that 6.42+ introduced new DHCP issues. So, that may not help you.

However, you could either switch to firmware version Bugfix (uses mainly by businesses) or latest Release Candidate (testing).
After rebooting the other router, MikroTik hAP ac2 started getting a DHCP IP address from it. It's weird.

Who is online

Users browsing this forum: own3r1138, sabuesognu and 75 guests