Sep 2026 - DevCentral is currently set to Read-Only (Sep 14th) for a platform update.
For some details see: DevCentral is Evolving.

Forum Discussion

3 Replies

Replies have been turned off for this discussion
  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    I'm pretty sure you could do this with rate classes. But you'll need one per pool member, and an iRule to assign it.

     

    That wouldn't help with keeping it balanced though...

     

    H

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Of assigning rate classes? How about this completely off the cuff 1 liner?

    when LB_SELECTED {
      if { [IP::adde [LB::server] equals "10.1.1.1"] } {
        rateclass "limited-class"
      }
    }
    

    Note this leaves out the necessary testing of LB::server returning NULL for some reason etc... You can also test by server name (Using LB::name) Or any other test TBH...

    Oh... I lied... It's 5 lines...

    H