Forum Discussion
mulhollandm_648
Nimbostratus
Dec 11, 2013can i use an irule to route traffic
folks
is it possible to route traffic directly to a endpoint
for example
if i have several web servers, 10.5.5.5, 10.6.6.6, 10.7.7.7, 10.4.4.4 etc
can i use a single irule so the ...
Christian_30338
Dec 11, 2013Historic F5 Account
Hello, yes you can use the irules "node" command to route traffic directly to a server. For example.
when HTTP_REQUEST {
if { [HTTP::uri] ends_with ".gif" } {
node 10.1.2.200 80
}
}
However this doesn't take advantage of any of the load balancing technology and you still have to define the nodes in the iRule. Another option you might want to have a look at depending on your architecture and application design is a forwarding VIP. This can be used to route traffic to an endpoint.
Does that answer your question?
mulhollandm_648
Nimbostratus
Dec 11, 2013christian
thanks for your help
would i need a forward vip for each web server?
thanks again
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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