18.8 Example for Configuring MAC Address Authentication
Networking Requirements
As shown in Figure 18-8, an enterprise connects the AC to the aggregation switch in bypass mode to manage the AP in centralized manner and provide a WLAN with the SSID huawei so that users can access the network anywhere at any time. The AC functions as the DHCP server to assign IP addresses to the AP and STA.
The WLAN authentication client cannot be installed on wireless devices providing public services, such as wireless printers and phones, so use MAC address authentication. The RADIUS server authenticates wireless devices using their MAC addresses. No authentication is required when STAs access the WLAN, facilitating the use of WLAN services.
Data Preparation
| Item | Data |
|---|---|
| Management VLAN for the AP | VLAN 100 |
| Service VLAN for STAs | VLAN 101 |
| DHCP server | The AC functions as the DHCP server for the AP and STAs. |
| IP address pool for the AP | 192.168.100.2 to 192.168.100.254/24 |
| IP address pool for STAs | 192.168.101.3 to 192.168.101.254/24 DNS: 8.8.8.8 Address that cannot be assigned: 192.168.101.2 of Router |
| AC ID/Country code | 0/CN |
| AC's source interface | VLANIF 100 |
| WLAN radio profile | Name: radio WMM profile: wmm |
| WLAN service set | Name: huawei SSID: huawei WLAN ESS interface: WLAN-ESS1 Security profile: security Traffic profile: traffic Data forwarding mode: tunnel forwarding |
AP's gateway | VLANIF 100: 192.168.100.1 |
STA's gateway | VLANIF 101: 192.168.101.1 |
STA user name and password |
|
RADIUS server |
|
Configuration Roadmap
- Use the configuration wizard to configure the AP to go online on the AC. Configure a management VLAN and a service VLAN.
- Configure a DNS server address in the DHCP address pool of the service VLAN to provide the DNS service for the STA.
- Configure a static route so that the AC forwards the packet to the router after receiving the packet from the STA.
- Configure a RADIUS authentication scheme, reference the scheme in an AAA domain, and enable MAC address authentication.
- Use the configuration wizard to configure the WLAN service and deliver the WLAN service to the AP.
Procedure
- Configure the switches and router.
# Add GE0/0/1 and GE0/0/2 on the access switch to VLAN 100 (the default VLAN of GE0/0/1).
# On the aggregation switch, add GE0/0/1 and GE0/0/2 to the management VLAN 100, and add GE0/0/2 and GE0/0/3 to the service VLAN 101.
# Assign an IP address 192.168.101.2 to GE0/0/1 on Router and configure the router as the default gateway for the AC.
# Configure a RADIUS server, set the user name and password to the MAC address of the STA without a delimiter, and set the shared key to huawei123.
- Configure the AP to go online on the AC.
- Configure DNS.
# Choose and click
next to Vlanif101 in IP Pool List to configure the DNS server address for the STA.
- Configure a static route.
# Choose to create a static route.

- Configure RADIUS authentication.
# Choose to create an authentication scheme.

# Click the RADIUS Setting tab page to create a server template and set the shared key to the same as that configured on the RADIUS server.

# Configure an authentication server.

# Click the Domain Management tab page to create a domain, and then bind the authentication scheme and RADIUS server template to the domain.

- Enable MAC address authentication globally.
# Choose to enable MAC address authentication, and click Apply.

- Configure the WLAN service.
- Verify the configuration.
























