Forum Discussion
Or_A_157009
Mar 01, 2016Cirrus
F5 iRule - Change node dynamically and keep the default pool
Hello,
i have written an iRule that changes the destination ip of the http request, it's done by:
node $destProxy $destPort
after doing that the request goes to the default gateway of ...
Vernon_97235
Historic F5 Account
Are you trying to control how the packet is routed toward the destination address? If so, you can utilize the nexthop command.
I will say that you can, in fact, use a pool as the default gateway, if that's what you really want:
tmsh create net route default network default pool /Common/some-pool-or-another
Or_A_157009
Mar 01, 2016Cirrus
hey,
thanks for the answer.
i want to keep my existing default gateway for other traffic.
for this specific irule i want a different pool as a gateway.
the next hop is a good option if the gateway is one, but in my setup i have a pool with 2 nodes for round robin.
the only thing i could think of is a virtual mac at the gateways...
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