Routing in VyOS
VyOS supports both static and dynamic routing through FRRouting (FRR).
Section Contents
Static Routing
Configuring static routes.
Capabilities:
- IPv4 and IPv6 routes
- Next-hop routing
- Interface routing
- Blackhole routes
- Administrative distance
BGP
Border Gateway Protocol for internet routing.
Capabilities:
- eBGP and iBGP
- Route filtering and policies
- Communities and AS-PATH manipulation
- BFD for fast failover
- IPv4 and IPv6 AFI
OSPF
Open Shortest Path First for internal routing.
Capabilities:
- OSPFv2 (IPv4) and OSPFv3 (IPv6)
- Area configuration
- Authentication
- Route redistribution
- Stub areas
Choosing a Protocol
Use Static Routing if:
- The topology is simple
- There is a small number of routes
- Automatic failover is not required
Use BGP if:
- Connecting to internet service providers
- Multihoming with several ISPs
- Large networks with multiple AS
- Flexible routing policy is required
Use OSPF if:
- Internal corporate network
- Automatic topology discovery
- Fast convergence on failures
- Scalable hierarchical structure
Additional Resources
Additional Routing Protocols
- IS-IS - Intermediate System to Intermediate System
- RIP - Routing Information Protocol
- Babel - Loop-free Distance-Vector Routing Protocol
- BFD - Bidirectional Forwarding Detection for fast failure detection
- RPKI - Resource Public Key Infrastructure for route validation
- MPLS - Multiprotocol Label Switching
- Segment Routing - Segment Routing
- OpenFabric - Routing protocol for data centers
- Failover - Automatic route failover
- Multicast - Multicast routing
- PIM (IPv4) - Protocol Independent Multicast
- PIM6 (IPv6) - Protocol Independent Multicast for IPv6
- IGMP Proxy - Internet Group Management Protocol Proxy
- ARP - Address Resolution Protocol
Reviewed by OpenNix LLC · Last updated on