I like looking at the log files to see what’s going on with the MT devices and there is a small annoyance.
There are a few devices on the network that frequently have their DHCP IP assignments assigned and deassigned.
I would rather not see that in the log.
I tried changing the DHCP assignments for those devices to STATIC but the assignments/deassignments are still logged.
Other than changing the devices to a permanently assigned IP (not desireable), is there any way to prevent this logging? Even if it is only for specific devices.
Here’s what I mean:
normis
April 6, 2023, 11:07am
2
When you convert this lease to Static, maybe set lease time to a very long time?
I tried that.
It seems the change to static makes it so that the same IP is assigned for that MAC address, but the assignments and deassignments still occur.
put the results of that on terminal:
/ip dhcp-server export
on forum remove only device serial number (no matter to hide devices MAC on leases) or the device name, if reveal some private name or surname.
also do on termial
/ip dhcp-server alert add disabled=no interface=<BRIDGE OR LAN NAME HERE>
and see the logs for see if another DHCP server interfere…
Here is output from “/ip dhcp-server export”
[admin@212Hex] > /ip dhcp-server export
apr/06/2023 07:44:57 by RouterOS 7.8
software id = C3RH-692B
model = RB750Gr3
serial number = xxxx
/ip dhcp-server
add address-pool=dhcp interface=bridge lease-time=4w2d name=defconf
/ip dhcp-server lease
add address=192.168.2.100 comment=“15 TV” mac-address=78:6A:1F:8D:F9:C8 server=defconf
add address=192.168.2.121 client-id=1:da:f3:68:be:3f:b comment=“Ipad SRN” mac-address=
DA:F3:68:BE:3F:0B server=defconf
add address=192.168.2.102 comment=STB mac-address=78:6A:1F:8D:FC:B4 server=defconf
add address=192.168.2.101 comment=STB mac-address=78:6A:1F:8D:FC:0F server=defconf
add address=192.168.2.103 comment=STB mac-address=A0:68:7E:4D:D0:4B server=defconf
add address=192.168.2.138 client-id=1:30:c9> > 17:71:59 comment=MFC-L3770CDW lease-time=
3d18h mac-address=30:C9:AB:17:71:59 server=defconf
add address=192.168.2.107 client-id=1:94:e7> > 29:30:e7 comment=“JRS Laptop ASUS”
mac-address=94:E7:0B:29:30:E7 server=defconf
add address=192.168.2.141 client-id=1:c2:5d:7f:1f:4c:f5 comment=“JRS iPhone”
mac-address=C2:5D:7F:1F:4C:F5 server=defconf
add address=192.168.2.106 client-id=1:18:fd:74:cf:7f:5c comment=RB5009 mac-address=
18:FD:74:CF:7F:5C server=defconf
add address=192.168.2.109 client-id=1:0:6b:9e:d1:24:f3 comment=“Vizio on 15”
mac-address=00:6B:9E:D1:24:F3 server=defconf
add address=192.168.2.147 comment=TV mac-address=3C:59:1E:F4:02:EF server=defconf
add address=192.168.2.122 client-id=1:d4:90:9c:d8:66:99 comment=Homepod mac-address=
D4:90:9C:D8:66:99 server=defconf
add address=192.168.2.191 comment=TV mac-address=3C:59:1E:F4:3C:CB server=defconf
add address=192.168.2.199 client-id=1:c8:63:f1:f1:9f:44 comment=Playstation mac-address=
C8:63:F1:F1:9F:44 server=defconf
add address=192.168.2.119 client-id=1:88:e9:fe:6e:97:9d comment=“Thomas MBP”
mac-address=88:E9:FE:6E:97:9D server=defconf
add address=192.168.2.128 comment=“MBR 65 TV” mac-address=34:51:80:C8:BB:2C server=
defconf
add address=192.168.2.200 client-id=1:0:4:20:f9:31:d2 comment=“Harmony Hub” lease-time=
3d18h mac-address=00:04:20:F9:31:D2 server=defconf
add address=192.168.2.114 client-id=1:46:b4:96:5e:1a:1b mac-address=46:B4:96:5E:1A:1B
server=defconf
add address=192.168.2.140 client-id=1:54:6c:eb:7b:a2:c3 comment=“THS Acer Laptop”
mac-address=54:6C:EB:7B:A2:C3 server=defconf
add address=192.168.2.142 client-id=1:4e:fe:92:a6:40:cd comment=“SRN Apple Watch”
mac-address=4E:FE:92:A6:40:CD server=defconf
/ip dhcp-server network
add address=192.168.2.0/24 comment=defconf dns-server=192.168.2.2 gateway=192.168.2.2
netmask=24
[admin@212Hex] >
I added “/ip dhcp-server alert add disabled=no interface=bridge” and am watching the log (nothing so far).
I do not see any wrong… ( but I suggest you a lease time of 1d 00:00:00 )
No DHCP server conflicts, but still happening:
Is like the timeout is 30s…
Try to downgrade to RouterOS 7.7 for see if still exist the problem
https://download.mikrotik.com/routeros/7.7/routeros-7.7-mipsbe.npk
After put inside the device the 7.7, on system packages select downgrade
Thanks, but haven't had time and don't want to risk messing anything up.
It's an easy to ignore problem.