About Dynamic Routing
Dynamic Routing allows for the exchange of routes between other routers using Border Gateway Protocol (BGP) and Open Shortest Path First (OSPF).
Dynamic Routing settings can be found at Config > Network > Advanced > Dynamic Routing.
The Border Gateway Protocol (BGP) requires that all nodes are known and added to the settings.
Open Shortest Path First (OSPF) does not require all nodes to be known. Instead each route is associated with a group called an area. Areas can be hierarchical so some are publicly known and others can be private. Additionally OSPF supports authentication.
Below are a few examples going from simple to more complex.
- Example 1.
- Example 2.
This section reviews the different settings and configuration options available for Dynamic Routing.
- Dynamic Routing Enabled: Controls whether dynamic routing is enabled or disabled. The default setting is unchecked, which means dynamic routing is disabled. BGP and/or OSPF must also be enabled as well.
- Status: Overall status of dynamic routing shows:
- Acquired Dynamic Routes: All routes obtained from enabled dynamic routing protocols.
- BGP Status Information about each BGP neighbor including messages received, sent, and uptime.
- OSPF Status Information about discovered OSPF neighbors such as their IP address and the time remaining until they next synchronize.
- BGP: Enable BGP protocol. BGP requires more maintenance than OSPF but because its an older protocol, has wider adoption.
- Router ID: An IP-like identifier. It can be any number but is typically your WAN address.
- Router AS: The Autonomous System (AS) number for this system. It can be any number from 1-65535 but must be unique in your BGP network.
- Neighbors Define each BGP neighbor here. You will need to know their IP address and AS.
- Networks Define each local network to share via BGP.
- OSPF: Enable OSPF protocol. OSPF is much simplier than BGP and does not require you to know the nodes.
- Networks Define each local network to share via OSPF.
- Areas Define OSPF areas.
- Interface Overrides Under certain conditions you may need to override default settings for OSPF interfaces. Most notably, if yo wish to enable authentication on an area.
- Advanced Options Here you can override OSPF defaults.