Forum Discussion

markn11_229516's avatar
markn11_229516
Icon for Nimbostratus rankNimbostratus
Oct 17, 2015

Basic Http Load balancing

Hello all,

 

I'm very new to F5. I have installed the virtual lab edition. I have three web servers with just a basic page. I have added them as nodes, and created a pool that contains those node. If I go to each IP from a browser, I get the expected page. If I telnet from the F5 appliance to port 80, to each of them, I also get the expected page.

 

I have attempted to setup a virtual server, with type "Standard", put the destination address, tried with/without selecting "http" as the Http Profile, and selected the pool that I created.

 

If go to a browser and type http://, it gives me page cannot be displayed. If I go to the F5 virtual appliance command line and telnet to the virtual server ip on port 80, and do a get / http/1.1, it does return the page. However, from any external client, even on the same subnet, it doesn't. I can ping the virtual server ip from anywhere without issue.. On the summary page, every time I see the same amount of connections accepted and abandoned

 

However, if I create a virtual server using the type "Performance (HTTP)". it works as expected.

 

Every video I've seen though, people have selected standard and it works, so not sure why it doesn't work for me. I'm using the Lab edition v13 - 11.6.0 (Build 0.0.401)

 

4 Replies

  • Sorry, one of my lines for cut when I hit submit. What I wrote in the 3rd paragraph was, if I go to a browser and type http:// the virtual ip address, it gives me page cannot be displayed
  • Do you have SNAT configured on the virtual server?

     

    Try enabling SNAT Automap which will use a F5's self IP as the source address for the server side connection.

     

  • Hi Andrew,

     

    I'm not using SNAT. I tried your suggestion and changed Source Address Translation to "Automap" and it worked. Although, it seems it goes to the same web server twice before going to the next one. I have it set to round robin.

     

    Why is automap required for the Standard type? I noticed when I set the virtual server to "Performance (HTTP)", the Source Address Translation is set to none, yet it works?

     

  • Thanks Alex. I'll be sure to have a look at the link.

     

    I was just confused why HTTP (Performance) type worked with no issue.