Example For Configuring Layer 3 Server Load Balancing In Dnat Mode - Huawei quidway s7700 Configuration Manual

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - SPU
6.6.3 Example for Configuring Layer 3 Server Load Balancing in
DNAT Mode
This section describes how to configure Layer 3 server load balancing in NAT mode to improve
service processing capabilities of servers.
Networking Requirements
As shown in
server groups. The load balancing group provides DNS services through a virtual IP address.
The user IP address is 10.10.10.2; the virtual IP address is 20.20.20.2:80; the servers with IP
addresses being 192.168.20.1 and 192.168.20.2 are located in a server group; the servers with
IP addresses being 192.168.20.3 and 192.168.20.4 are located in a server group. The processing
capabilities of each server such as the CPU, memory, and performance are different. The
requirements are as follows:
l
l
l
The Switch is connected to the Internet through GE 3/0/0 and the SPU is installed in slot 5 of
the Switch.
GE 3/0/1, GE 3/0/2, GE 3/0/3, and GE 3/0/4 of the Switch are connected to ServerA, ServerB,
ServerC, and ServerD respectively.
Issue 01 (2011-07-15)
load-balance action act1
group servergroup1
#
load-balance l7classifier l7cls1
match any
#
load-balance ip interface Eth-Trunk 0.2
#
load-balance l3classifier l3cls1
l7classifier l7cls1 action act1
if-match acl 3000
#
load-balance policy lbp1
l3classifier l3cls1
#
return
Figure
6-10, a user accesses servers. There are four servers, which constitute two
The server with greater processing capabilities receives more service requests.
The return traffic of servers passes through the load balancing device.
Services can be automatically switched between the master server and the backup server
to ensure successful network access.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
288

Advertisement

Table of Contents
loading

Table of Contents