Forum Discussion
SanjayP
Nacreous
No. IP::server_addr will give you node IP address (without port). TCP::server_port will give node port.
But if you just use LB::server it will give you node IP, port (member) and pool name.
SanjayP
Jul 17, 2021Nacreous
When you say local IP address, I'm assuming you are mentioning F5 selfIp address?
Below iRule will insert f5_server header with value of <f5_floating_selfIP>__<node_ip>.
when HTTP_RESPONSE {
HTTP::header insert f5_server "[IP::local_addr]_[IP::server_addr]"
}
I think I overlooked your original request and iRule.my bad. So your original iRule was ok, I would just add name of the header. Hope this helps.