Forum Discussion
Redirect IP to specific node or gateway
We have one set of IP's that due to the previous network that had them, we get blocked from a few sites. We have a backup ISP, and until we get a new block to eliminate this problem, Id like to be able to send traffic destined for the blocked sites out our backup network.
What I have so far is any any VIP that grabs all HTTP traffic going out and sends it to the router pool. I tried an irule like the following but no luck:
when HTTP_REQUEST { if {[HTTP::uri] contains "www.blockedurl.com" } { node backup_isp 80 } }
The VIP does have the HTTP profile assigned, and it is automapping to the default isp router pool. That pool then makes the decision which gateway to go out. What am I missing? Or how can I log it so I can see whats going on perhaps? Thanks in advance!!
11 Replies
- nitass
Employee
I even tried making a Virtual Server with a blocked IP as its destination on all ports
virtual server's subnet mask was correct, wasn't it?
am I right in thinking that the more specific virtual server will process the traffic, over the virtual server that grabs everything on a Performance Layer 4?
sol14800: Order of precedence for virtual server matching (11.3.0 and later)
http://support.f5.com/kb/en-us/solutions/public/14000/800/sol14800.html
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
