routeros-routing

Installation
SKILL.md

RouterOS routing

In RouterOS 7 routes live in routing tables; main is the default one. The router builds a RIB (all candidate routes), picks the best route per destination (lowest distance among reachable candidates), and installs it in the FIB used for forwarding. OSPF, BGP and MPLS have their own skills (routeros-ospf, routeros-bgp, routeros-mpls); this one covers everything they share.

Static routes and gateway checks

/ip/route/print where dst-address=0.0.0.0/0
/ip/route/add dst-address=0.0.0.0/0 gateway=192.0.2.1 distance=1 check-gateway=ping comment=primary
/ip/route/add dst-address=0.0.0.0/0 gateway=198.51.100.1 distance=2 comment=backup
/ip/route/add dst-address=203.0.113.0/24 blackhole
Installs
5
GitHub Stars
1
First Seen
3 days ago