Forum Discussion
Irule to modify the VIP route advertisement setting upon pool down
- Feb 08, 2022
What you could do is create a gateway monitor and give it an Alias Address of the gwy. Assign that to the pool as a second monitor that is the default pool of the virtual server the vip address is assigned to. That way, when the gwy fails, it marks the pool members down which in turn will retact the advertisment of the route.
The network manager requests me to cease advertising the VIP through BGP as soon as the default route fails: I created a pool to properly monitor the default gateway, so that this pool gets down when the gwy stops replying icmps. MyMileStoneCard
- Albert_CollFeb 08, 2022Cirrus
Hi James,
Thank you for your post.From your answer I understand that using pools for purposes not related to Virtual Servers, like signaling the availability of external IP addresses to cooperate with routing protocols, is not the right way to use them.
In that case, I guess BFD should be the right tool to use.Regards.
- Feb 08, 2022
Another way, you could write a custom script to monitor the LTM logs looking for the gwy pool to have no member available then run the TMSH commond to set the advertisment to disabled. Remember to also write a command to re-enable the advertisment when members become available.
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