Forum Discussion
GlP_33611
Nimbostratus
Mar 29, 2007Do I need iRule to redirect outbound traffic
Hello,
I'm new on this forum. I have read many topics but I did not find answer to my question.
With a basic configuration, let say two internet service provider (ISP1 and ISP2) and internal network.
To forward outbound traffic, I have a network Virtual servers (destination 0.0.0.0/0.0.0.0), and I have created the Default Gateway with the default_gateway_pool (which contains the two default ISP routers).
I want to be sure that a specific flow (based on source ip address) which is comming from internal subnet (let say SubnetA) is going out to ISP1.
(because SubnetA belongs to my company and is not routed by ISP1)
Do I have to create iRule to do this job or is there an other method, for instance through load balancing configuration ?
Thanks.
GlP
- hoolio
Cirrostratus
Hi GIP,when CLIENT_ACCEPTED { if {[IP::addr "[IP::client_addr]/24" equals "10.20.30.0"]} { pool isp2_pool } else { pool default_gateway_pool } }
- GlP_33611
Nimbostratus
Hello, - dennypayne
Employee
Just FYI, you don't have to if it's port based traffic...you can create a 0.0.0.0:80 vip and point that to a different pool and LTM will process that before the 0.0.0.0:0 vip (most specific to least specific).
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