Forum Discussion

vw16_304659's avatar
vw16_304659
Icon for Nimbostratus rankNimbostratus
Dec 30, 2016

load balancer in same VLAN

I have my tomcat and app server both on same vlan ( no firewall in between). I need to use F5 LTM in between them to load balance application across all server ? what would be best way ?

 

2 Replies

  • Just create a pool with the 2 servers in them. Sorry, the question seems simple. Is there a specific problem that you are trying to tackle ?

     

  • THi's avatar
    THi
    Icon for Nimbostratus rankNimbostratus

    Main idea is to have the BIG-IP in the traffic path between the client and the server for both requests and their responses. If the BIG-IP, clients and servers are sitting in same network, you need to do NATting to force the return packets back via the BIG-IP instead of going directly. This is normally done with SNAT Automap in the virtual server configuration. You may need to add information of the client IP if the server needs it as using SNAT will lose it. This can be done by adding an X-FORWARDED-FOR header into the request (in HTTP profile). You may need to add routes, too, depending on your actual topology.

     

    More information how to configure is here: Configuring a One-IP Network Topology