The dual-router, dual-provider border is a well-established high availability architecture used by large enterprises, service providers, and ISPs to deliver resilient Internet and WAN connectivity. By eliminating single points of failure across routers, upstream providers, and network paths, it provides a solid foundation for business-critical networks.
This post summarizes how a VyOS border router pair combines VRRP, eBGP, iBGP, BFD, and routing policy into one HA solution, tested and verified on VyOS 1.5 LTS (Circinus) as of July 2026. For the complete configuration and validation steps, see the VyOS High Availability Border Router Deployment Guide.
The lab uses Border Router 1 (BR-1) as the preferred router and Border Router 2 (BR-2) as the secondary. Both routers connect to the same LAN through a switch, and each has its own external ISP connection. A dedicated 172.16.0.0/30 link between the routers carries iBGP and inter-router failover routing. The LAN uses 192.168.10.0/24, with 192.168.10.1 as the VRRP virtual gateway.
Routing policy and optional firewalling
Prefix lists and route maps control exactly what the border routers learn and advertise: providers supply only a default route, and the routers advertise only the designated internal prefix. This keeps the routing policy explicit and prevents unintended route exchange. An optional stateful IPv4 forward firewall can also be applied, with a default-drop policy that allows established/related return traffic and outbound traffic from the LAN. See the VyOS 1.5 BGP documentation for the full policy options.
Validation workflow
Scenario 1: LAN-link failure on BR-1
When BR-1 loses its LAN-side link, its VRRP state changes to FAULT, and BR-2 becomes MASTER. Connectivity stays up because BR-1 is still reachable over the HA link, and its ISP-1 route remains preferred; traffic entering BR-2 crosses the inter-router link to BR-1 and exits through ISP-1.
Scenario 2: Complete BR-1 failure
If the primary router fails entirely, BR-2 becomes VRRP MASTER and forwards traffic directly through ISP-2. The guide validates this with successful ping and traceroute tests, showing that the LAN maintains Internet reachability after losing the primary router.
VyOS implements the dual-router, dual-provider border architecture by integrating VRRP, eBGP, iBGP, BFD, routing policy, and optional firewalling into a single HA solution. VRRP keeps the LAN default gateway highly available, while BGP and BFD provide dynamic path selection and rapid detection of upstream or routing failures.
The validation and failure scenarios show how the network preserves gateway availability and adapts the upstream forwarding path when a router, link, or provider goes down. The result is redundant, multi-provider connectivity with predictable failover and full routing control, all built on industry-standard protocols. Learn more about VyOS as an ISP border router.
Keep your edge online with VyOS.
Planning a dual-ISP border or tuning VRRP, BGP, and BFD failover for your network and want a second opinion?
Additional Links