Forum Discussion

RJ_77679's avatar
Icon for Nimbostratus rankNimbostratus
Jun 26, 2012

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:





switch -glob [HTTP::path] {


/arcgis/rest/services/Aerials2008/ImageServer* { pool ext_pool }



default { pool int_pool }


















10 Replies

  • I'm receiving this error when trying to apply the iRule. Do I need to specifiy the Rote Domain?





    01070151:3: Rule [/Common/egistest_test] error: Unable to find pool (egistest_ext_pool) referenced at line 3: [pool egistest_ext_pool]01070151:3: Rule [/Common/egistest_test] error: Unable to find pool (egistest_ext_pool) referenced at line 3: [pool egistest_ext_pool]
  • Hi RJ,



    Seems you have the wrong pool name in the irule or you haven't created the pool.





    Pandiarajan .K
  • I've verified it's correct. It is in a different route domain which I think is where the issue is.
  • this is mine.

    root@ve1110(Active)(/Common)(tmos) list ltm virtual bar
    ltm virtual bar {
        ip-protocol tcp
        profiles {
            http { }
            tcp { }
        rules {
        snat automap
    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 {
    root@ve1110(Active)(/Common)(tmos) list net route-domain
    net route-domain 0 {
        description "Default Route Domain"
        id 0
        vlans {
    net route-domain 10 {
        id 10
        parent 0
        vlans {
    [root@ve1110:Active] config  curl -I
    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
  • Is 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?
  • as Eric said, can you check if object is in different partition?
  • Only have one partition - Common.would you mind listing configuration such as route domain, pool, irule here?