Summary
MikroTik RouterOS implements RIP version 2 (RFC 2453). Version 1 (RFC 1058) is not supported.
RIP enables routers in an autonomous system to exchange routing information. It always uses the best path (the path with the fewest number of hops (i.e. routers)) available.
General
Sub-menu: /routing rip instance
Property | Description |
---|---|
name | name of the instance |
vrf ( Default: main) | which VRF to use |
afi (ipv4 | ipv6; Default: ) | specifies which afi to use. |
in-filter-chain (Default: ) | input filter chain |
out-filter-chain (Default: ) | output filter chain |
out-filter-select (Default: ) | output filter select rule chain |
redistribute (bgp, bgp-mpls-vpn, connected, dhcp, fantasy, modem, ospf, rip, static, vpn; Default: ) | which routes to redistribute |
originate-default ( Default:) | whether to originate default route |
routing-table ( Default: main) | in which routing table the routes will be added |
route-timeout (Default: ) | route timeout |
route-gc-timeout (Default: ) | |
update-interval (time; Default: ) | specifies time interval after which the route is considered invalid |
Note: The maximum metric of RIP route is 15. Metric higher than 15 is considered 'infinity' and routes with such metric are considered unreachable. Thus RIP cannot be used on networks with more than 15 hops between any two routers, and using redistribute metrics larger that 1 further reduces this maximum hop count.
Interface
Sub-menu: /routing rip interface
Property | Description |
---|---|
interface (string | all; Default: all) | interface on which RIP runs. If set to 'all' settings will be applied to all interfaces |
send (v1 | v1-2 | v2; Default: v2) | specifies RIP protocol update versions to distribute |
receive (v1 | v1-2 | v2; Default: v1-2) | specifies RIP protocol update versions the router will be able to receive |
passive (yes | no; Default: no) | if enabled, do not send routing packets via this interface, only receive |
authentication (none | simple | md5; Default: none) | specifies authentication method to use on RIP messages |
authentication-key (string; Default: "") | specifies authentication key |
key-chain (string; Default: "") | chain name for MD5 authentication passwords |
in-prefix-list (string; Default: "") | name of the filtering prefix list for received routes |
out-prefix-list (string; Default: "") | name of the filtering prefix list for advertised routes |
Keys
Sub-menu: /routing rip keys
MD5 authentication key chains.
Property | Description |
---|---|
chain (string; Default: "") | chain name to place this key in. If a chain with the specified name does not exist it will be automatically created |
key (string; Default: "") | authentication key. Maximal length 16 characters |
key-id (integer:0..255; Default: ) | key identifier. This number is included in MD5 authenticated RIP messages, and determines witch key to use to check authentication for a specific message. |
from-date (date; Default: tomorrow system date) | key is valid from this date |
from-time (time; Default: 00:00:00) | key is valid until this time in the specified date |
Network
Sub-menu: /routing rip network
To start the RIP protocol, you have to define the networks on which RIP will run.
Property | Description |
---|---|
network (IP prefix; Default: ) | the network prefix. RIP will be enabled on all interfaces that has at least one address falling within this range. Note that the network prefix of the address is used for this check (i.e. not the local address). For PtP interfaces this means the address of the remote endpoint. |
Neighbor
Sub-menu: /routing rip neighbor
This submenu is used to define a neighboring routers to exchange routing information with. Normally there is no need to add the neighbors, if multicasting is working properly within the network. If there are problems with exchanging routing information, neighbor routers can be added to the list. It will force the router to exchange the routing information with the neighbor using regular unicast packets.
Property | Description |
---|---|
address (IP address; Default: 0.0.0.0) | IP address of neighboring router |
Route
Sub-menu: /routing rip route
Read only properties:
Property | Description |
---|---|
dst-address (IP prefix) | destination network |
gateway (IP address) | last gateway on the route to destination |
metric (integer) | distance vector length to the destination network |
from (IP address) | specifies the IP address of the router from which the route was received |
timeout (time) | for valid RIP routes (metric < 16): time until the route will expire. For routes with metric 16: time until advertising of the route will be stopped |