To configure GRE, two WAN ports must be available for use on the EdgeMarc. This is because while BGP runs on the primary WAN interface, GRE will run on the secondary WAN interface and both BGP and GRE should be up and running at all times. If BGP fails on the primary interface, the default gateway changes to GRE and GRE is then used to route all data traffic. When BGP recovers on the primary interface, default gateway changes back to BGP.
For the primary WAN interface, configure static WAN IP address for IPv4. It is not necessary to configure Default Gateway.
Refer to Configure WAN Interface Settings for more information on how to set up WAN network parameters.The peer device should advertise default gateway through BGP.
Ensure that WAN fails over successfully, by enabling WAN Link Redundancy. Also enable Revertive Mode and Dual WAN Ports on the WAN Link Redundancy page.
Refer to Configure WAN Failover Settings for more information on how to configure WAN failover.For the secondary interface, configure static WAN IP address for IPv4 and configure its Default Gateway. You can configure DNS addresses based on network topology and deployment.
Refer to Configure Secondary WAN Settings for more information on how to set up secondary WAN network parameters.On the WLR - Advanced page, disable Ping Detection for primary and secondary interfaces. GRE monitors BGP on primary interface for uplink failure, instead of ping.
Refer to Configure WAN Failover Advanced Settings for more information on how to configure advanced WAN failover settings.When physical cable connections are made, the primary and secondary interface links must always be up. Check this on the WAN Link Redundancy page; the primary and secondary link statuses should be Available.