Forum Discussion
usend_209769
Mar 28, 2017Nimbostratus
"IP forwarding" VS and nexthop iRule
Hello,
I have a F5 node working as a router (with a "IP forwarding" virtual server with 0.0.0.0 destination).
I would like to configure conditional routing. When a specific origin/destinati...
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.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects