Forum Discussion
Can somebody help me
Hi everyone,
I have a VS "performance (Layer 4)"type, without destination address, which captures TCP traffic by source address, in all ports, and directs it to a POOL. This is working correctly.
This is the configuration of VS
ltm virtual inv_wifi_1 {
destination 0.0.0.0:any
fallback-persistence dest_addr
ip-protocol tcp
mask any
persist {
source_addr {
default yes
}
}
pool wifi_Any
profiles {
fastL4_NO_syncookie_protection { }
}
rules {
wifi
}
source 10.0.4.0/24
translate-address disabled
translate-port disabled
vs-index 2
}
Now I want the traffic that is being captured and balanced towards the pool to be forwarded, considering the destination IP. I created the following iRule but it is not working. I need some help creating an iRule to make all trafic redirect based on the dest IP address.
ltm data-group internal net_CPD_allow {
records {
10.0.5.0/24 { }
}
type ip
}
My irule is the following:
if { ([matchclass [IP::remote_addr] equals net_CPD_allow]) }{
log ltm.
log local0. " IP [IP::client_addr] cpd --> 10.5.0.0/24"
10.5.0.0/24 routing
forward
}
Internet.
pool "wifi_Any"
}
}
The irule does nothing. It is developed correctly, since no errors are observed in the compilation.
Can somebody help me
- Stanislas_Piro2Cumulonimbus
Please change the question title with a summary of the question.
questions with help me are less read than others.
I didn't read the question and won't with such title as most DC contributors.
- Lee_SutcliffeNacreous
Please change the datagroup so the type is
Let me know if this helpsstring
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com