Applies To:

Show Versions Show Versions

Manual Chapter: Implementing Bandwidth Load Balancing
Manual Chapter
Table of Contents   |   << Previous Chapter   |   Next Chapter >>

4
You can configure the BIG-IP® Link Controller to use bandwidth load balancing to manage the traffic flowing in and out of a network. In bandwidth load balancing, the Link Controller uses a specific link until a traffic threshold has been met. After that threshold is met, the Link Controller shifts traffic to another link. When the traffic falls below the threshold, the Link Controller shifts traffic back to the first link.
Inbound, which refers to the amount of traffic flowing into the network
Outbound, which refers to the amount of traffic flowing out of the network
Total, which refers to the cumulative amount of traffic flowing in and out of the network
Note: When implementing bandwidth load balancing, it is important that your configuration applies to all of the links that the Link Controller manages. For example, F5 Networks does not recommend applying cost-based load balancing to one set of links and ratio load balancing to another set.
To illustrate how bandwidth load balancing works, consider the fictional company SiteRequest. This company has two links for managing its inbound and outbound traffic:
Link Alpha, which is the primary link for the network. This link uses an ISP to which a flat fee of $45 is paid for up to 50 Mbps of total (both inbound and outbound) traffic. If the limit is exceeded, SiteRequest incurs a $0.50/Mbps charge.
Link Beta, which is a secondary link for the network. This link uses an ISP with which SiteRequest does not have a prepaid amount of bandwidth. Instead, SiteRequest is billed based on a pay-as-you-go basis. The rate charged for using this link is set at $0.45/Mbps.
As these rates illustrate, the most cost-efficient configuration for SiteRequests links is to have Link Alpha handle traffic until it reaches 50 Mbps, then send any traffic over 50 Mbps to Link Beta. When the traffic decreases, the Link Controller must switch back to using only Link Alpha again.
The first task in configuring a Link Controller configuration that uses bandwidth load balancing to manage outbound traffic is to add and configure the links in the Link Controller.
Router Address
Uplink Address
1.
On the Main tab of the navigation pane, expand Link Controller, and then click Links.
2.
Click Create.
3.
In the Name box, type a name for the link.
4.
In the Router Address box, type the IP address of the router.
For this example, type 192.168.5.5.
5.
In the Uplink Address box, type the IP address that corresponds with the external Internet connection.
For this example, type 192.168.5.6.
6.
In the Service Provider box, type the name of the ISP provider.
For this example, select Global ISP.
7.
From the Configuration list, select Advanced.
8.
For the Traffic Limits setting, set the total bandwidth thresholds for the link.
For this example, select Up To from the Total list, and then type 4000.
9.
Click Create.
1.
On the Main tab of the navigation pane, expand Link Controller, and then click Links.
2.
Click Create.
3.
In the Name box, type a name for the link.
4.
In the Router Address box, type the IP address of the router.
For this example, type 192.168.10.5.
5.
In the Uplink Address box, type the IP address that corresponds with the external Internet connection.
For this example, type 192.168.10.6.
6.
In the Service Provider box, type the name of the ISP provider.
For this example, select Regional ISP.
7.
From the Configuration list, select Advanced.
8.
In the Traffic Limits area, set the total bandwidth thresholds for the link.
For this example, select Up To from the Total list, and then type 3000.
9.
Click Create.
After you have added and configured the links, the next task is to create the default gateway pool that load balances the traffic across the links.
1.
On the Main tab of the navigation pane, expand Local Traffic and then click Pools.
2.
Click Create.
3.
In the Name box, type the name of the pool.
For this example, type default_gateway_pool.
4.
For the New Members setting, add the IP addresses associated with each link. For this example type the following IP addresses and then click Add:
5.
Click Finished.
After you create a default gateway pool, you must instruct the Link Controller to use the pool as the default gateway connection between the internal network and the Internet.
1.
2.
Click Add.
3.
From the Type list, select Default Gateway.
4.
From the Resource list, select Use Pool.
5.
From the Pool list, select default_gateway_pool.
6.
Click Finished.
After you create the default gateway pool, you configure the virtual servers for each link that load balances inbound connections across the servers. You also configure one wildcard virtual server to load balance outbound connections across the routers.
VS for Link Alpha, which has an IP address of 10.10.5.5:80 and represents a single host on the network.
VS for Link Beta, which has an IP address of 10.10.10.6:80 and also represents a single host on the network.
1.
On the Main tab of the navigation pane, expand Local Traffic and then click Virtual Servers.
2.
Click Create.
3.
In the Name box, for this case, type VS for Link Alpha.
4.
For the Destination setting, select Host.
5.
In the Service Port box, type 80.
6.
Click Finished.
1.
On the Main tab of the navigation pane, expand Local Traffic and then click Virtual Servers.
2.
Click Create.
3.
In the Name box, type the name of the virtual server.
In this case, type outbound.
4.
For the Destination setting, in the Address box, type 0.0.0.0.
5.
In the Service Port box, type 0.
6.
Click Finished.
To complete this implementation, configure a wide IP to which the Link Controller load balances incoming DNS requests. The wide IP is made up of only virtual servers that the Link Controller manages.
1.
On the Main tab of the navigation pane, expand Link Controller and then click Inbound Wide IPs.
2.
Click Create.
3.
In the Name box, type the URL of the wide IP.
For this example, type www.siterequest.com.
4.
For the Load Balancing Method setting, make selections from the three lists. For this example:
Select Kilobytes/Second from the Preferred list.
Select Round Robin from the Alternate list.
Select Return to DNS from the Fallback list.
5.
For the Member List setting, add the virtual servers that you created previously.
For this example, select the following from the Virtual Server list, and then click Add:
6.
Click Finished.
You now have a Link Controller configured to manage DNS traffic for wide IP www.siterequest.com. As data flows in and out of the network, the Link Controller monitors the total amount of bandwidth for each link. While traffic remains below 4Mbps, the Link Controller uses Link Alpha. If traffic exceeds that amount, the Link Controller sends the overflow traffic to Link Beta. If a link goes offline for any reason, the Link Controller uses the Alternate and Fallback load balancing modes to route traffic through an available link.
Table of Contents   |   << Previous Chapter   |   Next Chapter >>

Was this resource helpful in solving your issue?




NOTE: Please do not provide personal information.



Incorrect answer. Please try again: Please enter the words to the right: Please enter the numbers you hear:

Additional Comments (optional)