Fat AP and Cloud AP V200R022C10 Web-based Configuration Guide
Example for Configuring Wi-Fi Internet Access Through a Leader AP Serving as the Gateway in PPPoE Mode (Using the Web System on a PC)
Prerequisites
An AP has been selected as the leader AP, and the MAC address of the AP has been recorded.
WLAN network planning and design have been completed.
APs have been connected and powered on.
Internet Explorer, Firefox, or Chrome has been installed on the PC.
Context
As shown in Figure 2-19, the optical modem works in bridge mode and connects to the Internet. The switch is a Layer 2 switch that supports PoE+ power supply and connects to APs. One AP is selected as the leader AP to manage other Fit APs in a unified manner and build a WLAN. The leader AP is configured to work in gateway mode and obtain a public IP address through PPPoE dial-up.
Configuration Roadmap
- If a Huawei switch is used, packets from VLAN 1 are allowed to pass through by default. No additional configuration is required. If another vendor's switch is used, the VLAN function is not required, and no additional configuration is required.
- Before selecting an AP as the leader AP, configure PPPoE dialup, set Internet access parameters, and switch the AP's working mode to Fat.
After PPPoE dial-up is configured, the leader AP works in gateway mode.
In gateway mode, the leader AP configures the gateway address and the DHCP service for Fit APs and STAs by default. You can retain the default settings. The gateway address for Fit APs is 192.168.200.1 (VLANIF 1), and the address segment for Fit APs is 192.168.200.0/24. The gateway address for STAs is 192.168.101.1 (VLANIF 101), and the address segment for STAs is 192.168.101.0/24.
Configure PPPoE dialup in the uplink direction. The default uplink port is Multi-GE0 or GE0.
Configuration Notes
When wired users connect to the switch to access the network, they obtain IP addresses on the same network segment as Fit APs. They are on a different LAN from STAs. Therefore, the wireless access mode is recommended.
Procedure
- Log in to the AP.
- Place the PC near the selected AP and search for the SSID named hw_manage_xxxx. xxxx in the SSID indicates the last 4 digits of the AP's MAC address. Connect to the SSID. No password is required.
- Open the browser on the PC and access any address. The web system page is automatically displayed. If the page is not displayed, visit 169.254.2.1. Set the user name and password upon the first login to the AP.
- Set the AP mode to Fat, select Obtain from PPPoE, and set Internet access parameters. After the settings are applied, the AP restarts. After the AP is restarted, other APs automatically connect to the network to obtain Wi-Fi configurations. Then, you can search for the configured Wi-Fi name and connect to the Wi-Fi network.
- Verify the configuration.
Wireless terminals can detect and connect to the SSID mywifi. After the correct password is entered, the terminals can access the Internet.
Appendix: CLI-based Configuration on Leader AP in Fat Mode
# vlan batch 2 101 # dns resolve dns proxy enable # dhcp enable //Enable DHCP. # acl number 2001 rule 5 permit # interface Dialer1 //Configure a PPPoE dialup interface. ppp chap user 000001 ppp chap password cipher %^%#&%IKLuJ!uMK,q+!DcCJA6Tq<OUCx(~nI~[4x#CpN%^%# ppp pap local-user 1234567 password cipher %^%#Jy(>X+>n]8}3c<2-YaXAZeY3R=75N)U|=1WS`6rN%^%# ip address ppp-negotiate dialer-rule ip permit nat outbound 2001 # interface Vlanif1 //Configure the downlink interface and set the gateway address of the AP. ip address 192.168.200.1 255.255.255.0 dhcp select interface # interface Vlanif2 //Bind the dialup interface to the uplink interface. pppoe-client dial-bundle-number 1 # interface Vlanif101 //Configure the downlink interface and set the gateway address of wireless terminals. ip address 192.168.101.1 255.255.255.0 dhcp select interface dhcp server dns-list 192.168.101.1 # interface GigabitEthernet0/0/0 //Configure VLANs for the physical port. port hybrid pvid vlan 2 port hybrid tagged vlan 1 3 to 4094 port hybrid untagged vlan 2 dhcp snooping trusted # ip route-static 0.0.0.0 0.0.0.0 Dialer1 //Configure a static route. # wlan temporary-management psk %^%#a8YRV:E9!M&~kHB!O[H*Hd0;-~=L@Q`'.9Xg@nbB%^%# //Configure the PSK of the offline management VAP for Fit APs. ap username admin password cipher %^%#d7QgAwww7Gk8'lQ}lx8-JmrKMYPX1VjW*d-p[!i/%^%# //Configure the user name and password of Fit APs. traffic-profile name example //Configure the traffic profile. By default, the rate is not limited. security-profile name example //Configure the encryption mode. security wpa-wpa2 psk pass-phrase %^%#u<iGN#|T'Tm86VB)1b>LMd('=qOCKJJh[J.;G)BQ%^%# aes ssid-profile name example //Configure an SSID name. ssid mywifi vap-profile name example //Configure a VAP profile. service-vlan vlan-id 101 ssid-profile example security-profile example traffic-profile example ap-zone default //Set the name of the AP zone, indicating the APs to which the VAP profile takes effect. The default AP zone is default. radio 0 1 2 regulatory-domain-profile name default //Configure large-bandwidth channels. dca-channel 5g bandwidth 80mhz dca-channel 6g bandwidth 80mhz rrm-profile name default //Configure the roaming threshold. smart-roam roam-threshold snr 30 inner-gateway enable //Configure the gateway mode. ap-group name default //Disable automatic power adjustment and configure the 5 GHz channel to use 160 MHz bandwidth. radio 0 calibrate auto-txpower-select disable radio 1 channel 160mhz 36 calibrate auto-channel-select disable calibrate auto-txpower-select disable radio 2 calibrate auto-txpower-select disable uplink gigabitethernet 0 vlan-replace //Configure GE0 as the uplink port and enable the VLAN replacement function (required when a single network port is used). # return