Forum Discussion
BigD_300005
Cirrostratus
Create this iRule and assign it to your virtual server that matches the specific IPs you want to route to the IP address in the iRule.
Replace interface name and IP address. Remove "[]"
when CLIENT_ACCEPTED {
nexthop [INTERFACE NAME] [IP ADDRESS]
}
If it is a tunnel, you only need the interface name.
BigD_300005
Mar 28, 2017Cirrostratus
I currently use this rule with BGP on the same box. The VS/iRule will take priority over the route table. If you do a tcpdump, you can see it hitting your virtual server.
I do not have multiple route domains on my F5. I do not have an answer for how that would work into the iRule.