Table of Contents |
---|
Summary
MikroTik RouterOS implements RIP version 2 (RFC 2453). Version 1 (RFC 1058) (is not supported.
in RouterOS version 7.x) and Version 2 (RFC 2453). 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 | ||
---|---|---|---|
distribute-default (always | if-installed | never; Default: never) | specifies how to distribute default route. | ||
redistribute-static (yes | no; Default: no) | if enabled, redistribute static routes to neighbor routers | ||
redistribute-connected (yes | no; Default: no) | if enabled, redistribute connected routes to neighbor routers | ||
redistribute-ospf (yes | no; Default: no) | if enabled, redistribute OSPF routes to neighbor routers | ||
redistribute-bgp (yes | no; Default: no) | if enabled, redistribute BGP routes to neighbor routers | ||
metric-default (integer; Default: 1) | specifies metric for default route | ||
metric-static (integer; Default: 1) | specifies metric for static routes | ||
metric-connected (integer; Default: 1) | specifies metric for connected routes | ||
metric-ospf (integer; Default: 1) | specifies metric (the number of hops) for the routes learned via OSPF protocol | ||
metric-bgp (integer; Default: 1) | specifies metric (the number of hops) for the routes learned via BGP protocol | ||
update-timer (time; Default: 30s) | specifies frequency of RIP updates | ||
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:timeout-timer (time; Default: 3m) | specifies time interval after which the route is considered invalid | garbage-timer (time; Default: 2m) | specifies time interval after which the invalid route will be dropped from neighbor router table |
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-template
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 |
...
name | name of the instance |
instance | which VRF to use |
interfaces | specifies which afi to use. |
source-addresses | input filter chain |
cost (Default:) | output filter chain |
split-horizon (no| yes ) | |
poison-reverse (no| yes ) | |
mode (passive| strict) | |
key-chain (name) | name of key-chain |
password | password |
Sub-menu: /routing rip keys
interface
Read-only properties:MD5 authentication key chains.
Property | Description |
---|
instance (name) |
Network
Sub-menu: /routing rip network
To start the RIP protocol, you have to define the networks on which RIP will run.
name of the instance | |
address (address%interface ) | IP address and interface name |
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.
Read-only properties:
Property | Description |
---|---|
address (IP address | |
) | IP address of neighboring router |
...
routes | amount of routes |
packets-total | amount of all packets |
packets-bad | amount of bad packets |
entries-bad | amount of bad entries |
last-update (time) | time from last update |
Sub-menu: /routing rip
routeRead only properties:static-neighbor
Property | Description |
---|---|
instance (name) | name of used instance |
address (IP address) | IP address of neighboring router |
Keys
Sub-menu: /routing rip keys
MD5 authentication key chains.
Property | Description |
---|---|
chain (string; Default: "") | chain name to place this key in. |
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. |
valid-from (date and time; Default: today's date and time: 00:00:00) | key is valid from this date and time |
valid-till (date and time; Default: today's date and time: 00:00:00) | key is valid until this date and time | 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 |