Forum Discussion
Static floating route
Good day,
I need to create a secondary route for a traffic I'm sending through a gre tunnel. I have a tunnel created and I have a route to send the packets into that tunnel but I want to create a secondary tunnel and create a secondary route to send the traffic into that tunnel in case the first one fails. In less words I want to create the similar to a floating static route in Cisco but in my BIP-IP. Is that possible?
- JRahmAdmin
I think the best way to accomplish that is to use a gateway pool with your route destinations and create a priority group in the pool to establish the route's (effective) administrative distance. An example for you to get started (will likely require tweaking...not production ready). Note that priority-group activation is highest first, so as an administrative distance this is opposite a cisco route declaration. It's also dependent on monitors being accurate, so make sure however you decide to monitor your gateways, you're able to get successful responses during normal state.
ltm pool pool.tunnel_routes { members { 172.16.2.2:any { address 172.16.2.2 priority-group 10 session monitor-enabled state down } 172.16.2.3:any { address 172.16.2.3 priority-group 5 session monitor-enabled state down } } min-active-members 1 monitor gateway_icmp } net route route.tunnel { network 10.10.20.0/24 pool /Common/pool.tunnel_routes }
- JRahmAdmin
Hi GabsC, in researching another issue I came across this article from Rodrigo_Albuque that also might help with static route failover configuration, depending on your infrastructure support for BFD: https://community.f5.com/t5/technical-articles/bidirectional-forwarding-detection-bfd-protocol-cheat-sheet/ta-p/281181
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com