C H A P T E R 18 Server Load Balancing (SLB)
351
.
Figure 18.1: Transparent mode
In Figure 18.1, the 480T routing switch is configured to respond to
requests for the VIP by forwarding them to the load balanced
servers.
The servers are configured as follows:
• The interface for server 1 is 192.168.200.1
• The interface for server 2 is 192.168.200.2
• The loopback address on the servers is 192.168.201.1 (VIP)
• The service is configured to use the appropriate address and port,
as specified in the switch configuration
The commands used to configure the switch as shown in
Figure 18.1 are described below. These commands configure the
VLANs and the switch IP addresses and subnets:
create vlan srvr
create vlan clnt
create vlan vips
configure srvr ipaddress 192.168.200.1 /24
configure clnt ipaddress 10.1.1.1 /24
configure vips ipaddress 192.168.201.1 /24
configure srvr add port 4-8
configure clnt add port 1-4
enable ipforwarding
480T_055R
Clients
Stream 1
Servers
Stream 2
Stream 3
Stream 2
Stream 1
Stream 3
3421
7865
11 12109
13 161514
87654321
161514131211109
Rx TxRx TxRx TxRx Tx