Example for Configuring the Soft GRE Service
Service Requirements
Enterprise users can access the network through WLANs, which is the basic requirement of mobile office. Furthermore, users' services are not affected during roaming in the coverage area. A wired network has been deployed in an area. To provide more convenient network access services, administrators need to deploy a wireless network in this area. To facilitate the unified management of wired and wireless users, administrators also need to use the existing wired access gateway ME60 for authentication and accounting of wireless users.
Networking Requirements
- AC networking mode: Layer 2 networking in bypass mode
- DHCP deployment mode:
- The ME60 functions as a DHCP server to assign IP addresses to STAs.
- Switch functions as a DHCP server to assign IP addresses to APs.
- Service data forwarding mode: soft GRE forwarding
Data Planning
Item |
Data |
---|---|
Switch data planning |
|
DHCP server |
Switch functions as a DHCP server to assign IP addresses to APs. |
IP address pool for APs |
10.23.100.3-10.23.100.254/24 |
AC data planning |
|
AC's source interface address |
VLANIF 100: 10.23.100.1/24 |
AP group |
|
Regulatory domain profile |
|
SSID profile |
|
Security profile |
|
Soft GRE profile |
|
VAP profile |
|
ME60 data planning |
|
DHCP server |
The ME60 functions as a DHCP server to assign IP addresses to STAs. |
IP address pool for STAs |
10.23.101.2-10.23.101.254/24 |
VE interface for soft GRE |
Virtual-Ethernet2/0/0 |
Soft GRE group |
|
Destination address of the soft GRE tunnel |
|
RADIUS server parameters |
|
Configuration Roadmap
- Configure network interworking of the AC, APs, ME60, and other network devices.
- Configure the ME60, soft GRE tunnel, and authentication and accounting functions.
- Select Config Wizard to configure system parameters for the AC.
- Select Config Wizard to configure the APs to go online on the AC.
- Select Config Wizard to configure WLAN services on the AC.
- Deliver the WLAN service to the AP and verify the configuration.
In this example, the ME60 in V600R008C10 is used. The actual configuration may vary depending on versions.
Configuration Notes
- No ACK mechanism is provided for multicast packet transmission on air interfaces. In addition, wireless links are unstable. To ensure stable transmission of multicast packets, they are usually sent at low rates. If a large number of such multicast packets are sent from the network side, the air interfaces may be congested. You are advised to configure multicast packet suppression to reduce impact of a large number of low-rate multicast packets on the wireless network. Exercise caution when configuring the rate limit; otherwise, the multicast services may be affected.
- In direct forwarding mode, you are advised to configure multicast packet suppression on switch interfaces connected to APs.
- In tunnel forwarding mode, you are advised to configure multicast packet suppression in traffic profiles of the AC.
Configure port isolation on the interfaces of the device directly connected to APs. If port isolation is not configured and direct forwarding is used, a large number of unnecessary broadcast packets may be generated in the VLAN, blocking the network and degrading user experience.
In tunnel forwarding mode, the management VLAN and service VLAN cannot be the same. Only packets from the management VLAN are transmitted between the AC and APs. Packets from the service VLAN are not allowed between the AC and APs.
Procedure
- Configure the network devices.
# On Switch, add GE0/0/1 to VLAN 100 and VLAN 101, GE0/0/2 to VLAN 100, and GE0/0/3 to VLAN 199. Set the PVIDs of GE0/0/1 and GE0/0/3 to VLAN 100 and VLAN 199, respectively. Create VLANIF 199 and set its IP address to 10.23.199.2/24.
<HUAWEI> system-view [HUAWEI] sysname Switch [Switch] vlan batch 100 101 199 [Switch] interface gigabitethernet 0/0/1 [Switch-GigabitEthernet0/0/1] port link-type trunk [Switch-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 101 [Switch-GigabitEthernet0/0/1] port trunk pvid vlan 100 [Switch-GigabitEthernet0/0/1] port-isolate enable [Switch-GigabitEthernet0/0/1] quit [Switch] interface gigabitethernet 0/0/2 [Switch-GigabitEthernet0/0/2] port link-type trunk [Switch-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 [Switch-GigabitEthernet0/0/2] quit [Switch] interface gigabitethernet 0/0/3 [Switch-GigabitEthernet0/0/3] port link-type trunk [Switch-GigabitEthernet0/0/3] port trunk allow-pass vlan 199 [Switch-GigabitEthernet0/0/3] port trunk pvid vlan 199 [Switch-GigabitEthernet0/0/3] quit [Switch] interface vlanif 199 [Switch-Vlanif199] ip address 10.23.199.2 24 [Switch-Vlanif199] quit
# On the ME60, set the IP address of GE2/0/0 to 10.23.199.1/24, and configure a route to 10.23.100.0/24.
<HUAWEI> system-view [HUAWEI] sysname ME60 [ME60] interface gigabitethernet 2/0/0 [ME60-GigabitEthernet2/0/0] ip address 10.23.199.1 24 [ME60-GigabitEthernet2/0/0] quit [ME60] ip route-static 10.23.100.0 24 10.23.199.2
- Configure the DHCP servers to assign IP addresses to APs and STAs.
# Configure Switch as a DHCP server to assign IP addresses to APs, and configure a route to 10.23.200.0/24.
[Switch] dhcp enable [Switch] interface vlanif 100 [Switch-Vlanif100] ip address 10.23.100.2 24 [Switch-Vlanif100] dhcp select interface [Switch-Vlanif100] dhcp server excluded-ip-address 10.23.100.1 [Switch-Vlanif100] quit [Switch] ip route-static 10.23.200.0 24 10.23.199.1
# Configure the ME60 as a DHCP server to assign IP addresses to STAs.
Configure the DNS server as required. The common methods are as follows:- In interface address pool scenarios, run the dhcp server dns-list ip-address &<1-8> command in the VLANIF interface view.
- In global address pool scenarios, run the dns-list ip-address &<1-8> command in the IP address pool view.
[ME60] dhcp enable [ME60] ip pool sta-pool bas local [ME60-ip-pool-sta-pool] gateway 10.23.101.1 24 [ME60-ip-pool-sta-pool] section 1 10.23.101.3 10.23.101.254 [ME60-ip-pool-sta-pool] option 43 ip 10.23.101.1 [ME60-ip-pool-sta-pool] quit
- Configure the soft GRE tunnel on the ME60.
# Create a VE interface to support soft GRE.
[ME60] interface virtual-ethernet 2/0/0 [ME60-Virtual-Ethernet2/0/0] soft-gre enable [ME60-Virtual-Ethernet2/0/0] quit
# Create a soft GRE group.
[ME60] soft-gre group group1 [ME60-softgre-group-group1] master virtual-ethernet 2/0/0 [ME60-softgre-group-group1] quit
# Configure an IP address for the loopback interface and bind the soft GRE group to it.
[ME60] interface loopback 1 [ME60-LoopBack1] ip address 10.23.200.1 255.255.255.0 [ME60-LoopBack1] binding soft-gre group group1 [ME60-LoopBack1] quit
- Configure RADIUS authentication and accounting on the ME60.
# Configure a RADIUS server profile, an AAA authentication and accounting scheme, and domain information.
[ME60] radius-server group radius1 [ME60-radius-radius1] radius-server authentication 10.1.1.1 1812 [ME60-radius-radius1] radius-server accounting 10.1.1.1 1813 [ME60-radius-radius1] radius-server shared-key 123456 [ME60-radius-radius1] quit [ME60] aaa [ME60-aaa] authentication-scheme radius [ME60-aaa-authen-radius] authentication-mode radius [ME60-aaa-authen-radius] quit [ME60-aaa] accounting-scheme radius [ME60-aaa-accounting-radius] accounting-mode radius [ME60-aaa-accounting-radius] quit [ME60-aaa] domain aaadomain1 [ME60-aaa-domain-aaadomain1] ip-pool sta-pool [ME60-aaa-domain-aaadomain1] authentication-scheme radius [ME60-aaa-domain-aaadomain1] accounting-scheme radius [ME60-aaa-domain-aaadomain1] radius-server group radius1 [ME60-aaa-domain-aaadomain1] quit [ME60-aaa] quit
- Configure the BAS interface on the ME60.
# Create a BAS interface and configure the BAS interface type and authentication mode. Configure the user VLAN and service VLAN as the same VLAN.
[ME60] interface virtual-ethernet 2/0/0.1 [ME60-Virtual-Ethernet2/0/0.1] user-vlan 101 [ME60-Virtual-Ethernet2/0/0.1-vlan-101-101] bas [ME60-Virtual-Ethernet2/0/0.1-bas] access-type layer2-subscriber default-domain authentication aaadomain1 [ME60-Virtual-Ethernet2/0/0.1-bas] authentication-method bind
- Configure system parameters for the AC.
- Configure APs to go online.
- Configure WLAN services.
# Click Create. The Basic Information page is displayed.
# Configure the SSID name, forwarding mode, and service VLAN ID.
Click Next. The Security Authentication page is displayed.
# Set Authentication mode to No authentication.
# Click Next. The Access Control page is displayed.
# Set Binding the AP group to ap-group1.
Click Finish.
- Create a soft GRE profile.
# Choose SoftGRE Profile List page is displayed.
. The# Click Create. The Create SoftGRE Profile page is displayed.
# Enter the name of the new soft-GRE profile wlan-soft in Profile name.
# Click OK. Set the destination IPv4 address of the soft GRE tunnel to 10.23.200.1.
# Click Apply. In the dialog box that is displayed, click OK.
- Change the VAP forwarding mode to Soft-GRE.
# Choose
.# Choose Profile Management. The VAP Profile List page is displayed.
in# Select VAP profile wlan-net. On the VAP profile configuration page that is displayed, set Forwarding mode to SoftGRE, and SoftGRE profile to wlan-soft.
# Click Apply. In the dialog box that is displayed, click OK.
- Set the AP channel and power.
- Verify the configuration.