F5 Example of load balancing: wheel-hunt

Source: Internet
Author: User
Tags f5 load balancer

/**

* Lihaibo

* The content of the article is based on the practice of their own work.

* If there is an error, please correct me

* No reprint without the consent of the author

*/

Planning:

F5 Big Big-IP  
Intranet 192.168.100.0 255.255.255.0
External network 10.50.20.0 255.255.255.0
Virtual Server Vs_web  
Node_pool Pool_web  

Principle Realization Diagram:

================================================================

First, landing

Use one end of the network cable to connect the F5 's management port, and the other end to the PC's network port: The network card is set to 192.168.1.254

Use HTTPS login in chrome: https://192.168.1.254/

Factory Default User name: admin, Password: admin

Second, registered license

Click to view F5 Load Balancer activation license

Third, create a VLAN

"Create an intranet VLAN"

Click the "Create" button on the "Network→vlans" page:

Name:internal

TAG:100 (can be arbitrarily set, because my intranet is 100 network segment.) )

Port: 1.2 Move to UNTAG

"Create an Extranet VLAN"

Click on the "Create" button on the "Network→vlans" page to create the VLAN:

Name:extenal

TAG:100 (can be arbitrarily set, because my intranet is 100 network segment.) )

Port: 1.1 Move to UNTAG

Iv. creating IP for F5 itself

1, create their own intranet ip:192.168.100.7

Click the "Create" button on the "Network→self IPs" page:
IP Address column: 192.168.100.7 (fill in the intranet IP)
Netmask Fill in: 255.255.255.0 (fill in the intranet subnet mask)
VLAN Bar Selection: Internal
Port Lockdown Bar Selection: Allow default (default value)

2, create their own external network ip:10.50.20.2
Click the "Create" button on the "Network→self IPs" page:
IP Address column: 10.50.20.2 (fill out network IP)
Netmask Fill in: 255.255.255.0 (outside the net mask)
VLAN Bar Selection: External
Port Lockdown Bar Selection: Allow default (default value)

Iv. Creating a default gateway route

Vi. Creating server pools (pool)

Create Squid server pool: Pool_web
Click the "Create" button on the "Local traffic→pools" page:
Name field: Pool_web (please fill in an English name)
Load Balancing Method Bar selection: Round Robin (the load balancing method chosen here is polling, or other options available)
New Members column: First select new address, then add two Web server IP addresses 192.168.100.116,192.168.100.126 , and their port 80

Create Virtual server (Servers)

Create a Squid virtual server in "layer four" load Balancing mode: Vs_squid
Click the "Create" button on the "Local traffic→virtual Servers" page:
⑴, general properties under large categories:
①, Name field fill in: Vs_web (fill in an English name)
②, Destination column: Select Host, fill out the Web server's external network virtual IP, (virtual IP, referred to as VIP)
③, Service port column fill: 80

Test:

Reference Document: http://zyan.cc/f5_big_ip/

F5 Example of load balancing: wheel-hunt

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.