LC-LINK Bandwidth restriction using rateclass

Two links are adsl and leased line with ADSL – 48 Mbps and LL – 16 Mbps BW respectively

Requirement:

1. F5 LC will always send http/https/DNS traffic to ADSL Link

Solution: member of ADSL router IP is set higher priority (3) in http_pool, https_pool and dns_pool.

And priority activation is enabled as less than 1 member. Member of leased line router is set lesser priority 1. So LC will always select ADSL link.

2. F5 LC will inspect if ADSL bandwidth is saturated (all 48mbps is used) or down it will then only utilize 50% (8mbps)bandwidth of the Leased Line

Solution: How to achieve this part. I created leased_linerateclass and applied this rate class to http_vs , https_vs and dns_vs using leaseline_rateclassirule. Is this a correct way. But it is not working properly.

Appreciate your comment and suggestion

LC configuration details

Link1 – ADSL weighting Ratio link ratio -1

Link2 – LL weighting Ratio link ratio -1

Gateway_pool

LB: ratio(node)

Members

192.168.2.2:0

9X.XX.XXX.XXX:0

http_pool

LB: dynamicratio(member)

192.168.2.2:80 priority 3

9X.XX.XXX.XXX:80 priority 1

priority group activation less than 1 member enabled

https_pool

LB: dynamicratio(member)

192.168.2.2:443 priority 3

9X.XX.XXX.XXX:443 priority 1

priority group activation less than 1 member enabled

dns_pool

LB: dynamicratio(member)

192.168.2.2:53 priority 3

9X.XX.XXX.XXX:53 priority 1

priority group activation less than 1 member enabled

Wildcard Virtual are as follows

0.0.0.0:80

Profile fastL4

Pool

http_pool

enabled on internal_vlan

leaseline_rateclassirule

0.0.0.0:443

Profile fastL4

Pool https_pool

enabled on internal_vlan

irule leaseline_rateclassirule

0.0.0.0:53

Profile fastL4

Pool dns_pool

enabled on internal_vlan

leaseline_rateclassirule

leased_line_rateclass

base 8 mbps

ceiling 8mpbs

burst size 0

direction any

leaseline_rateclassirule

when LB_SELECTED {

if { [IP::addr [LB::server addr] equals 9X.XX.XXX.XXX] } {

log local0. “[LB::server addr] was the IP that was selected.”

rateclass leasedline_rateclass

}

else {

discard

}

}

Regards

insitha