I have obe weird problem that cant fix myself even read too many threads here on mikrotik forum.
I use LAN 4 via cable to connect my Android TV box. When connect the box for first time it get connection and all works fine. But after i turn off my box and dont use it for some time, on another power on it dont get IP adress from DHCP Server. Read on forums and found this http://forum.mikrotik.com/t/mikrotik-951g-2hnd-and-samsung-tv-problem/88864/1 and found the same situation that happens to me. Tryed almost everything, and as “solution” that read there buyed basic 100mbps switch from tp-link just to resolve this. But today power on the box again and same issue. Into the box settings Write that box get adress 192.168.88.25 but into Leases i dont see device associated with that IP.
And conf from Android box
So current connection is Hapax3- tplink100mbps switch - Android TV box. Router have RoS 7.8 stable
Some help here?
EDIT: Set Fixed IP from Mikrotik DHCP pool. But after lease expires, the box dont have internet and lease stuck at “waithing”. Some help here?
Someone to help here? Its really frustrating why Android Box dont renew lease in time. Tryed to set lower value in lease time, but after expiring, it dont renew again, until plug off the cable and pull on again from switch.
Sounds strange. However without your configuration, we would be guessing. Please post your configuration.
To export and paste your configuration (and I’m assuming you are using WebFig or Winbox), open a terminal window, and type (without the quotes) “/export hide-sensitive file=any-filename-you-wish”. Then open the files section and right click on the filename you created and select download in order to download the file to your computer. It will be a text file with whatever name you saved to with an extension of .rsc. Suggest you then open the .rsc file in your favorite text editor and redact any sensitive information. Then in your message here, click the code display icon in the toolbar above the text entry (the code display icon is the 7th one from the left and looks like a square with a blob in the middle). Then paste the text from the file in between the two code words in brackets.
To help eliminate some possibilities,
Have you tried removing TP-Link switch from the equation and connect directly to MT?
Have you tried disconnecting connection from TV and connect to another device, such as laptop. Does it experience same issue?
Try changing the lease-time setting in the DHCP server to 00:30:00 (or 30m). It’s possible the Android box doesn’t like the short lease time.
Also, under DHCP Server > Networks set the netmask for your network to 24 (or what your subnet CIDR is) – even though it’s already specified in the DHCP network address= line. I’ve seen some devices need that set for some unknown reason (e.g. it should be inferred from the address, but not always it seems)
Yes i tryed first without switch, Android Box get IP just a first time, and works until box is power ON. When i power OFF, and power ON after some time, it dont get IP from DHCP anymore.
Yes other devices works normaly. Its brand new hAP AX3 old just one week.
The IPv6 fe80::/64 is what’s called the link local address. Basically same as a 169.254.0.0/16 address that happens in IPv4 without DHCP. So that’s unrelated.
Did you try setting the netmask in the DHCP Server to “24” instead of blank? Not sure that fix, but has help with DHCP in past for me.
Also, you might want to add “dhcp” as a topic for memory log in /system/logging. And perhaps shorten the lease-time to 5m so you can see more transitions in the logs. It seem like it gets the address but the acknowledgement packet is either not sent or recieved or not updated in RouterOS.
You can also try just deleting the client-id in the reservations and see if it then registers.
If your not running latest stable, perhap try that.
I guess you can delete the reservation, and let it get dynamically assigned again. Then reassign it as a static after that.
Only other thing is as suggested logging, packet traces, or maybe torch. It appears like the AndroidTV box gets an address, but something not happen to cause to be tracked as such. Certainly could be a bug, someplace, but only logs/traces help to know.
Really weird. Until device is power ON, it renew the lease automatically. Problem is when turn OFF, and after some time turn ON again. Then not get lease from DHCP automatically. Only way to back into online state is to unplug/plug the RJ45 connector from box.
Resolved this by replacing with another Android TV box with gigabyte LAN port. No issues so far with connection after wake up from sleap. All works smoothly.