Forum Discussion
KPS_149915
Nimbostratus
9 years agoSource Redirect irule nor working
Hi All
Am trying to achieve source based redirect but having issues. VIP is listening on port 514. Seems all traffic are sending in poolb_520_UDP, not sure why.
when CLIENT_ACCEPTED {
if { ...
- 9 years ago
some modification require in above irule. Try this & paste if any issue.
when CLIENT_ACCEPTED { if {([IP::client_addr] equals 10.192.12.0/24) or ([IP::client_addr] equals 10.193.12.0/24)} { switch [UDP::local_port] { 514 { pool poola_514_UDP } default { pool poolb_520_UDP } } } }
stan_piron
Cumulonimbus
9 years agothe IP address condition was not working...
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr]/24 equals 10.192.12.0] or [IP::addr [IP::client_addr]/24 equals 10.193.12.0] } {
switch [UDP::local_port] {
514 { pool poola_514_UDP }
default { pool poolb_520_UDP }
}
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects