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 the following dynamic routing protocols:

Border Gateway Protocol (BGP)

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

Open Shortest Path First v2 (OSPF)

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

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