Forum Discussion
Aan_Kasman_590
Nimbostratus
Feb 13, 2007How to prevent certain subnet from ISPA not goes to ISPB using an iRule
Hi folks,
I need to implement iRule in Link Controller.
Currently our customer have subnet x.x.x.x configured on ISP_A and y.y.y.y subnet on ISP_B. Link controller has translated all the traffic went to internet based on round robin mechanism inside the default_gateway_pool configuration. This become problem when ISP_A only allows x.x.x.x to relaying their mail server and ISP_B allowed subnet y.y.y.y. This particular smtp traffic must be managed with proper isp links. It would be great if you have an idea in iRule for how to prevent/ discard the smtp traffic from subnet x.x.x.x goes to ISP_B's smtp server or vice versa.:P
Cheers,
foot|oose
- dennypayne
Employee
I'm not sure of a way to do it via hostname, since CLIENT_ACCEPTED doesn't seem to have any facilities to do that. I'm thinking that you shouldn't need to worry about that though, because when the internal server resolves the abc.com hostname, it's going to make the call by the IP it receives, so you should be covered. Am I missing something?
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