Forum Discussion
Michael_C_16907
Nimbostratus
Jan 30, 2010simple iRule problem
I'm new in writing an iRule, and I need to write a simple iRule to direct my outbound traffic into 3 different pools. But after I write this iRule, it stops all my traffic. What is the problem with th...
Hamish
Cirrocumulus
Jan 30, 2010If it stops all traffic, it's probably a TCL error. What do your logs say?
The iRule also doesn't match your logic as you explained it... Do you always want 118.143.13.0/24 and 203.186.55.0/24 to bypass pool 1? If so you need to do those checks first and not AFTER the checks for port.
Also you're checking the client (source or as the docs say remote) port. You need to be checking the local port (TCP::local_port) if I understand your explanation correctly.
In order for you to understand what's happening, I'd also sprinkle the relevant log messages through the code... e.g.
Oh.. WIth those logic errors, if you don't have a default pool, youll be getting all your other clients falling through. Because your clients will never be coming from port 25 or 110... (Windows will use 1701/1723 for src ports, but Unix won't).
H
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