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

14
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 110 and VLAN 200.
<Sysname> Sysname-view
[Sysname] vlan 110
[Sysname-vlan110] vlan 200
[Sysname-vlan200] quit
2. Create VLAN interfaces and configure IP addresses for the interfaces.
[Sysname] interface vlan-interface 110
[Sysname-Vlan-interface110] ip address 202.38.1.2 255.255.255.0
[Sysname-Vlan-interface110] quit
[Sysname] interface Vlan-interface 200
[Sysname-Vlan-interface200] ip address 192.168.1.254 255.255.255.0
[Sysname-Vlan-interface200]quit
3. Assign ports to VLAN 110 and VLAN 200.
[Sysname] interface GigabitEthernet 4/0/16 //Connects to the external network client
[Sysname-GigabitEthernet4/0/16] port access vlan 110
[Sysname-GigabitEthernet4/0/16] quit
[Sysname] interface GigabitEthernet 4/0/1 //Connects to Server1
[Sysname-GigabitEthernet4/0/1] port access vlan 200
[Sysname-GigabitEthernet4/0/1] quit
[Sysname]interface GigabitEthernet 4/0/2 //Connects to Server2
[Sysname-GigabitEthernet4/0/2] port access vlan 200
[Sysname-GigabitEthernet4/0/2] quit
[Sysname] interface Ten-GigabitEthernet 2/0/1 // Connected to the LB module
[Sysname-Ten-GigabitEthernet2/0/1] port access vlan 200
[Sysname-Ten-GigabitEthernet2/0/1] quit
4. 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.1.253
Configuration file
#
vlan 110
description Outside
#
vlan 200