Community discussions

MikroTik App
 
snoopy86
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Sat Sep 14, 2013 10:46 pm

Copy comments from leases to ARP

Fri Jan 17, 2025 2:14 pm

Hi, does anyone have a script or know about some action to sync the comment set on DHCP static leases to ARP? I would not like to do it manually because it's error-prone.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10570
Joined: Mon Jun 08, 2015 12:09 pm

Re: Copy comments from leases to ARP

Fri Jan 17, 2025 4:15 pm

You can only set comments on static entries.
So that presumes you have entered those ARP entries manually.
Having them set by the DHCP server ("add ARP for leases") does not count, because then the ARP entries are still considered Dynamic even when the lease is static.