Dynamic Routing: Difference between revisions

From Edge Threat Management Wiki - Arista
Jump to navigationJump to search
No edit summary
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="display:none" class="helpSource network_dynamicrouting">QoS</span>
<span style="display:none" class="helpSource network_dynamic_routing">Dynamic_Routing</span>
<span style="display:none" class="helpSource network_advanced_dynamicrouting">QoS</span>
<span style="display:none" class="helpSource network_advanced_dynamic_routing">Dynamic_Routing</span>
<span style="display:none" class="helpSource network_advanced_dynamic_routing_status">Dynamic_Routing</span>
<span style="display:none" class="helpSource network_advanced_dynamic_routing_bgp">Dynamic_Routing</span>
<span style="display:none" class="helpSource network_advanced_dynamic_routing_bgp_neighbors">Dynamic_Routing</span>
<span style="display:none" class="helpSource network_advanced_dynamic_routing_bgp_networks">Dynamic_Routing</span>
<span style="display:none" class="helpSource network_advanced_dynamic_routing_ospf">Dynamic_Routing</span>
<span style="display:none" class="helpSource network_advanced_dynamic_routing_ospf_networks">Dynamic_Routing</span>
<span style="display:none" class="helpSource network_advanced_dynamic_routing_ospf_areas">Dynamic_Routing</span>
<span style="display:none" class="helpSource network_advanced_dynamic_routing_ospf_interfaces">Dynamic_Routing</span>
<span style="display:none" class="helpSource network_advanced_dynamic_routing_ospf_advanced_options">Dynamic_Routing</span>


== About Dynamic Routing ==
== About Dynamic Routing ==
Line 9: Line 18:




----
=== BGP Overview ===
 
The Border Gateway Protocol (BGP) requires that all nodes known as ''neighbors'' are known and added to the settings. 
 
=== Examples ===


Below are a few examples going from simple to more complex.
=== OSPF Overview ===
 
Open Shortest Path First (OSPF) does not require all nodes to be known.  Instead each route is associated with a group called an ''area''. OSPF can be hierarchical through the use of multiple areas so some networks are publicly known and others can be private. Additionally OSPF supports authentication.
# Example 1.
# Example 2.


----
----
Line 31: Line 36:
* '''Status''': Overall status of dynamic routing shows:
* '''Status''': Overall status of dynamic routing shows:


:*'''Aquired Dynamic Routes''': All routes obtained from all enabled dynamic routing protocols.
:*'''Acquired Dynamic Routes''': All routes obtained from enabled dynamic routing protocols.
:*'''BGP Status''' Information about each BGP neighbor including messages received, sent, and uptime.
:*'''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.
:*'''OSPF Status''' Information about discovered OSPF neighbor such as their IP address and the time remaining until they next synchronize.


[[Image:dynamic_routing_status.png|center|frame|Dynamic Routing Status]]
[[Image:dynamic_routing_status.png|center|frame|Dynamic Routing Status]]




* '''BGP''': Enable BGP protocol.  BGP requires more maintenance than OSPF but because its an older protocol, has wider adoption.
* '''BGP''': Enable BGP protocol.   


* '''Router ID''': An IP-like identifier.  It can be any number but is typically your WAN address.   
* '''Router ID''': An IP-like identifier.  It can be any IP-address like value 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.
* '''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.
Line 47: Line 52:
[[Image:dynamic_routing_bgp.png|center|frame|Dynamic Routing BGP]]
[[Image:dynamic_routing_bgp.png|center|frame|Dynamic Routing BGP]]


:*'''Neighbors''' Define each BGP neighbor here.  You will need to know their IP address and AS.
:*'''Neighbors''' Define each BGP neighbor here.  For each neighbor, you will need to know their IP address and AS.


:*'''Networks''' Define each local network to share via BGP.
:*'''Networks''' Define each local network route to share via BGP.




* '''OSPF''': Enable OSPF protocol.  OSPF is much simplier than BGP and does not require you to know the nodes.
* '''OSPF''': Enable OSPF protocol.   


[[Image:dynamic_routing_ospf.png|center|frame|Dynamic Routing OSPF]]
[[Image:dynamic_routing_ospf.png|center|frame|Dynamic Routing OSPF]]


:*'''Networks''' Define each local network to share via OSPF.
:*'''Networks''' Define each local network route to share via OSPF.


:*'''Areas''' Define OSPF areas.   
:*'''Areas''' Define OSPF areas.  The default area 0.0.0.0 is already defined.  It may be modified and others may be added as needed for your network.


:*'''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.
:*'''Interface Overrides''' Under certain conditions you may need to override default settings for OSPF interfaces.  Most notably, if you wish to enable authentication on an area you will need to specify the type of authentication on a specific interface.


:*'''Advanced Options''' Here you can override OSPF defaults.
:*'''Advanced Options''' Here you can override OSPF defaults.
== Dynamic Routing FAQs ==
{{:Dynamic Routing FAQs}}

Latest revision as of 17:36, 11 October 2022

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.


BGP Overview

The Border Gateway Protocol (BGP) requires that all nodes known as neighbors are known and added to the settings.

OSPF Overview

Open Shortest Path First (OSPF) does not require all nodes to be known. Instead each route is associated with a group called an area. OSPF can be hierarchical through the use of multiple areas so some networks are publicly known and others can be private. Additionally OSPF supports authentication.



Settings

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 neighbor such as their IP address and the time remaining until they next synchronize.
Dynamic Routing Status


  • BGP: Enable BGP protocol.
  • Router ID: An IP-like identifier. It can be any IP-address like value 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.


Dynamic Routing BGP
  • Neighbors Define each BGP neighbor here. For each neighbor, you will need to know their IP address and AS.
  • Networks Define each local network route to share via BGP.


  • OSPF: Enable OSPF protocol.
Dynamic Routing OSPF
  • Networks Define each local network route to share via OSPF.
  • Areas Define OSPF areas. The default area 0.0.0.0 is already defined. It may be modified and others may be added as needed for your network.
  • Interface Overrides Under certain conditions you may need to override default settings for OSPF interfaces. Most notably, if you wish to enable authentication on an area you will need to specify the type of authentication on a specific interface.
  • Advanced Options Here you can override OSPF defaults.