Forum Discussion
RJ_77679
Jun 26, 2012Nimbostratus
Route to pool in another Route Domain
Hi all,
I'm new to F5 and trying to create an iRule that will route to a pool which resides in another Route Domain. WIll I have issues in doing this? Here is the iRule I'm starting with:
when HTTP_REQUEST {
switch -glob [HTTP::path] {
/arcgis/rest/services/Aerials2008/ImageServer* { pool ext_pool }
default { pool int_pool }
}
Thanks,
RJS
- nitassEmployeeit looks okay to me.
- RJ_77679NimbostratusI'm receiving this error when trying to apply the iRule. Do I need to specifiy the Rote Domain?
- Pandiarajan_701NimbostratusHi RJ,
- RJ_77679NimbostratusI've verified it's correct. It is in a different route domain which I think is where the issue is.
- nitassEmployeethis is mine.
root@ve1110(Active)(/Common)(tmos) list ltm virtual bar ltm virtual bar { destination 172.28.19.252:80 ip-protocol tcp mask 255.255.255.255 profiles { http { } tcp { } } rules { myrule } snat automap vlans-disabled } root@ve1110(Active)(/Common)(tmos) list ltm rule myrule ltm rule myrule { when HTTP_REQUEST { pool foo } } root@ve1110(Active)(/Common)(tmos) list ltm pool foo ltm pool foo { members { 200.200.200.101%10:80 { address 200.200.200.101%10 } } } root@ve1110(Active)(/Common)(tmos) list net route-domain net route-domain 0 { description "Default Route Domain" id 0 vlans { external } } net route-domain 10 { id 10 parent 0 vlans { internal } } [root@ve1110:Active] config curl -I http://172.28.19.252/ HTTP/1.1 200 OK Date: Wed, 27 Jun 2012 18:04:27 GMT Server: Apache/2.2.3 (CentOS) Last-Modified: Fri, 11 Nov 2011 14:48:14 GMT ETag: "4183e4-3e-9c564780" Accept-Ranges: bytes Content-Length: 62 Content-Type: text/html; charset=UTF-8
- RJ_77679Nimbostratus
What other information can I provide to get assistance?
- Eric_St__JohnEmployeeIs the pool in a different Route Domain, or Admin Partition? I would guess that the pool exists in a different Admin Partition and that is why you are getting the error. You cannot reference a pool that is created in a different Admin Partition from the Common partition. What is your goal? To route traffic from one Route Domain to another, without leaving the appliance?
- nitassEmployeeas Eric said, can you check if object is in different partition?
- RJ_77679Nimbostratus
Only have one partition - Common.
- nitassEmployeeOnly have one partition - Common.would you mind listing configuration such as route domain, pool, irule here?
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