Forum Discussion

Chuck_127210's avatar
Chuck_127210
Icon for Nimbostratus rankNimbostratus
Oct 11, 2005

IRULE question

Sorry I posted this in the wrong area, please disreguard

 

 

With the Irule listed below what will happen if a packet comes in on 10.144.1.1, will it be discarded or actually go to the pool, Also if a packet arrives from a 10.1.1.1 segment will it hit the bottom pool, or is there a better way to write this irule.

 

 

 

Thanks Chuck

 

 

 

 

 

if (client_addr == 172.0.0.0 netmask 255.0.0.0) {

 

use pool Release2_Prod_Pool

 

}

 

else {

 

discard

 

}

 

if (client_addr == 10.144.0.0 netmask 255.255.0.0) {

 

use pool Release2_Prod_Pool

 

}

 

else {

 

use pool Rel2_COB_Pool

 

}

 

  • You might want to post this one on the iRule v4.x forum. iControl is our management API.

     

     

    -Joe