Forum Discussion
"IP forwarding" VS and nexthop iRule
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.
- usend_209769Mar 28, 2017Nimbostratus
Thank you for the answer.
I'm trying this but without the interface name. I will try again.
If I using a route domain, I must specify this on the IP (IP%domain)?
If I working with dynamic routing this should work too?
Thanks again.
- BigD_300005Mar 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.
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