DHCP Client Status Error / double NAT packet loss

My ISP replaced my modem and the new one isn’t in bridge mode. I’m trying to have them configure it in bridge mode, but I need to wait apparently.

In the mean time, the Mikrotik DHCP client shows Status = Error, and even though there’s internet access, it seems to check something every 15 seconds, then it refreshes and reports Error again.

The problem is, every 15 seconds when it does that, I lose the connection and experience packet loss.

Any ideas how I can fix it, temporarily at least?

Here’s the log:

 12:45:03 dhcp,debug,state dhcp-client on ether1 entering <error> state
 12:45:18 dhcp,debug,state dhcp-client on ether1 entering <selecting...> state
 12:45:18 dhcp,debug,packet dhcp-client on ether1 sending discover with id 1800463457 to 255.255.255.255
 12:45:18 dhcp,debug,packet     flags = broadcast
 12:45:18 dhcp,debug,packet     ciaddr = 0.0.0.0
 12:45:18 dhcp,debug,packet     chaddr = DC:2C:6E:7B:00:00
 12:45:18 dhcp,debug,packet     Host-Name = "MikroTik"
 12:45:18 dhcp,debug,packet     Msg-Type = discover
 12:45:18 dhcp,debug,packet     Parameter-List = Subnet-Mask,Classless-Route,Router,Static-Route,Domain-Server,NTP-Server,CAPWAP-Server,Vendor-Specific
 12:45:18 dhcp,debug,packet     Client-Id = 01-DC-2C-6E-7B-00-00
 12:45:18 dhcp,debug,packet dhcp-client on ether1 received offer with id 1800463457 from 192.168.1.1
 12:45:18 dhcp,debug,packet     flags = broadcast
 12:45:18 dhcp,debug,packet     ciaddr = 0.0.0.0
 12:45:18 dhcp,debug,packet     yiaddr = 192.168.1.2
 12:45:18 dhcp,debug,packet     chaddr = DC:2C:6E:7B:00:00
 12:45:18 dhcp,debug,packet     Subnet-Mask = 255.255.255.0
 12:45:18 dhcp,debug,packet     Router = 192.168.1.1
 12:45:18 dhcp,debug,packet     Domain-Server = 121.54.70.141,121.54.70.132
 12:45:18 dhcp,debug,packet     Address-Time = 86400
 12:45:18 dhcp,debug,packet     Msg-Type = offer
 12:45:18 dhcp,debug,packet     Server-Id = 192.168.1.1
 12:45:18 dhcp,debug,packet     Unknown(125) = 00-00-0D-E9-1D-04-06-35-30-34-32-38-39-05-0C-5A-54-45-47-44-36-44-41-45-37-43-42-06-05-46-36-37-30-4C
 12:45:18 dhcp,debug,state dhcp-client on ether1 entering <requesting...> state
 12:45:18 dhcp,debug,packet dhcp-client on ether1 sending request with id 1800463457 to 255.255.255.255
 12:45:18 dhcp,debug,packet     flags = broadcast
 12:45:18 dhcp,debug,packet     ciaddr = 0.0.0.0
 12:45:18 dhcp,debug,packet     chaddr = DC:2C:6E:7B:00:00
 12:45:18 dhcp,debug,packet     Host-Name = "MikroTik"
 12:45:18 dhcp,debug,packet     Address-Request = 192.168.1.2
 12:45:18 dhcp,debug,packet     Msg-Type = request
 12:45:18 dhcp,debug,packet     Server-Id = 192.168.1.1
 12:45:18 dhcp,debug,packet     Parameter-List = Subnet-Mask,Classless-Route,Router,Static-Route,Domain-Server,NTP-Server,CAPWAP-Server,Vendor-Specific
 12:45:18 dhcp,debug,packet     Client-Id = 01-DC-2C-6E-7B-00-00
 12:45:18 dhcp,debug,packet dhcp-client on ether1 received ack with id 1800463457 from 192.168.1.1
 12:45:18 dhcp,debug,packet     flags = broadcast
 12:45:18 dhcp,debug,packet     ciaddr = 0.0.0.0
 12:45:18 dhcp,debug,packet     yiaddr = 192.168.1.2
 12:45:18 dhcp,debug,packet     chaddr = DC:2C:6E:7B:00:00
 12:45:18 dhcp,debug,packet     Subnet-Mask = 255.255.255.0
 12:45:18 dhcp,debug,packet     Router = 192.168.1.1
 12:45:18 dhcp,debug,packet     Domain-Server = 121.54.70.141,121.54.70.132
 12:45:18 dhcp,debug,packet     Address-Time = 86400
 12:45:18 dhcp,debug,packet     Msg-Type = ack
 12:45:18 dhcp,debug,packet     Server-Id = 192.168.1.1
 12:45:18 dhcp,debug,packet     Unknown(125) = 00-00-0D-E9-1D-04-06-35-30-34-32-38-39-05-0C-5A-54-45-47-44-36-44-41-45-37-43-42-06-05-46-36-37-30-4C
 12:45:18 dhcp,debug,state dhcp-client on ether1 entering <error> state

Edit: I resolved this error state. I had a static address of 192.168.1.2 configured to access the 192.168.1.0 network the modem is on, and it was conflicting with the DHCP address. I changed the static address to 192.168.1.99, and it seems to be ok now.

Hi
RBD52G-5HacD2HnD
Installed Version 7.16.1

My ISP gives me a white IP = 1.1.1.5
Its DHCP = 1.1.1.2
And Gateway = 1.1.1.1
Broadcast-Address = 1.1.1.255
Domain-Server = 1.1.1.3,1.1.1.4

On my mikrotik:
DHCP Client (ether1) - Add Default Route = Enable

At this point, packets are lost
Response from 2.2.2.2: bytes=32 time=10ms TTL=55
Response from 2.2.2.2: bytes=32 time=8ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=10ms TTL=55
Response from 2.2.2.2: bytes=32 time=10ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=10ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=8ms TTL=55
Response from 2.2.2.2: bytes=32 time=8ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=10ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Request timed out.
Reply from 2.2.2.2: bytes=32 time=9ms TTL=55
Reply from 2.2.2.2: bytes=32 time=10ms TTL=55
Reply from 2.2.2.2: bytes=32 time=8ms TTL=55
Reply from 2.2.2.2: bytes=32 time=8ms TTL=55
Reply from 2.2.2.2: bytes=32 time=9ms TTL=55
Reply from 2.2.2.2: bytes=32 time=8ms TTL=55
Reply from 2.2.2.2: bytes=32 time=9ms TTL=55
Reply from 2.2.2.2: bytes=32 time=9ms TTL=55
Reply from 2.2.2.2: bytes=32 time=9ms TTL=55
Reply from 2.2.2.2: bytes=32 time=9ms TTL=55
Reply from 2.2.2.2: bytes=32 time=9ms TTL=55
Reply from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: number of bytes=32 time=9ms TTL=55
Response from 2.2.2.2: number of bytes=32 time=8ms TTL=55
Response from 192.168.100.1: The specified network is unavailable.
Response from 2.2.2.2: bytes=32 time=12ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=14ms TTL=55
Response from 2.2.2.2: bytes=32 time=8ms TTL=55
Response from 2.2.2.2: bytes=32 time=10ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=10ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=12ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Response from 2.2.2.2: bytes=32 time=9ms TTL=55
Request timed out.
Reply from 2.2.2.2: number of bytes=32 time=13ms TTL=55
Reply from 2.2.2.2: number of bytes=32 time=9ms TTL=55
Reply from 2.2.2.2: number of bytes=32 time=9ms TTL=55

and disappears for a moment and reappears routing:
0.0.0.0/0 - 1.1.1.1

Log Mikrotik

Time Buffer Topics Message

949 2024-11-02 23:03:38 memory dhcp, debug, state dhcp-client on ether1 entering <selecting…> state
950 2024-11-02 23:03:38 memory dhcp, debug, packet dhcp-client on ether1 sending discover with id 3234476014 to 255.255.255.255
951 2024-11-02 23:03:38 memory dhcp, debug, packet flags = broadcast
952 2024-11-02 23:03:38 memory dhcp, debug, packet ciaddr = 0.0.0.0
953 2024-11-02 23:03:38 memory dhcp, debug, packet chaddr = 4C:5E:0C:23:3B:88
954 2024-11-02 23:03:38 memory dhcp, debug, packet Host-Name = “RouterOS”
955 2024-11-02 23:03:38 memory dhcp, debug, packet Msg-Type = discover
956 2024-11-02 23:03:38 memory dhcp, debug, packet Parameter-List = Subnet-Mask,Classless-Route,Router,Static-Route,Domain-Server,NTP-Server,CAPWAP-Server,Vendor-Specific
957 2024-11-02 23:03:38 memory dhcp, debug, packet Client-Id = 01-4C-5E-0C-23-3B-88
958 2024-11-02 23:03:38 memory dhcp, debug, packet dhcp-client on ether1 received offer with id 3234476014 from 1.1.1.2
959 2024-11-02 23:03:38 memory dhcp, debug, packet flags = broadcast
960 2024-11-02 23:03:38 memory dhcp, debug, packet ciaddr = 0.0.0.0
961 2024-11-02 23:03:38 memory dhcp, debug, packet yiaddr = 1.1.1.5
962 2024-11-02 23:03:38 memory dhcp, debug, packet siaddr = 1.1.1.2
963 2024-11-02 23:03:38 memory dhcp, debug, packet chaddr = 4C:5E:0C:23:3B:88
964 2024-11-02 23:03:38 memory dhcp, debug, packet Subnet-Mask = 255.255.255.0
965 2024-11-02 23:03:38 memory dhcp, debug, packet Router = 1.1.1.1
966 2024-11-02 23:03:38 memory dhcp, debug, packet Domain-Server = 1.1.1.3,1.1.1.4
967 2024-11-02 23:03:38 memory dhcp, debug, packet Host-Name = “RouterOS”
968 2024-11-02 23:03:38 memory dhcp, debug, packet Broadcast-Address = 1.1.1.255
969 2024-11-02 23:03:38 memory dhcp, debug, packet Address-Time = 3600
970 2024-11-02 23:03:38 memory dhcp, debug, packet Msg-Type = offer
971 2024-11-02 23:03:38 memory dhcp, debug, packet Server-Id = 1.1.1.2
972 2024-11-02 23:03:38 memory dhcp, debug, packet Client-Id = 01-4C-5E-0C-23-3B-88
973 2024-11-02 23:03:38 memory dhcp, debug, state dhcp-client on ether1 entering <requesting…> state
974 2024-11-02 23:03:38 memory dhcp, debug, packet dhcp-client on ether1 sending request with id 3234476014 to 255.255.255.255
975 2024-11-02 23:03:38 memory dhcp, debug, packet flags = broadcast
976 2024-11-02 23:03:38 memory dhcp, debug, packet ciaddr = 0.0.0.0
977 2024-11-02 23:03:38 memory dhcp, debug, packet chaddr = 4C:5E:0C:23:3B:88
978 2024-11-02 23:03:38 memory dhcp, debug, packet Host-Name = “RouterOS”
979 2024-11-02 23:03:38 memory dhcp, debug, packet Address-Request = 1.1.1.5
980 2024-11-02 23:03:38 memory dhcp, debug, packet Msg-Type = request
981 2024-11-02 23:03:38 memory dhcp, debug, packet Server-Id = 1.1.1.2
982 2024-11-02 23:03:38 memory dhcp, debug, packet Parameter-List = Subnet-Mask,Classless-Route,Router,Static-Route,Domain-Server,NTP-Server,CAPWAP-Server,Vendor-Specific
983 2024-11-02 23:03:38 memory dhcp, debug, packet Client-Id = 01-4C-5E-0C-23-3B-88
984 2024-11-02 23:03:38 memory dhcp, debug, packet dhcp-client on ether1 received ack with id 3234476014 from 1.1.1.2
985 2024-11-02 23:03:38 memory dhcp, debug, packet flags = broadcast
986 2024-11-02 23:03:38 memory dhcp, debug, packet ciaddr = 0.0.0.0
987 2024-11-02 23:03:38 memory dhcp, debug, packet yiaddr = 1.1.1.5
988 2024-11-02 23:03:38 memory dhcp, debug, packet siaddr = 1.1.1.2
989 2024-11-02 23:03:38 memory dhcp, debug, packet chaddr = 4C:5E:0C:23:3B:88
990 2024-11-02 23:03:38 memory dhcp, debug, packet Subnet-Mask = 255.255.255.0
991 2024-11-02 23:03:38 memory dhcp, debug, packet Router = 1.1.1.1
992 2024-11-02 23:03:38 memory dhcp, debug, packet Domain-Server = 1.1.1.3,1.1.1.4
993 2024-11-02 23:03:38 memory dhcp, debug, packet Host-Name = “RouterOS”
994 2024-11-02 23:03:38 memory dhcp, debug, packet Broadcast-Address = 1.1.1.255
995 2024-11-02 23:03:38 memory dhcp, debug, packet Address-Time = 3600
996 2024-11-02 23:03:38 memory dhcp, debug, packet Msg-Type = ack
997 2024-11-02 23:03:38 memory dhcp, debug, packet Server-Id = 1.1.1.2
998 2024-11-02 23:03:38 memory dhcp, debug, packet Client-Id = 01-4C-5E-0C-23-3B-88
999 2024-11-02 23:03:38 memory dhcp, debug, state dhcp-client on ether1 entering state

Solved.
Disabled manual assignment of IP address to ether1 in “Addresses”