Forum Discussion
Ger_Hackett_323
Aug 11, 2011Nimbostratus
Display client source address
To aid the diagnosis of a connectivity issues, I need to use a HTTP::respond to display the client’s IP address.
I’ve tried the code below in an iRule, but the [IP::client_addr] does not get substituted. Do you know how to have the [IP::client_addr] show the client's IP address?
Thanks.
HTTP::respond 200 content {
OK
Source address was [IP::client_addr]
}
- Michael_YatesNimbostratusHi Ger Hackett,
when HTTP_RESPONSE { HTTP::respond 200 content " Client IP Address Client Identifier Your IP Address is: [IP::client_addr] " }
- Ger_Hackett_323NimbostratusHi Michael,
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