Forum Discussion

Eduardo_Saito_1's avatar
Eduardo_Saito_1
Icon for Nimbostratus rankNimbostratus
Apr 05, 2008

Several client connections and a single server connection.

Hello guys.

 

 

 

I have to multiplex several client connections into a single server connection. I've tried using OneConnect profile but it just reuse the connection and when I try to send 2 simultaneous connections I've ended with 2 distinct server connections.

 

 

The connection is TCP based and it is an ISO format so I have something like an unique id per client recorded on the payload (in the request and response as well).

 

 

Today they are using a LINUX based system and a software that does the multiplex. I'm trying to do the same job here.

 

 

I was thinking of receiving all client connections letting just the first one to the server, using oneconnect to re-use it. After the first connection, I was thinking of receiving all packets from the other connections and relaying it to the first connection.

 

 

I could use global variables to to this but I would need to create an wait and check iRule that as stated several times on DevCentral it's not possible.

 

 

Has anyone have an idea how I can do this?

 

 

 

Thanks!!!

4 Replies

  • sounds like what you are talking about is tunneling, which is not what the load balancer can do for you. All it can do is help you deliver the traffic not create a tunnel for you.

     

     

  • Hi,

     

     

    Have you specify a mask in your one connect profile ? it must be 0.0.0.0 to make a connection between the bigip and the server be use-able by any client

     

     

    With an iRule you won't be able to specify which server connection you want to use.

     

     

    HTH

     

     

     

     

  • Hi.

     

     

     

    I did set it to 0.0.0.0. It seems like OC works as a connection reuse profile and not working with 2 or more connections at the same time using the same server connection.

     

     

    Unfortunately iRules works in a serial way so when an iRule is working, the entire BIG-IP have to process that iRule or a specific event inside the iRule before initiating another one so any endless looping would freeze the entire BIG-IP.

     

     

    Thanks everyone for the help.