Manual:Tools/RoMON: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
No edit summary
(Moved RoMON under tool menu after version 6.28)
Line 11: Line 11:
In order for device to participate in RoMON network RoMON feature must be enabled and ports that participate in RoMON network must be specified.
In order for device to participate in RoMON network RoMON feature must be enabled and ports that participate in RoMON network must be specified.


RoMON feature is configured in <b>/romon</b> menu. It contains the following settings:
RoMON feature is configured in <b>/romon</b> menu at version 6.28 and under <b>/tool romon</b> menu after version 6.28. It contains the following settings:
{{Mr-arg-table-h
{{Mr-arg-table-h
|prop=Property
|prop=Property
Line 33: Line 33:
When RoMON is enabled and ID is automatically selected, ID is reported in menu info:
When RoMON is enabled and ID is automatically selected, ID is reported in menu info:
<pre>
<pre>
Version 6.28:
[admin@R3] > romon print
[admin@R3] > romon print
      ;;; RoMON running, ID 00:33:00:00:00:02
  enabled: yes
      id: 00:00:00:00:00:00
After version 6.28:
[admin@R3] > tool romon print
       ;;; RoMON running, ID 00:33:00:00:00:02
       ;;; RoMON running, ID 00:33:00:00:00:02
   enabled: yes
   enabled: yes
Line 39: Line 48:
</pre>
</pre>


Ports that participate in RoMON network are configured in <b>/romon port</b> menu. Port list is ordered list of entries that match either specific port or all ports and specifies if matching port(s) is forbidden to participate in RoMON network and in case port is allowed to participate in RoMON network entry also specifies port cost. Note that all specific port entries must be placed above wildcard entry with <b>interface=all</b>.
Ports that participate in RoMON network are configured in <b>romon port</b> menu. Port list is ordered list of entries that match either specific port or all ports and specifies if matching port(s) is forbidden to participate in RoMON network and in case port is allowed to participate in RoMON network entry also specifies port cost. Note that all specific port entries must be placed above wildcard entry with <b>interface=all</b>.


For example, the following list specifies that all ports except <b>ether1</b> participate in RoMON network with cost 100:
For example, the following list specifies that all ports except <b>ether1</b> participate in RoMON network with cost 100:
<pre>
<pre>
[admin@R1] /romon port> print
Version 6.28:
 
[admin@R1] /romon port print
Flags: X - disabled, D - dynamic
#    INTERFACE                                                                FORBID      COST
0    ether1                                                                    yes          100
1    all                                                                      no            100
 
After version 6.28:
 
[admin@R1] /tool romon port print
Flags: X - disabled, D - dynamic  
Flags: X - disabled, D - dynamic  
  #    INTERFACE                                                                FORBID      COST
  #    INTERFACE                                                                FORBID      COST
Line 54: Line 73:
== Peer discovery ==
== Peer discovery ==


In order to discover all routers on RoMON network <b>/romon discover</b> command must be used:
In order to discover all routers on RoMON network <b>romon discover</b> command must be used:
 
<pre>
<pre>
[admin@R1] /romon> discover  
Version 6.28:
 
[admin@R1] romon discover
ADDRESS                COST      HOPS PATH                  L2MTU
00:22:00:00:00:02        200          1 00:22:00:00:00:02      1500
00:02:03:04:05:06        400          2 00:22:00:00:00:02      1500
                                        00:02:03:04:05:06
 
After version 6.28:
 
[admin@R1] tool romon discover  
ADDRESS                COST      HOPS PATH                  L2MTU
ADDRESS                COST      HOPS PATH                  L2MTU
00:22:00:00:00:02        200          1 00:22:00:00:00:02      1500
00:22:00:00:00:02        200          1 00:22:00:00:00:02      1500
Line 68: Line 98:


=== Ping ===
=== Ping ===
In order to test reachability of specific router on RoMON network <b>/romon ping</b> command can be used:
In order to test reachability of specific router on RoMON network <b>romon ping</b> command can be used:
 
<pre>
<pre>
[admin@R1] /romon> ping 00:22:00:00:00:02
Version 6.28:
 
[admin@R1] romon ping 00:22:00:00:00:02
  SEQ HOST                                    TIME  STATUS                                     
    0 00:22:00:00:00:02                      0ms                                               
    1 00:22:00:00:00:02                      1ms                                               
    2 00:22:00:00:00:02                      1ms                                               
    sent=3 received=3 packet-loss=0% min-rtt=0ms avg-rtt=0ms max-rtt=1ms
 
After version 6.28:
 
[admin@R1] tool romon ping 00:22:00:00:00:02
   SEQ HOST                                    TIME  STATUS                                       
   SEQ HOST                                    TIME  STATUS                                       
     0 00:22:00:00:00:02                      0ms                                                 
     0 00:22:00:00:00:02                      0ms                                                 
Line 79: Line 121:


=== SSH ===
=== SSH ===
In order to establish secure terminal connection to router on RoMON network <b>/romon ssh</b> command can be used, provided that <b>security</b> package is installed:
In order to establish secure terminal connection to router on RoMON network <b>romon ssh</b> command can be used, provided that <b>security</b> package is installed:
<pre>
<pre>
[admin@R1] /romon> ssh 00:22:00:00:00:02   
Version 6.28:
 
[admin@R1] romon ssh 00:22:00:00:00:02 
 
After version 6.28:
 
[admin@R1] tool romon ssh 00:22:00:00:00:02   
 
</pre>
</pre>

Revision as of 06:42, 21 April 2015

Overview

This page contains information about RoMON feature in RouterOS. RoMON stands for "Router Management Overlay Network". RoMON works by establishing independent MAC layer peer discovery and data forwarding network. RoMON network operates independently from L2 or L3 forwarding configuration.

Each router on RoMON network is assigned its RoMON ID. RoMON ID can be selected from port MAC address or specified by user.

Configuration

In order for device to participate in RoMON network RoMON feature must be enabled and ports that participate in RoMON network must be specified.

RoMON feature is configured in /romon menu at version 6.28 and under /tool romon menu after version 6.28. It contains the following settings:

Property Description
enabled (yes | no; Default: no) Disable or enable RoMON feature
id (MAC address; Default: 00:00:00:00:00:00) MAC address to use as ID of this router

When RoMON is enabled and ID is automatically selected, ID is reported in menu info:

Version 6.28:

[admin@R3] > romon print
       ;;; RoMON running, ID 00:33:00:00:00:02
  enabled: yes
       id: 00:00:00:00:00:00

After version 6.28:

[admin@R3] > tool romon print
       ;;; RoMON running, ID 00:33:00:00:00:02
  enabled: yes
       id: 00:00:00:00:00:00

Ports that participate in RoMON network are configured in romon port menu. Port list is ordered list of entries that match either specific port or all ports and specifies if matching port(s) is forbidden to participate in RoMON network and in case port is allowed to participate in RoMON network entry also specifies port cost. Note that all specific port entries must be placed above wildcard entry with interface=all.

For example, the following list specifies that all ports except ether1 participate in RoMON network with cost 100:

Version 6.28:

[admin@R1] /romon port print
Flags: X - disabled, D - dynamic 
 #    INTERFACE                                                                 FORBID       COST
 0    ether1                                                                    yes           100
 1    all                                                                       no            100

After version 6.28:

[admin@R1] /tool romon port print
Flags: X - disabled, D - dynamic 
 #    INTERFACE                                                                 FORBID       COST
 0    ether1                                                                    yes           100
 1    all                                                                       no            100

By default one wildcard entry with forbid=no and cost=100 is created.

Peer discovery

In order to discover all routers on RoMON network romon discover command must be used:

Version 6.28:

[admin@R1] romon discover 
ADDRESS                 COST       HOPS PATH                   L2MTU
00:22:00:00:00:02        200          1 00:22:00:00:00:02       1500
00:02:03:04:05:06        400          2 00:22:00:00:00:02       1500
                                        00:02:03:04:05:06

After version 6.28:

[admin@R1] tool romon discover 
ADDRESS                 COST       HOPS PATH                   L2MTU
00:22:00:00:00:02        200          1 00:22:00:00:00:02       1500
00:02:03:04:05:06        400          2 00:22:00:00:00:02       1500
                                        00:02:03:04:05:06

Applications

Multiple applications can be run over RoMON network.

Ping

In order to test reachability of specific router on RoMON network romon ping command can be used:

Version 6.28:

[admin@R1] romon ping 00:22:00:00:00:02
  SEQ HOST                                    TIME  STATUS                                       
    0 00:22:00:00:00:02                       0ms                                                
    1 00:22:00:00:00:02                       1ms                                                
    2 00:22:00:00:00:02                       1ms                                                
    sent=3 received=3 packet-loss=0% min-rtt=0ms avg-rtt=0ms max-rtt=1ms 

After version 6.28:

[admin@R1] tool romon ping 00:22:00:00:00:02
  SEQ HOST                                    TIME  STATUS                                       
    0 00:22:00:00:00:02                       0ms                                                
    1 00:22:00:00:00:02                       1ms                                                
    2 00:22:00:00:00:02                       1ms                                                
    sent=3 received=3 packet-loss=0% min-rtt=0ms avg-rtt=0ms max-rtt=1ms 

SSH

In order to establish secure terminal connection to router on RoMON network romon ssh command can be used, provided that security package is installed:

Version 6.28:

[admin@R1] romon ssh 00:22:00:00:00:02  

After version 6.28:

[admin@R1] tool romon ssh 00:22:00:00:00:02