ltm rule command local addrΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



local_addr
       Deprecated: Use IP::local_addr instead.

SYNOPSIS
       local_addr

DESCRIPTION
       Deprecated: Use IP::local_addr instead

RETURN VALUE
       Returns the IP address being used in the connection. In the clientside
       context, this is the destination IP address from the client request
       (not necessarily the virtual IP address). In the serverside context,
       this is the source IP address (SNAT address if SNAT is used, else
       spoofed client IP address).

VALID DURING
EXAMPLES
	when CLIENT_ACCEPTED {
	    log local0. "client ip addr: [local_addr]"
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-9.0.0 --First introduced the command.  --Deprecated: Use
       IP::local_addr instead



BIG-IP				  2017-01-31			      iRule(1)