Unicast routing protocols
RouterOS supports these unicast routing protocols and related services:
| Task | Page | Menu |
|---|---|---|
| Exchange routes with other networks and providers, and carry VPN routes | BGP | /routing/bgp |
| Route inside your network with a link-state protocol, IPv4 (OSPFv2) and IPv6 (OSPFv3) | OSPF | /routing/ospf |
| Route inside a small network with a distance-vector protocol | RIP | /routing/rip |
| Route inside your network with IS-IS | IS-IS | /routing/isis |
| Detect a failed neighbor or path quickly for BGP, OSPF, RIP and static routes | BFD | /routing/bfd |
| Reject BGP routes with an invalid origin AS | RPKI | /routing/rpki |
| Stretch Layer 2 networks over a routed network with BGP EVPN and VXLAN | EVPN | /routing/bgp/evpn |
How the router chooses between routes from these protocols is explained in Routing Decision, and how to filter their routes in Route Selection and Filtering.
BFD
Bidirectional Forwarding Detection (BFD) in RouterOS: allow sessions in /routing/bfd/configuration, use BFD with BGP (single-hop and multihop), OSPF, RIP and static routes, set the timers, check sessions, ports and timer negotiation.
BGP
5 items
EVPN
Configure BGP EVPN with VXLAN in RouterOS: a spine and leaf overlay with dynamic VTEP discovery and MAC learning over BGP, route distinguishers and route targets, several VLANs per leaf, multihoming with an Ethernet segment identifier (ESI) on a bond, a route reflector overlay, and interoperation with Arista EOS.
IS-IS
Configure IS-IS in RouterOS: instances, areas and system IDs, Level 1 and Level 2 routing, point-to-point and broadcast links, passive interfaces, metrics, default route, redistribution, route filters and IPv6, with a three-router example.
OSPF
5 items
RIP
Configure RIP in RouterOS: a three-router RIPv2 example, checking neighbors and routes, default route, passive and strict interfaces, static neighbors, interface cost, MD5 authentication, routing filters and RIPng for IPv6.
RPKI
RPKI in RouterOS: connect to an RPKI validator with the RTR protocol, check prefixes, reject BGP routes with an invalid origin in a routing filter, and validate AS paths with ASPA. RTR versions, validator selection in a group, timers and states.