hung_37471
Sep 27, 2011Nimbostratus
How to config PBR
hi all
can you help me , how to config PBR on the BIg Ip ?
on the web GUI , i can't see anywhere to config PBR
thanks all
The iRule above will do the job in combination with your virtual server listening on the clientside VLAN. In case of a match, you simply use "forward" instead of assigning a pool. Everything else will go to the default pool of your virtual server (the web proxy, I guess).
To make it more visible in the iRule inside the else condition the web proxy pool is assigned:rule myrule {
when CLIENT_ACCEPTED {
if {[class match -- [IP::client_addr] equals subnet_list]} {
forward
} else {
pool http_proxy_pool
}
}
}