Forum Discussion
David_Edwards_2
Nimbostratus
Nov 09, 2006Persistence with UDP
Hello, not sure if this is under the right section.
The problem we have is we need to loadbalance UDP connections across a pool of servers.
All UPD packets come from the same sour...
JRahm
Admin
Nov 09, 2006You could try something like this:
when CLIENT_ACCEPTED {
set src_IP [IP::client_addr]
if { [session lookup uie $src_IP] equals "" } {
session add uie $src_IP [UDP::remote_port] 1800
log local0. "added client port [session lookup uie $src_IP] for client ip $src_IP "
} else {
log local0. "existing client port [session lookup uie $src_IP] for client ip $src_IP"
}
}
Untested, but it did pass the LTM syntax checker on 9.1.2.
Jason
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