18.13 Example for Configuring Inter-VLAN Layer 3 Roaming
Networking Requirements
As shown in Figure 18-13, two APs are deployed in a campus network to provide WLAN services for employees of two departments, and are managed and controlled by an AC. The AC dynamically assigns IP addresses to the APs and STAs. The employees of the two departments belong to different VLANs, that is, AP1 belongs to VLAN101 and AP2 belongs to VLAN 102. The APs communicate with the AC through a Layer 3 network, and the APs and AC belong to the management VLAN 100.
The department requires that services should not be interrupted when a STA moves from AP1 to AP2.
Data Preparation
| Item | Data |
|---|---|
| Management VLAN for APs | VLAN 100 |
| Service VLANs for STAs | AP1: VLAN 101 AP2: VLAN 102 |
| DHCP server | The AC functions as the DHCP server for the APs. The aggregation switch functions as the DHCP server for STAs. |
| IP address pool for APs | 192.168.10.2 to 192.168.10.254/24 |
| IP address pool for STAs | AP1: 192.168.101.3 to 192.168.101.254/24 AP2: 192.168.102.3 to 192.168.102.254/24 |
| AC ID/Country code | 0/CN |
| AC's source interface | VLANIF 100 |
| WLAN radio profile | Name: radio WMM profile: wmm |
| WLAN service set | Name: huawei1
Name: huawei2
|
Configuration Roadmap
- Use the configuration wizard to configure the AP to go online on the AC.
- Use the configuration wizard to configure the WLAN service on the AC.
- Deliver the WLAN service to the AP and verify the configuration.
Procedure
- Configure the access switch and aggregation switch.
# On the access switch, add GE0/0/1 to VLAN 100 and VLAN101, and add GE0/0/2 to VLAN 100 and VLAN 102. The default VLAN of GE0/0/1 and GE0/0/2 is VLAN 100.
# On the aggregation switch, add GE0/0/1 to VLAN 100, VLAN 101, and VLAN 102, GE0/0/2 to VLAN 100, GE0/0/3 to VLAN 101 and VLAN 102, create VLANIF 100, and configure an IP address 192.168.100.2/24 for VLANIF 100.
# Configure an IP address pool on VLANIF 101 and VLANIF 102 of the aggregation switch to assign IP addresses to STAs.
# Configure DHCP relay on the aggregation switch and set the IP address 192.168.100.1/24 of VLANIF 100 on the AC as the DHCP server address.
- Configure the APs to go online on the AC.
- Configure option parameters for the DHCP server.
# Choose , select the address pool named huawei, and click
.# Set the parameter for Vendor-defined.

- Configure a static route.
# Choose and click Create to create a static route.

- Configure the WLAN service.
- Verify the configuration.




















