Forum Discussion
Hamish
Dec 02, 2013Cirrocumulus
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