R3204P16-HP Load Balancing Module Typical Configuration Examples-6PW101

5
Configuration procedures
NOTE:
The following configurations are made on devices that are using default settings and verified in a lab
environment. When usin
g
the followin
g
confi
g
urations on your devices in a live network, make sure the
y
do not conflict with your current configurations to prevent potential negative impact on your network.
Configurations on A7503
Configuration procedures
1. Create VLANs.
# Create VLAN 10, VLAN 110, and VLAN 200.
<Sysname> Sysname-view
[Sysname] vlan 10 //Connects to the LB module
[Sysname-vlan10] vlan 110 //Connects to the external network client
[Sysname-vlan110] vlan 200 //Connects to the internal servers
[Sysname-vlan200] quit
[Sysname]
2. Create VLAN interfaces and configure IP addresses for the interfaces.
[Sysname] interface Vlan-interface 10
[Sysname-Vlan-interface10] ip address 192.168.10.1 255.255.255.252
[Sysname-Vlan-interface10] interface vlan-interface 110
[Sysname-Vlan-interface110] ip address 202.38.1.2 255.255.255.0
3. Assign ports to VLAN 110 and VLAN 200.
[Sysname] interface GigabitEthernet 4/0/16 //Connects to the external client
[Sysname-GigabitEthernet4/0/16] port access vlan 110
[Sysname-GigabitEthernet4/0/16] quit
[Sysname] interface GigabitEthernet 4/0/1 //Connects to Server_1
[Sysname-GigabitEthernet4/0/1] port access vlan 200
[Sysname-GigabitEthernet4/0/1] quit
[Sysname] interface GigabitEthernet 4/0/2 //Connects to Server_2
[Sysname-GigabitEthernet4/0/2] port access vlan 200
[Sysname-GigabitEthernet4/0/2] quit
4. Configure the 10GE interface that connects the LB module as a trunk interface, and assign it to
VLANs 10 and 200.
[Sysname] interface Ten-GigabitEthernet 2/0/1
[Sysname-Ten-GigabitEthernet2/0/1] port link-type trunk
[Sysname-Ten-GigabitEthernet2/0/1] undo port trunk permit vlan 1
[Sysname-Ten-GigabitEthernet2/0/1] port trunk permit vlan 10
[Sysname-Ten-GigabitEthernet2/0/1] port trunk permit vlan 200
[Sysname-Ten-GigabitEthernet2/0/1] quit
5. Add static routes.
[Sysname] ip route-static 0.0.0.0 0.0.0.0 202.38.1.1
[Sysname] ip route-static 172.16.1.0 255.255.255.0 192.168.10.2