Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. Forums
  3. Technical Forum

Forum Discussion

Pete_Paiva_7147's avatar
Pete_Paiva_7147
Icon for Nimbostratus rankNimbostratus
Oct 17, 2013

iRule redirect based on client IP address

Hi all,

 

Need some assistance creating an iRule based on traffic originating from 2 source IP's:

 

Source IP:

 

10.1.1.1

 

10.1.1.2

 

If traffic comes into an existing vip (10.100.100.100 - iRule applied on this vip) on either of those 2 source IP's, redirect to new vip (10.200.200.200).

 

Thanks!

 

application delivery
devops
iRules

Recent Discussions

  • How can I get started with iCall
    Dec 14, 2025
    ecolauce
  • Connection Rest f5
    Dec 12, 2025
    Fouad2
  • Kubernetes cert-manager + LetsEncrypt + F5
    Solved
    Dec 12, 2025
    Patrik_Jonsson
  • The GSLB pool is providing an incorrect IP to end users
    Dec 12, 2025
    SureshP
  • Unable to ping from some self ip on Velos
    Dec 12, 2025
    unavailable
Related Content
  • F5 HTTPS Redirect 2025
    Aug 28, 2025
    Tony_Marfil
  • F5 BIG-IP deployment with Red Hat OpenShift - keeping client IP addresses and egress flows
    Sep 02, 2024
    Ulises_Alonso
  • APM custom address space by client IP?
    Jan 20, 2023
    mjb109
  • Filtering traffic based on client ip address and URL
    Jan 29, 2023
    InquisitiveMai
  • Restricting Access to Virtual from client IP address in X-Forwarder-For HTTP header
    Mar 14, 2023
    NitinK