Forum Discussion

smeisenzahl's avatar
smeisenzahl
Icon for Employee rankEmployee
Jul 26, 2012

Irule for 1 IP but multiple service ports

I am having some difficulty trying to configure a service for our internal clients using "One" IP address on a server but the server has multiple apps on different ports. Is it possible to create an Irule for the GTM to do the following:

 

 

wip = test.company.com

 

 

The wip has two pools with a load balancing method of global availability.

 

In each pool there are two VIPS with the same IP but different service ports; see example below

 

 

Pool A

 

10.1.1.1:100

 

10.1.1.1:101

 

 

Pool B

 

10.1.2.1:100

 

10.1.2.1:101

 

 

I am trying to direct the request of test.company.com:100 to only 10.1.1.1:100. I have found that if .1:100 is down it will send the request to .1:101 if .1:101 is up. I do not want this to happen because the .1:101 service port is for a completely different application.

 

Is there a way to direct a request to only .1:100 if its up but if its down to reject or end the request? I would need the same for .1:101 in the same Irule.

 

 

Thanks in advance for the help.

1 Reply

  • I don't think this is possible - as the GTM is a DNS server, the concept of "port" has no meaning yet. The customer's LDNS server is merely asking the GTM for an IP for the particular hostname.

     

     

    You'd have to move this functionality down to the LTM, or set up two different WIPs with different pool members.