Example for Configuring STAs on the Fat AP to Access the Public Network Through NAT
Networking Requirements
As shown in Figure 5-10, a Fat AP is connected to the Internet in wired mode and connected to STAs in wireless mode. An enterprise branch needs to deploy basic WLAN services for mobile office so that enterprise employees can access the enterprise internal network anywhere, anytime. The administrator wants enterprise employees to access the public network using public IP addresses.
- A WLAN named wlan-net is available.
- Enterprise employees are assigned IP addresses on 10.23.101.0/24. These IP addresses are translated to the IP address of the Fat AP outbound interface using Easy-IP for employees to access the public network.
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.2 to 10.23.101.254/24 |
SSID profile |
|
Security profile |
|
VAP profile |
|
NAT Outbound |
The private IP address segment 10.23.101.0/24 is mapped to the public IP address 1.1.1.1. |
Configuration Roadmap
- Configure basic WLAN services using the WLAN configuration wizard.
- Configure the AP channel and transmit power.
- Configure NAT so that STAs can access the public network using public IP addresses.
- Associate STAs to the WLAN to verify services.
You are advised to log in to the Fat AP in wireless mode for service configuration. You can also log in to the Fat AP by directly connecting a PC to the Fat AP using network cables and then connect the Fat AP to the upstream device after services are configured and saved.
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 on switch interfaces connected to APs 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. For details on how to configure traffic suppression, see How Do I Configure Multicast Packet Suppression to Reduce Impact of a Large Number of Low-Rate Multicast Packets on the Wireless Network?.
Procedure
- Configure basic WLAN services.
- Configure the AP channel and transmit power.
- Configure a default route.
# Choose Route page is displayed.
. The# Click Create in Static Route Configuration Table and create a static route.
# Click OK.
- Configure an ACL.
- Configure NAT.
- 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
- STAs can access the public network successfully.