I have a CRS125 switch running RouterOS with two IP addresses configured on different interfaces:
# ADDRESS NETWORK INTERFACE VRF
;;; Gateway Smart Meter
0 S 192.168.1.1/24 192.168.1.0 ether15[ppc smart-meter] main
1 D 10.10.10.19/25 10.10.10.0 main-bridge main
The 192.168.1.1 address is required for a hardcoded smart meter gateway that cannot be reconfigured. The 10.10.10.19 address on main-bridge is my actual management IP for the switch.
When viewing this switch in Winbox's Neighbors tab (MNDP/LLDP discovery), it displays 192.168.1.1 instead of the management IP 10.10.10.19. According to the documentation, neighbor discovery shows "the highest IP address configured on a discovered device", which in this case is 192.168.1.1 (numerically higher than 10.10.10.19).
What I've tried
- Setting
discover-interface-list- this only controls which interfaces send/receive discovery packets, not which IPs are advertised - All IP addresses on the device are always advertised regardless of interface configuration
Feature Request
Could MikroTik add a configuration option to specify which IP address should be preferred/displayed in neighbor discovery?
- A "management-ip" setting that overrides the "highest IP" default behavior
- Ability to exclude specific interfaces' IP addresses from neighbor advertisements
- Priority/weight system for IP addresses in discovery protocol
This is relevant for any multi-homed RouterOS device where the management interface isn't the numerically highest IP address, particularly when dealing with legacy equipment or fixed IP requirements on secondary networks.
Thank you for considering this enhancement.