Forum Discussion
Sofiane_86327
Nimbostratus
Feb 24, 2011gateway pool selection based on source IP addresse
hi guys,
i am in charge of deploying a Big-IP link controller V10.2.1, this is my first experience with this product
this is my issue
as depicted in the diagramme bellow, we have 4 ISPs links. the idea is to use 2 links for publishing services ( www, mail,...) and to links for corporate users internet acces.
ISP1 ISP2 ISP3 ISP4
\ | | /
\ | | /
--------------------------- /
| Big-IP |
|--------------------------|
| 172.16.10.254
|
|
---------------------
| cisco router |
|-------------------|
| |
| |
172.16.30.X 10.X.X.X
i make some researches in your forums, and it seems the solution is the creation of an irule which filter traffic comming from 10. x network and associate the correct GW pool to it. and associate this irule to the default VS (0.0.0.0)
when CLIENT_ACCEPTED
{
if { [IP::client_addr] starts_with "10." }
{ pool GW_Pool_Corporate}
}
my question is:
- does this make sens !!! is it the correct solution
- is the irule correct for this issue
- do i have to specifie an SNAT POOL
regards
sofiane
5 Replies
Sort By
- Chris_Miller
Altostratus
I had to do something very similar and you're off to a great start. You'll want to use a SNAT pool so LC can use the right SNAT per link. - hoolio
Cirrostratus
Also, you can use IP::addr to perform a bit level comparison of the IP addresses. This should be more efficient and functional than just doing a string comparison to see if the client IP starts with "10.": - hoolio
Cirrostratus
Also, if you only want traffic from one VLAN to use any of the outbound links, you could enable the 0.0.0.0 virtual server just on that inbound VLAN and avoid an iRule. - Sofiane_86327
Nimbostratus
hi guys, - hoolio
Cirrostratus
You're correct. If the clients are coming into LTM on the same then you'll need an iRule to separate the traffic to different pools.
Recent Discussions
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