Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Choosing route for Multihomed BGP

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 969 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      Defoe
      last edited by

      Hi, I recently got another BGP connection. It is now multihomed.

      BGP1v4's ping to a third world country is 10ms with 1gbps.
      BGP2v4's ping to the third world county is 300 with 200mbps.

      BGP somehow choose to go via BGP2v4 instead of the 10ms connection.
      I want to control all traffic to this third world county to use BGP1v4 by default, while BGP2v4 route is only used when the default one is down.

      This is my raw config.

      
      AS 99999999
      fib-update yes
      router-id 1.1.1.2
      
      network 99.99.99.0/23
      network 2001:999:999::/48
      
      neighbor 1.1.1.1 {
      descr "BGP1v4"
      announce all
      remote-as 1
      local-address 1.1.1.2
      }
      
      neighbor 2.2.2.2 {
      descr "BGP2v4"
      announce all
      remote-as 2
      local-address 2.2.2.3
      }
      
      neighbor 2001:6666:6666:6666::1 {
      descr "BGP2v6"
      announce all
      remote-as 6666
      local-address 2001:6666:6666:6666::2
      }
      
      deny from any
      deny to any
      allow from 59.148.193.226
      allow to 59.148.193.226
      allow from 27.50.33.25
      allow to 27.50.33.25
      allow from 2001:470:1:215::1
      allow to 2001:470:1:215::1
      
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.