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

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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!



This thread was automatically locked due to age.
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