Applies To:
Show VersionsBIG-IP versions 1.x - 4.x
- 4.0 PTF-04, 4.0 PTF-03, 4.0 PTF-02, 4.0 PTF-01, 4.0.0
3
Installing a BIG-IP Controller without Changing the IP Network
Installing a BIG-IP Controller without changing IP networks
A combination of several features of the BIG-IP Controller allow you to place a controller in a network without changing the existing IP network.
The following figure shows the data center topology before you add the BIG-IP Controller. The data center has one LAN, with one IP network, 10.0.0.0. The data center has one router to the Internet, two web servers, and a back-end database server.
Figure 3.1 Existing data center network structure
The existing data center structure does not support load balancing or high availability. Figure 3.2 is an example of the data center topology after you add the BIG-IP Controller.
Figure 3.2 New structure after adding the BIG-IP Controller
Both the internal and external interfaces of the BIG-IP Controller are on the same IP network, 10.0.0.0, but they are effectively on different LANs.
Configuring the controller for the same IP network
To configure the BIG-IP Controller for this solution, you must complete the following tasks:
- Remove the self IP addresses from the individual VLANs
Remove the self IP addresses from the individual VLANs. Routing is handled by the self IP address you create for the VLAN group. - Create a VLAN group
Create a VLAN group that includes the internal and external VLANs. This enables L2 forwarding. - Create a self IP for the VLAN group
The self IP for the VLAN group provides a route for packets destined for the network. - Create a pool of web servers
Create a pool that contains the web servers that you want to load balance. - Create a virtual server
Create a virtual server that load balances the web servers.
Note: This example assumes that are using the default internal and external VLAN configuration with self IP addresses on each VLAN that are on the same IP network on which you are installing the controller.
Note: The default route on each content server should be set to the IP address of the router. In this example, you set the default route to 10.0.0.2
Removing the self IP addresses from the individual VLANs
Remove the self IP addresses from the individual VLANs. After you create the VLAN group, you will create another self IP address for the VLAN group for routing purposes. The individual VLANs no longer need their own self IP addresses.
Warning: We recommend that you perform this step from the console. If you are connected from a remote workstation, you will be disconnected when you delete the self IP addresses.
To remove the self IP addresses from the default VLANs using the Configuration utility
- In the navigation pane, click Network.
The VLANs screen opens. - In the VLANs screen, click the Self IP Addresses tab.
The Self IP Addresses screen opens. - Delete the self IP addresses for the external and internal VLANs
To delete self IP addresses from the individual VLANs from the command line
To delete the self IP addresses from the individual VLANs, use the following syntax.
b self <ip addr> delete
Repeat the command to delete each self IP address on the internal and external VLANs.
Creating a VLAN group
Create a VLAN group that includes the internal and external VLANs. Packets received by a VLAN in the VLAN group are copied onto the other VLAN in the group. This allows traffic to pass through the BIG-IP Controller on the same IP network.
Tip: A VLAN group name can be used anywhere a VLAN name can be used.
To create a VLAN group from the Configuration utility
- In the navigation pane, click Network.
The VLANs screen opens. - In the VLANs screen, click the VLAN Groups tab.
The VLAN Groups screen opens. - In the VLAN Groups screen, click the Add button to add the VLAN group.
Configuration notes
· For this example, the VLAN group name is myvlangroup.
· Make sure the Proxy Forward check box is checked.
· Add the internal and external VLANs to the VLAN group.
To create a VLAN group from the command line
To create the VLAN group myvlangroup from the command line, type the following command:
b vlangroup myvlangroup { vlans add internal external }
Creating a self IP for the VLAN group
The self IP for the VLAN group provides a route for packets destined for the network. With the BIG-IP Controller, the path to an IP network is a VLAN. However, with the VLAN group feature used in this example, the path to the IP network 10.0.0.0 is actually through more than one VLAN. Since IP routers are designed to have only one physical route to a network, a routing conflict can occur. The self IP address feature on the BIG-IP Controller allows you to resolve the routing conflict by putting a self IP address on the VLAN group.
To create a self IP address for a VLAN group using the Configuration utility
- In the navigation pane, click Network.
The VLANs screen opens. - In the VLANs screen, click the Self IP Addresses tab.
The Self IP Addresses screen opens. - In the Self IP Addresses screen, click the Add button to start the Add Self IP Address wizard.
Configuration notes
· For this example, the self IP address you add for the VLAN group is 10.0.0.6.
· When you choose the VLAN you want to apply the self IP address to, select the VLAN group you created that contains the internal and external VLANs.
To create a self IP address for a VLAN group from the command line
To create a self IP address on the VLAN group, type the following command:
b self 10.0.0.6 vlan myvlangroup netmask 255.255.255.0
Creating the pool of web servers to load balance
After you create the network environment for the BIG-IP Controller, you can create the pool of web servers you want to load balance.
To create a pool using the Configuration utility
- In the navigation pane, click Pools.
The Pools screen opens. - In the Pools screen, click the Add button to start the Add Pool wizard.
Configuration note
· For this example, the pool contains the web servers 10.0.0.3 and 10.0.0.4.
To create a pool from the command line
To create a pool from the command line, type the following command:
b pool mywebpool { member 10.0.0.3 member 10.0.0.4 }
In this example, you create the pool name mywebpool with the members 10.0.0.3 and 10.0.0.4.
Creating the virtual server to load balance the web servers
After you create the pool of web servers you want to load balance, you can create the virtual server.
To create a virtual server using the Configuration utility
- In the navigation pane, click Virtual Servers.
The Virtual Servers screen opens. - In the Virtual Servers screen, click the Add button to start the Add Virtual Server wizard.
Configuration notes
· For this example, the virtual server address is 10.0.0.5.
· Add the pool that contains the web servers 10.0.0.3 and 10.0.0.4.
To create a virtual server from the command line
To create the virtual server for this example from the command line, type the following command:
b virtual 10.0.0.5:80 use pool mywebpool
In this example, mywebpool contains the web servers.
Additional configuration options
Whenever a BIG-IP Controller is configured, a number of options are available to the user:
- You have the option in all configurations to configure a redundant BIG-IP Controller for fail-over. Refer to Redundant Systems in the BIG-IP Reference Guide, Chapter 1, Configuring the BIG-IP Controller.
- All configurations have health monitoring options. Refer to Health Monitors in the BIG-IP Reference Guide, Chapter 1, Configuring the BIG-IP Controller.
When you create a pool, there is an option to set up persistence and a choice of load balancing methods. Refer to Pools in the BIG-IP Reference Guide, Chapter 1, Configuring the BIG-IP Controller.