Sergio000_19532
Apr 18, 2018Nimbostratus
load balancing beetween two next hop irule
Hi!
I am trying to implement an irule to load balancing between two next hops, like the configuration in the network section but in irule. I am implementing this on a Virtual server forwarding IP.
Someting like this:
when CLIENT_ACCEPTED { if { [class match [IP::client_addr] equals "ip_snat"] and [active_members pool_xxxx] > 0 and [class match [IP::local_addr] equals "dst_video_conf"] } { nexthop vlan_isp3 xxx.xxx.xxx.xxx nexthop vlan_isp2 xxx.xxx.xxx.xxx return } }
Thanks.