Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

Sophos XGS bgp routing preference

Hello,
we use 2 internet lines and have set up 2 route based vpn tunnels. BGP is used as the routing protocol. What settings can we make so that the 1st internet connection is used first and the 2nd internet connection is only used if this is not available?

Thank you very much!



Added TAGs
[edited by: Raphael Alganes at 3:43 PM (GMT -7) on 13 Jun 2024]
Parents
  • Hi, 

    The requirement can be achieved by configuring “weight” for the neighbors. The route from the neighbor configured with higher weight would be preferred and used as long as it is available. If that route goes down, the other route, with lesser weight, would be used.  

    The option to set weight is to be done via the CLI configuration as below: 

    bgp(config-router-af)# neighbor 1.1.1.1 weight 56 

    The above configuration would set all the routing updates received from 1.1.1.1 to have a weight of 56. (without this config, by default, weight assigned would be 0) 

    Hope this helps! 

    Thanks, 

Reply
  • Hi, 

    The requirement can be achieved by configuring “weight” for the neighbors. The route from the neighbor configured with higher weight would be preferred and used as long as it is available. If that route goes down, the other route, with lesser weight, would be used.  

    The option to set weight is to be done via the CLI configuration as below: 

    bgp(config-router-af)# neighbor 1.1.1.1 weight 56 

    The above configuration would set all the routing updates received from 1.1.1.1 to have a weight of 56. (without this config, by default, weight assigned would be 0) 

    Hope this helps! 

    Thanks, 

Children