MikroTik Neighbor Discovery Protocol (MNDP)
Document revision 1.6 (23-May-2003)
This document applies to the MikroTik RouterOS v2.7
The MikroTik Neighbor Discovery Protocol (MNDP) eases network configuration
and management by enabling each MikroTik router to discover other connected
MikroTik routers and learn information about the system along with features
which are enabled. The MikroTik routers can then automatically use learned
information to set up some features with minimal or no configuration.
MNDP features:
- works on IP level connections
- works on all non-dynamic interfaces
- distributes basic information on the software version
- distributes information on configured features that should interoperate with other MikroTik routers
MikroTik RouterOS is able to discover both MNDP and CDP (Cisco Discovery
Protocol) devices.
Packages required : system
License required : Any
Home menu level : /ip neighbour
Standards and Technologies : MNDP
Hardware usage : not significant
Software Package Installation and Upgrading
M3P (MikroTik Packet Packer Protocol)
MNDP basic function is to assist with automatic configuration of features
that are only available between MikroTik routers. Currently this is used
for the 'Packet Packer' feature. The 'Packet Packer' may be enabled on a per interface basis.
The MNDP protocol will then keep information about what routers have enabled
the 'unpack' feature and the 'Packet Packer' will be used for traffic between these routers.
Specific Properties:
- works on interfaces that support IP protocol and have at least one IP address
and on all ethernet-like interfaces even without IP addresses
- is enabled by default for all new Ethernet-like interfaces -- Ethernet,
wireless, EoIP, IPIP tunnels, PPTP-static-server
- when older version on the RouterOS are upgraded from a version without
discovery to a version with discovery, current Ethernet like interfaces will
not be automatically enabled for MNDP
- uses UDP protocol port 5678
- an UDP packet with router info is broadcasted over the interface every 60 seconds
- every 30 seconds, the router checks if some of the neighbor entries are not stale
- if no info is received from a neighbor for more than 180 seconds the neighbor
information is discarded
Submenu level : /ip neighbor discovery
name (read-only: name)- interface name for reference
discover (yes | no; default: yes) - defines if discover is enabled or disabled
To disable MNDP protocol on Public interface:
[admin@MikroTik] ip neighbor discovery> set Public discover=no
[admin@MikroTik] ip neighbor discovery> print
# NAME DISCOVER
0 Public no
1 Local yes
Submenu level : /ip neighbor
interface (read-only: name) - local interface the neighbor is connected to
address (read-only: address) - IP address of the neighbor router
mac-address (read-only: mac-address) - MAC-address of the neighbor router
identity (read-only: string) - identity of the neighbour router
version (read-only: string) - router version of the neighbour router
unpack (read-only: none | simple | compress-headers | compress-all) - identifies if the interface
of the neighbour router is unpacking 'Packed Packets'
To view the table of discovered neighbours:
[admin@MikroTik] ip neighbor> print
# INTERFACE ADDRESS MAC-ADDRESS IDENTITY VERSION
0 eth100... 10.5.2.100 00:04:EA:C6:0E:6F HP_10.5... Revisio...
1 jevg_v... 10.5.1.1 00:40:96:58:20:14 0040965... Cisco 3...
2 local_... 10.5.5.50 00:40:63:C1:23:C4 10.5.7.1 2.7rc4
3 local_... 10.5.5.51 00:E0:C5:6E:23:25 GW_10.5... 2.7rc4
[admin@MikroTik] ip neighbor> print detail
0 interface=eth100-temp address=10.5.2.100 mac-address=00:04:EA:C6:0E:6F
identity="HP_10.5.2.100 Basement(0004ea-c60e40)" platform="HP 2524"
version="Revision F.02.11 /sw/code/build/info(f00)" unpack=none age=12s
1 interface=jevg_vlan2 address=10.5.1.1 mac-address=00:40:96:58:20:14
identity="004096582014platform="AIR-BR350"
version="Cisco 350 Series Bridge 11.21" unpack=none age=34s
2 interface=local_vlan5 address=10.5.5.50 mac-address=00:40:63:C1:23:C4
identity="10.5.7.1" platform="MikroTik" version="2.7rc4" unpack=none
age=48s
3 interface=local_vlan5 address=10.5.5.51 mac-address=00:E0:C5:6E:23:25
identity="GW_10.5.51.1" platform="MikroTik" version="2.7rc4" unpack=none
age=45s
[admin@MikroTik] ip neighbor>
As you can see, not only MikroTik RouterOS routers were discovered, but HP
Procurve 2524 switch and Cisco 350 Series Wireless Bridge
© Copyright 1999-2003, MikroTik