Example for Configuring the RADIUS Server and AP to Deliver User Group Rights to Users
Service Requirements
If enterprise employees can access the Internet without restriction, enterprise information is threatened. To disable STA1 in department A from accessing the RADIUS server and employees in department A from communicating with each other, users can configure the RADIUS server and AP to deliver user group rights to users.
Networking Requirements
- DHCP deployment mode: The AP functions as a DHCP server to assign IP addresses to STAs.
Data Planning
Item | Data |
---|---|
Service VLAN for STAs |
VLAN 101 |
DHCP server |
The AP functions as a DHCP server to assign IP addresses to STAs. |
IP address pool for STAs |
10.23.101.3-10.23.101.254/24 DNS: 8.8.8.8 Address that cannot be assigned: 10.23.101.2 (IP address of the router) |
SSID profile |
|
Security profile |
|
Authentication profile |
|
VAP profile |
|
STA's gateway |
VLANIF 101: 10.23.101.1 |
STA user name and password |
|
RADIUS server |
|
FTP server |
IP address: 10.23.103.1 |
QoS profile |
Name: huawei |
User group |
|
Configuration Roadmap
- Use the WLAN configuration wizard to configure WLAN services. Configure 802.1X and RADIUS authentication and set RADIUS server parameters.
- 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 AP forwards the packet to the router after receiving the packet from the STA.
- Configure the user group.
- Connect STAs to the WLAN to verify the configuration.
Procedure
- Configure the switches and router.
# Add GE0/0/1 and GE0/0/3 on the aggregation switch to VLAN 101.
# Assign an IP address 10.23.101.2/24 to GE1/0/0 on Router and configure the router as the default gateway for the AP.
# Configure a RADIUS server, configure a user name and password, and set the shared key to huawei123.
- Configure WLAN services.
- Configure DNS.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.
- Configure a static route.
- Configure user group rights.
- Verify the configuration.
- The WLAN with the SSID wlan-net is available.
- The STA can associate with the WLAN and obtain an IP address 10.23.101.x/24 and its gateway address is 10.23.101.1.
- Choose User, you can see that STAs go online properly and obtain IP addresses. . In
- Two users go online and they cannot ping each other.