This is the documentation for the 20.02 version. Looking for the documentation of the latest version? Have a look here.

Dynamic Routing

Dynamic routing refers to routes that are capable of changing, generally due to routing protocols exchanging routing information with neighboring routers.

Unlike static routes, dynamic routing does not require remote network destinations and gateways to be hardcoded in the configuration. Routes and gateways are automatically determined by the protocol instead.

Currently TNSR supports multiple dynamic routing protocols:

Border Gateway Protocol (BGP)

BGP routes between autonomous systems, connecting to defined neighbors to exchange routing and path information. BGP supports IPv4 and IPv6.

Open Shortest Path First v2 (OSPF)

OSPF is a link-state routing protocol that automatically locates neighboring IPv4 routers within an autonomous system, typically with multicast, and exchanges routing information for networks reachable through each neighbor. OSPF v2 only supports IPv4.

Open Shortest Path First v3 (OSPF6)

Similar to OSPF v2, but for IPv6 networks.

Routing Information Protocol (RIP)

A routing protocol where each router broadcasts its routing table to peers on connected segments. Simple and widely supported, but not as fast or efficient as other protocols.

Dynamic routing on TNSR is handled by FRR.

Dynamic Routing Protocol Lists

Throughout dynamic routing, certain commands accept parameters which specify a supported routing protocol or source of routes. Currently, the following values are valid in these parameters:


Routes for directly connected networks


Routes from the kernel


Routes from system configuration


Routes obtained dynamically from BGP neighbors


IPv4 routes obtained dynamically from OSPF neighbors


IPv6 routes obtained dynamically from OSPF6 neighbors