! Aviatrix GRE configuration template ! ! This configuration serves as a general guideline and may have to be modified to ! be functional on your device. ! ! This connection has two GRE tunnels between the customer gateway and ! Aviatrix gateways in the cloud. Tunnel #1 is the primary tunnel. The ! customer gateway should be configured in such a way that it should ! switch over to tunnel #2 when tunnel #1 fails. ! ! You need to populate these values throughout the config based on your setup: ! : the primary GRE tunnel interface number ! : the backup GRE tunnel interface number ! : the primary source interface of tunnel packets ! : the backup source interface of tunnel packets ! : any un-used IPv4 address for the primary tunnel interface ! when static routing is used (e.g. 1.1.1.1) ! : any un-used IPv4 address for the backup tunnel interface ! when static routing is used (e.g. 1.1.1.3) ! : netmask for customer_tunnel_ip. Please use 255.255.255.255 ! !--------------------------------------------------------------------------------------- ! #1: Tunnel Interface Configuration ! The virtual tunnel interface is used to communicate with the remote GRE endpoint ! to establish the GRE tunnel. ! interface Tunnel ip address 169.254.39.189 255.255.255.252 ip mtu 1436 ip tcp adjust-mss 1387 tunnel source tunnel destination 10.32.1.115 ip virtual-reassembly no keepalive exit ! ! ! -------------------------------------------------------------------------------- ! GRE Tunnel #2 (Backup) ! -------------------------------------------------------------------------------- ! #2:Tunnel Interface Configuration ! The virtual tunnel interface is used to communicate with the remote GRE endpoint ! to establish the GRE tunnel. ! interface Tunnel ip address 169.254.205.217 255.255.255.252 ip mtu 1436 ip tcp adjust-mss 1387 tunnel source tunnel destination 10.32.1.212 ip virtual-reassembly no keepalive exit ! !--------------------------------------------------------------------------------------- ! #4: BGP Routing Configuration ! The Border Gateway Protocol (BGPv4) is used to exchange routes from the VPC to on-prem ! network. Each BGP router has an Autonomous System Number (ASN). ! router bgp 65080 bgp log-neighbor-changes neighbor 169.254.39.190 remote-as 65010 neighbor 169.254.39.190 timers 60 180 ! bgp md5 authentication password need to be added if configured ! neighbor 169.254.39.190 password neighbor 169.254.205.218 remote-as 65010 neighbor 169.254.205.218 timers 60 180 ! bgp md5 authentication password need to be added if configured ! neighbor 169.254.205.218 password ! address-family ipv4 redistribute connected neighbor 169.254.39.190 activate neighbor 169.254.39.190 soft-reconfiguration inbound neighbor 169.254.205.218 activate neighbor 169.254.205.218 soft-reconfiguration inbound maximum-paths 4 exit-address-family ! !--------------------------------------------------------------------------------------- ! ! For vendor specific instructions, please go to the following URL: http://docs.aviatrix.com/#site2cloud