Hello,
Im having issues with DHCP server operation on Mikrotik RB750Gr3, ROs v7.4. Configuration is completely stock default, fresh after reset. I have a Tp-Link EAP 225 connected to the router to provide wifi connectivity. All of the linux devices (desktop, couple of raspberry pi's) connected both via ethernet and wifi receive correct IP addresses from the pool and work fine. The issues are with both Windows and Android devices. Some of them work fine, and some get wrong IP addresses for some reason and are unable to connect to the internet. DHCP is set to take ips from the 192.168.88.x pool while the affected devices get for example 192.168.1.167 address and 192.168.1.1 gateway so are unable to connect. Here is log from my phone DHCP session:
13:19:04 dhcp,debug defconf received discover id 916208558 from 0.0.0.0 '1:ac:xx:xx:xx:xx:xx'
13:19:04 dhcp,debug,packet ciaddr = 0.0.0.0
13:19:04 dhcp,debug,packet chaddr = AC:xx:xx:xx:xx:x
13:19:04 dhcp,debug,packet Msg-Type = discover
13:19:04 dhcp,debug,packet Parameter-List = Subnet-Mask,Router,Domain-Server,Domain-Name,Interface-MTU,Broadcast-Address,Address-Time,Renewal-Time,Rebinding-Time,Vendor-Specific
13:19:04 dhcp,debug,packet Max-DHCP-Message-Size = 1500
13:19:04 dhcp,debug,packet Class-Id = "android-dhcp-10"
13:19:04 dhcp,debug,packet Client-Id = 01-AC-xx-xx-xx-xx-x
13:19:04 dhcp,debug lease not found, new lease, acquire
13:19:04 dhcp,debug ping 192.168.88.14
13:19:04 dhcp,debug defconf received request id 916208558 from 0.0.0.0 '1:ac:xx:xx:xx:xx:xx'
13:19:04 dhcp,debug,packet ciaddr = 0.0.0.0
13:19:04 dhcp,debug,packet chaddr = AC:xx:xx:xx:xx:xx
13:19:04 dhcp,debug,packet Address-Request = 192.168.1.165
13:19:04 dhcp,debug,packet Msg-Type = request
13:19:04 dhcp,debug,packet Server-Id = 192.168.1.1
13:19:04 dhcp,debug,packet Parameter-List = Subnet-Mask,Router,Domain-Server,Domain-Name,Interface-MTU,Broadcast-Address,Address-Time,Renewal-Time,Rebinding-Time,Vendor-Specific
13:19:04 dhcp,debug,packet Max-DHCP-Message-Size = 1500
13:19:04 dhcp,debug,packet Class-Id = "android-dhcp-10"
13:19:04 dhcp,debug,packet Client-Id = 01-AC-xx-xx-xx-xx-xx
13:19:04 dhcp,debug lease unexpected state 1
13:19:04 dhcp,debug ping done 192.168.88.14
13:19:04 dhcp,debug defconf sending offer with id 916208558 to 192.168.88.14
13:19:04 dhcp,debug,packet ciaddr = 0.0.0.0
13:19:04 dhcp,debug,packet yiaddr = 192.168.88.14
13:19:04 dhcp,debug,packet siaddr = 192.168.88.1
13:19:04 dhcp,debug,packet chaddr = AC:xx:xx:xx:xx:xx
13:19:04 dhcp,debug,packet Subnet-Mask = 255.255.255.0
13:19:04 dhcp,debug,packet Router = 192.168.88.1
13:19:04 dhcp,debug,packet Domain-Server = 192.168.88.1
13:19:04 dhcp,debug,packet Address-Time = 600
13:19:04 dhcp,debug,packet Msg-Type = offer
13:19:04 dhcp,debug,packet Server-Id = 192.168.88.1
13:19:34 dhcp,debug lease 192.168.88.14 expired
What could be wrong? I'm a beginner so I'm out of ideas. The only suspicious thing I can see in the logs is this line:
13:19:04 dhcp,debug,packet Address-Request = 192.168.1.165
Why the devices actually requests such IP and why it gets it if its outside of the configured pool?
Thanks for help!