求助大神关于F5负载均衡iRule的解读
本帖最后由 Elf_network 于 2018-11-2 15:02 编辑以下是irule规则,求大神帮忙做个解读。我需要把这个转到radware上,十分感谢。
when CLIENT_ACCEPTED {
if { equals pachong] }
{
pool Gateway-pachong
}
else {
pool Default_Gateway_Pool
}
}
when LB_SELECTED
if { equals 113.x.x.1] }
{
if { equals 10.10.40.8] }
{
snatpool snat_113.x.x.24
}
elseif { equals 10.10.40.10] }
{
snatpool snat_113.x.x.25
}
elseif { equals pachong] }
{
snatpool snat_cnc_pachong
}
else { snatpool snat_113.x.x.24 }
}
elseif { equals 202.x.x.1] }
{
if { equals 10.10.40.7] }
{
snatpool snat_202.x.x.25
}
elseif { equals 10.10.40.9] }
{
snatpool snat_202.x.x.24
}
elseif { equals pachong] }
{
snatpool snat_ct_pachong
}
else { snatpool snat_202.x.x.25 }
}
}
{:6_267:}没人吗?版主会吗?我自己解释的心理没底。 .tqsm
页:
[1]