Forum Discussion
qingnian_74284
Nimbostratus
Jan 23, 2008Urgent, please help to check why this irule didn't work
Hi everybody,
I create a irule try to send source IP in the defined range to CSG_IN pool, and send Server IP in the defined range to CSG_OUT pool, but it did't work, eg, I trace the traffic...
hoolio
Cirrostratus
Jan 23, 2008IP::server_addr isn't a valid command in the CLIENT_ACCEPTED event as there isn't a server side connection established yet. You should see a TCL error in the /var/log/ltm log file.
You might be looking for IP::local_addr which will return the destination IP of the client's packet.
Also, what do you want to happen if 192.168.253.1 made a request to 192.168.254.1? With your current rule, it would be sent to the CSG_OUT pool.
For your reference, check this post for details on the IP:: command output in various events: (Click here)
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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