hung_105573
Jul 03, 2013Nimbostratus
irule for base on source ip
hi all
i have a irule base on source ip address, that is server mail :
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.0.x.y] } {
snatpool NAT_MAILServer
}
else
{
snatpool Nat_Internet_live
}
}
snat pool :
ltm snatpool NAT_MAILServer {
members {
222.255.x.y ( this ip address is of line isp A)
183.91.x.y ( this ip address is of line isp B)
118.69.x.y ( this ip address is of line isp C)
}
}
ltm snatpool Nat_Internet_live {
members {
222.255.x.z
118.69.x.z
183.91.x.z
}
}
we want to modify this irule , so when the line ISP A goes die then can not SNAT 222.255.x.y , line ISP B die then can not SNAT 183.91.x.y,...
pls help me
many thanks