說明:以下配置是本人通過AP實(shí)際操作過的,連接正常,沒有問題。
朝天網(wǎng)站建設(shè)公司創(chuàng)新互聯(lián)公司,朝天網(wǎng)站設(shè)計(jì)制作,有大型網(wǎng)站制作公司豐富經(jīng)驗(yàn)。已為朝天上千多家提供企業(yè)網(wǎng)站建設(shè)服務(wù)。企業(yè)網(wǎng)站搭建\外貿(mào)網(wǎng)站建設(shè)要多少錢,請找那個(gè)售后服務(wù)好的朝天做網(wǎng)站的公司定做!
AP上不做DHCP服務(wù)器。
配置思路:
配置基本配置
新建service-template
新建接口WLAN-BSS
在WLAN-Radio上調(diào)用service-template和WLAN-BSS
1.基本配置
新建vlan 10、30
[H3C-Fat-AP]vlan 10 [H3C-Fat-AP-vlan10]quit [H3C-Fat-AP]vlan 19 [H3C-Fat-AP]vlan 30
配置vlan30IP為:10.10.19.20(管理IP)
[H3C-Fat-AP-vlan30]int vlan 30 [H3C-Fat-AP-Vlan-interface30]ip address 10.10.19.20 255.255.255.0 [H3C-Fat-AP-Vlan-interface30]quit
設(shè)置默認(rèn)路由
[H3C-Fat-AP]ip route-static 0.0.0.0 0.0.0.0 10.10.19.254
設(shè)置接口G1/0/1位trunk模式,允許所有vlan通過。
[H3C-Fat-AP]int GigabitEthernet 1/0/1 [H3C-Fat-AP-GigabitEthernet1/0/1]port link-type trunk [H3C-Fat-AP-GigabitEthernet1/0/1]port trunk permit vlan all Please wait........................................... Done.
2.新建service-template,ssid設(shè)置test,并開啟service-template
[H3C-Fat-AP]wlan service-template 5 clear [H3C-Fat-AP-wlan-st-5]ssid test [H3C-Fat-AP-wlan-st-5]service-template enable Please wait... Done. [H3C-Fat-AP-wlan-st-5]quit
3.新建WLAN-BSS接口,設(shè)置vlan。
[H3C-Fat-AP]int WLAN-BSS 5 [H3C-Fat-AP-WLAN-BSS5]port acc vlan 10 [H3C-Fat-AP-WLAN-BSS5]quit [H3C-Fat-AP]int WLAN-BSS 6 [H3C-Fat-AP-WLAN-BSS6]port acc vlan 10 [H3C-Fat-AP-WLAN-BSS6]quit
4.在WLAN-Radio上調(diào)用service-template和WLAN-BSS。
[H3C-Fat-AP]int WLAN-Radio 1/0/1 [H3C-Fat-AP-WLAN-Radio1/0/1]service-template 5 interface WLAN-BSS 5
測試:
用手機(jī)連接test無線網(wǎng),可以連接,并且訪問網(wǎng)絡(luò)正常。
查看連接的client:
[H3C-Fat-AP-WLAN-Radio1/0/1]dis wlan client Total Number of Clients : 1 Client Information SSID: test -------------------------------------------------------------------------------- MAC Address User Name APID/RID IP Address VLAN -------------------------------------------------------------------------------- f862-14d5-4f88 -NA- 1 /1 10.10.80.88 10 --------------------------------------------------------------------------------