Forum Discussion
Add multiple subnets as pool memebrs
Hi All,
Is there any way or irule to add multiple subnets as pool memebrs.
example: 72.4.117.96/27 and 192.30.252.0/22 on diff ports
6 Replies
- Kevin_Stewart
Employee
A pool member is going to be a specific IP and a specific port. Can you elaborate on what you're trying to do?
- JRahm
Admin
yes, a pool doesn't have to be a collection of servers from a single subnet. As long as BIG-IP can route to them, they can be from any subnet. But as Kevin suggests, you can't just specify a subnet as a pool member, the BIG-IP defines a pool member as an IP:port combination.
- Srini_87152
Cirrostratus
OK..
Application will round-robin the services across many IP's in the subnets.
We don’t know specific IPs to add as pool members, so is there any way use entire subnet under the pool configuration[by using iurle?]
- Kevin_Stewart
Employee
You could potentially loop through a list of IPs with an iRule, but what guarantee is there that a service is listening on that IP? It makes no sense to send traffic to an IP address and port if there's not a server somewhere listening on that IP and port.
Is it that you don't know the listening IPs (and ports), or that they can change often?
If the former, you need to find out. If the latter, you may want to consider running a periodic script that "re-compiles" the pool member list based on the availability of IPs in a given subnet.
- Srini_87152
Cirrostratus
We know the subnets and ports and application will move often with in the range of subnets.
- Kevin_Stewart
Employee
How often? Sounds like a moving target. Is there any indication of the movement? Any chance that the service could alert the F5 of its new (and old) IP/port via iControl call?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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