Author Topic: [Classic REXX] Network Map  (Read 12819 times)

Remy

  • Hero Member
  • *****
  • Posts: 878
  • Karma: +14/-1
    • View Profile
Re: [Classic REXX] Network Map
« Reply #45 on: April 03, 2025, 12:35:02 am »
Update:  Added interface number on Domain folder. Updated missing domain procedure to identify any @ip missing domain name and not only UC/GW
(e.g. in case of multiple up interfaces - 2 lan or lan + wan with registered entries into arp table)

Network devices are listed under the corresponding Domain [interface number] folder 

note: not having multiple interfaces, I added needed code (which should work) but couldn't test this specific part results   

« Last Edit: April 03, 2025, 10:09:57 pm by Remy »

Remy

  • Hero Member
  • *****
  • Posts: 878
  • Karma: +14/-1
    • View Profile
Re: [Classic REXX] Network Map
« Reply #46 on: April 10, 2025, 01:03:17 am »
Updated.
note: If a host is unplugged and no more referenced into arp, it status goes removed.
          Using refresh (not ARP -F) once this host is plugged in again, using same @ip as before, the corresponding icon status changes again

note: Using previous macaddr without interface number, a first ARP-F should be run or erase existing *.cfg if available.

File removed...
« Last Edit: April 10, 2025, 02:25:10 pm by Remy »

Remy

  • Hero Member
  • *****
  • Posts: 878
  • Karma: +14/-1
    • View Profile
Re: [Classic REXX] Network Map
« Reply #47 on: April 10, 2025, 02:35:29 pm »
I apology, I left a typo into my latest posted macaddr.cmd (zip) file resulting into corrupted cfg file when using flush

macaddr corrected using my latest modification which includes a retention delay for any removed host. Once the delay is passed, the WPS object of the removed host is deleted but the cfg file already has its entry to allow adding it again as it was (if same ip) when inserted again.
cfg file has a date value out of date(B) value on first position

Note: to check how it works, run one time the refresh with your existing cfg file. This one will be updated with current date each time you run the refresh
reduce the day valu by more than 7 days on offline (removed) host and run refresh again to see how it works. Then, you can set date value again to the latest value and run refresh again.     
 
( by default, I set the retention delay to 7 days and you can change it to any value [ see the corresponding entry into macaddr.cmd ] )