I have a RB5009 setup as my main router with a DHCP server enabled. The lease time is set to 3 days. I have ethernet ports 1-8 bridged and my SFP+ port is used as my WAN connection to my ISP. I turned my old asus router into an access point for now and turned off DHCP server and router functions. This serves as my wireless access to my laptop, desktops, IOT devices, etc.
Almost all devices connect wirelessly without a problem. I have a device such as my controller to a sprinkler system that connects over wifi. I see the DHCP server lease an IP address to my controller but it does not last for more than 2 minutes. My log shows the device gets assigned an IP and then de-assigned less than a minute or two. Once de-assigned, its gets reassigned immediately. I initially thought it was isolated to one device, but now I see (2) thermostats that show the same pattern. Any thoughts?
Log from sprinkler controller:
Thermostat:
Almost all devices connect wirelessly without a problem. I have a device such as my controller to a sprinkler system that connects over wifi. I see the DHCP server lease an IP address to my controller but it does not last for more than 2 minutes. My log shows the device gets assigned an IP and then de-assigned less than a minute or two. Once de-assigned, its gets reassigned immediately. I initially thought it was isolated to one device, but now I see (2) thermostats that show the same pattern. Any thoughts?
Log from sprinkler controller:
Thermostat:
Code:
# 2024-01-29 22:24:00 by RouterOS 7.13# software id = CYUY-IY5X## model = RB5009UPr+S+# serial number = XXXXXXX/interface bridgeadd name=local/interface wireguardadd listen-port=13231 mtu=1420 name=wireguard1/interface listadd name=WANadd name=LAN/ip pooladd name=dhcp ranges=192.168.0.100-192.168.0.254/ip dhcp-serveradd address-pool=dhcp interface=local lease-time=3d name=dhcp1/interface bridge portadd bridge=local interface=ether1add bridge=local interface=ether2add bridge=local interface=ether3add bridge=local interface=ether4add bridge=local interface=ether5add bridge=local interface=ether6add bridge=local interface=ether7add bridge=local interface=ether8/ip neighbor discovery-settingsset discover-interface-list=none/interface list memberadd interface=sfp-sfpplus1 list=WANadd interface=wireguard1 list=LANadd interface=local list=LAN/interface wireguard peersadd allowed-address=192.168.100.2/32 interface=wireguard1 public-key="XXXXXXXXXXXXXXXXXXXXXXXXX1="add allowed-address=192.168.100.3/32 interface=wireguard1 public-key="XXXXXXXXXXXXXXXXXXXXXXXxX2="/ip addressadd address=192.168.0.1/24 interface=local network=192.168.0.0add address=192.168.100.1/24 interface=wireguard1 network=192.168.100.0/ip cloudset update-time=no/ip dhcp-clientadd interface=sfp-sfpplus1/ip dhcp-server lease/ip dhcp-server networkadd address=192.168.0.0/24 dns-server=198.168.0.1,1.1.1.1,8.8.8.8,8.8.8.4 gateway=192.168.0.1/ip firewall filteradd action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untrackedadd action=drop chain=input comment="defconf: drop invalid" connection-state=invalidadd action=accept chain=input comment="defconf: accept ICMP" disabled=yes log=yes protocol=icmpadd action=accept chain=input comment="defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1add action=accept chain=input comment="WG handshake" dst-port=13231 log=yes protocol=udpadd action=accept chain=input in-interface-list=LANadd action=drop chain=input comment="drop all else"add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related hw-offload=yesadd action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untrackedadd action=drop chain=forward comment="defconf: drop invalid" connection-state=invalidadd action=accept chain=forward comment="internet traffic" in-interface-list=LAN out-interface-list=WANadd action=accept chain=forward comment="Remote to LAN" in-interface=wireguard1 out-interface-list=LANadd action=accept chain=forward comment="port forwarding" connection-nat-state=dstnat disabled=yesadd action=drop chain=forward comment="drop all else"/ip firewall natadd action=masquerade chain=srcnat comment="defconf: masquerade" out-interface-list=WAN/ip serviceset telnet disabled=yesset ftp disabled=yesset www address=192.168.0.0/24,192.168.100.0/24set ssh disabled=yesset api disabled=yesset winbox address=192.168.0.0/24set api-ssl disabled=yes/ip sshset strong-crypto=yes/system clockset time-zone-name=America/Chicago/system noteset show-at-login=no/tool bandwidth-serverset enabled=no/tool mac-serverset allowed-interface-list=none/tool mac-server mac-winboxset allowed-interface-list=none/tool mac-server pingset enabled=no/user settingsset minimum-password-length=8
Statistics: Posted by rlm — Tue Jan 30, 2024 6:27 am