Forum Discussion

Aan_Kasman_590's avatar
Aan_Kasman_590
Icon for Nimbostratus rankNimbostratus
Feb 13, 2007

How 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

1 Reply

  • 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?

     

     

    Denny