Forum Discussion

VaUk89's avatar
VaUk89
Icon for Nimbostratus rankNimbostratus
Aug 21, 2019

Load balancing without hiding the servers ip

Hello,

I would like to have a load balancer VS that will redirect the client to the web server members of the pool.

 

For example if I ping VS 10.195.10.10 it should return the hostname of the web server that has been selected in the balancing decision and not the one from the VS.

 

It is possible to achieve something like this?

 

Thank you for your help

4 Replies

  • HI VaUk89,

     

    "ping VS 10.195.10.10 it should return the hostname of the web server that has been selected in the balancing decision and not the one from the VS"

     

    If you want the F5 to pass ICMP traffic you will need a Performance (L4) virtual server similar to the following, https://support.f5.com/csp/article/K7366

     

    Best,

    Andrew

  • VaUk89's avatar
    VaUk89
    Icon for Nimbostratus rankNimbostratus

    Hello Andrew,

    Thank you for your answer. I've tried to create the l4 vs pointing to my pool, once the configuration is completed, it's still not pinging nor doing any balancing decision, see the configuration attached.

     

    Do you have any other suggestion for me?

     

    I've followed https://support.f5.com/csp/article/K7366 as you suggest, part 1.

     

    Thank you for your help,

     

     

  • Hi,

     

    I think there is confusion.

    indeed the VS L4 can transmit ICMP packets but will not return the PTR of the IP backend but that of the IP of the VS.

     

    keep in mind the following points:

    - the ping will be well transmitted to the backend but the hostname returned is still that of the VS (we are on the ICMP protocol)

     

    on the other hand, the backend can return you its hostname in the HTTP header. the problem that you are likely to have is that once the hostname of backend returned, you will reach the server without going through F5 ...

     

    hope it's clear.

     

    what is your need? we could help you

     

    regards

    • VaUk89's avatar
      VaUk89
      Icon for Nimbostratus rankNimbostratus
      Hello youseef, Thank you for your help with this. The situation is quite unusual as the vendor of the software (Sunsystem) is requiring that the servers behind the load balancer should be able to be contacted by the main application server. Basically the application will try to ping and resolve the hostname of the 3 server that sits behind the f5 but obviously fails because the VS is answering instead. I totally agree with you that is pointless to directly reach the servers without going trough load balancer, but I cannot really find a solution for this. Any other idea?