Forum Discussion

Manny_Santizo_8's avatar
Manny_Santizo_8
Icon for Nimbostratus rankNimbostratus
Oct 01, 2007

Need help with a Irule to redirect based on ip address range.

I need a irule to redirect to a specific URL based on the source ip address range.

 

 

I have the need to redirect certain ip ranges to see specific content within the same web server resources. so that content can be customized and maintained using the same web servers.

 

 

the url can be a vip or a pool I know how to do the redirect via http, although I don't know how to get to redirect based on a range of ip addresses and only let it redirect if your source is one of these ip addresses.
  • Patrick_Chang_7's avatar
    Patrick_Chang_7
    Historic F5 Account
    Try using the matchclass function along with a data group to define your IP ranges.