cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
644
Views
0
Helpful
4
Replies
Huddles18
Beginner

Failover to static route when BGP fails

Hey all,

 

We have just recently setup a BGP connection to our Azure environment via an ExpressRoute. What a pain that was, but we're slowly getting it up and running.

 

Before the BGP connection was setup, everything was being routed through our Meraki MX, and then sent through the S2S VPN, and that was how we would access Azure.

 

Now that BGP has been setup, I am curious how I can go about configuring our 9300 so that if BGP fails, to just go back through the Meraki MX S2S.

 

Here is a very basic diagram of the physical connections:

BGP.png

 

Here are some snippets of the configs:

!
vlan 1070
 name Azure
!
interface GigabitEthernet2/0/48
 description ***AZURE EXPRESS ROUTE***
 switchport trunk allowed vlan 1070
 switchport mode trunk
!
interface Vlan100
 ip address 10.1.100.1 255.255.254.0
!
interface Vlan101
 ip address 10.1.1.1 255.255.255.0
!
interface Vlan1070
 ip address 10.50.X.1 255.255.255.252
!
router bgp 6XXX2
 bgp log-neighbor-changes
 neighbor 10.50.X.2 remote-as 12076
 neighbor 10.50.X.2 password XXXXX
 !
 address-family ipv4
  network 10.1.1.0 mask 255.255.255.0
  network 10.1.100.0 mask 255.255.254.0
  neighbor 10.50.X.2 activate
 exit-address-family
!
ip route 0.0.0.0 0.0.0.0 10.1.1.X

end

Any help would be greatly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Jon Marshall
VIP Community Legend

 

Well as long as you are not relying on a default route from the Azure setup then I don't think you need to do anything. 

 

The more specific routes are always used so as long as BGP is up and you are receiving those routes you should go via that route and if BGP goes down then the default route will be used. 

 

Can't say what will happen for return traffic without knowing more about the other end. 

 

Jon

View solution in original post

4 REPLIES 4
Jon Marshall
VIP Community Legend