Forum Discussion

Osama_Ibrahim_M's avatar
Osama_Ibrahim_M
Icon for Nimbostratus rankNimbostratus
Mar 08, 2017

iRule to pass the traffic to one VS from diffrent ports (443 and 8855).

Hi everyone,

 

Would you support me in very urgent task, please the story below so you can understand my task.

 

Currently I have application in production using the URL, this application configured in VS in port 443 with two nodes, all in range 10.0.249.X. Now we have new application but in port 8855, I need to use the current VS to pass the traffic for both application (ports 443 and 8855).

 

I configured new node in addition of old two nodes but in port 8855. can you help me to configure the load balancer in such a way that all the requests coming to LTM over port 443 redirected to first two nodes, and all requests coming over port 8855 redirected to node 3 only.

 

Is there any way or iRules can do this.

 

Thanks in advance.

 

2 Replies

  • Hi Osama Ibrahim Mohammed,

     

    what is the exact reason to use a IP:ANY Virtual Server and a combined Pool for both applications?

     

    It would be in 99 out of 100 cases much more elegant and effective, to use two dedicated Virtual Servers for :443 and :8855 access and then attach different pools (Pool443=10.0.249.127/128:443 and Pool8855=10.0.249.131:8855) to the Virtuals. In this case you don't need to write iRules...

     

    Cheers, Kai