Forum Discussion
F5 Content Switching
I am coming from a netscaler world where they had an element in the UI for content switching...
I know with F5 you can use iRules to select a Pool but the problem I find with that is in the netscaler world you select a virtual server to content switch to which has the advantage of having all of the virtual server specific policies/authenication/waf etc tied to it. Is it possible to use irules to direct to another virtual server with F5 while retaining the same external IP for the client instead of the pool? (ie: I don't want to do a simple redirection from one url to another or ip to another, it needs to be transparent like netscaler does)
Local Traffic Policy: https://techdocs.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/local-traffic-policies-getting-started-12-1-0/1.html. Perform a match on criteria and FORWARD to virtual server ;)
Forward traffic Controls where a connection is forwarded. - node. Forwards the connection to the specified node.
- pool. Forwards the connection to the specified pool.
- virtual server. Forwards the connection to the specified virtual server.
- niirraaj03Nimbostratus
you can leverage policies feature for content switching in F5.
- DEJNimbostratus
Hello,
I'm combining a couple of iRules but the below seems a possible solution. Anyone viewing, please feel free to make corrections. As I have not done this before, I am not sure how the F5 handles redirecting to the virtual, whether it's a 301/302 or transparent.
when HTTP_REQUEST { switch -glob [string tolower [HTTP::host]] { "www.mycompany.com" { virtual virtual_server_A } "email.mycompany.com" { virtual virtual_server_B } } }
- JWhitesPro_1928Cirrostratus
can't seem to edit the post...but perhaps something with rewrite profiles? We are trying to accomplish the classic
if you go to www.mycompany.com you get forwarded to virtal server a on the backend, if you go to email.mycompany.com you go to virualserver b on the backend...trying to conserve public ip addresses.
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