一、实验目的
1)掌握添加无线网络配置
2)掌握配置信道和协议使用并配置在一个天线上同时运行两个服务集,即两个无线网络
二、实验仪器设备及软件
仪器设备:一台AC,两台AP,一台AR,一台LSW
软件:ENSP
三、实验原理
四、实验内容与步骤
1. AC基础配置:
AC:
<AC6005>sys
[AC6005]inter Wlan-Ess 1
[AC6005-Wlan-Ess1]port hybrid untagged vlan 102
[AC6005-Wlan-Ess1]quit
[AC6005]wlan
[AC6005-wlan-view]service-set name hh id 1
[AC6005-wlan-service-set-hh]wlan-ess 1
[AC6005-wlan-service-set-hh]ssid vlan102
[AC6005-wlan-service-set-hh]traffic-profile id 0
[AC6005-wlan-service-set-hh]security-profile id 0
[AC6005-wlan-service-set-hh]service-vlan 102
[AC6005-wlan-service-set-hh]quit
[AC6005-wlan-view]radio-profile name hh id 1
[AC6005-wlan-radio-prof-hh]wmm-profile id 0
[AC6005-wlan-radio-prof-hh]radio-type 80211n
[AC6005-wlan-radio-prof-hh]quit
[AC6005-wlan-view]ap 0 radio 1
[AC6005-wlan-radio-0/1]radio-profile id 1
[AC6005-wlan-radio-0/1]service-set id 1
[AC6005-wlan-radio-0/1]quit
[AC6005-wlan-view]commit all
在原有网络中添加无线网络,保留原有的无线网络,将其中一个AP运行新无线网络
[AC6005]vlan batch 102
[AC6005]dhcp en
[AC6005]interface vlan102
[AC6005-Vlanif102]ip add 10.1.102.1 24
[AC6005-Vlanif102]dhcp select interface
[AC6005-Vlanif102]dhcp server dns-list 8.8.8.8
[AC6005-Vlanif102]inter g0/0/2
[AC6005-GigabitEthernet0/0/2]port link-type tr
[AC6005-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 to 102
[AC6005]inter wlan-ess 3
[AC6005-Wlan-Ess3]port hybrid untagged vlan 102
[AC6005-Wlan-Ess3]quit
[AC6005]wlan
[AC6005-wlan-view]wlan ac source interface vlanif1
[AC6005-wlan-view]ap-auth-mode no-auth
[AC6005-wlan-view]wmm-profile name test id 0
[AC6005-wlan-wmm-prof-test]traffic-profile name test id 0
[AC6005-wlan-traffic-prof-test]security-profile name test id 0
[AC6005-wlan-sec-prof-test] service-set name vlan101 id 0
[AC6005-wlan-service-set-vlan101]wlan-ess 3
[AC6005-wlan-service-set-vlan101]service-set name xw id 2
[AC6005-wlan-service-set-xw]wlan-ess 3
[AC6005-wlan-service-set-xw]ssid vlan102
[AC6005-wlan-service-set-xw]traffic-profile id 0
[AC6005-wlan-service-set-xw]security-profile id 0
[AC6005-wlan-service-set-xw]service-vlan 102
[AC6005-wlan-service-set-xw]radio-profile name xw id 2
[AC6005-wlan-radio-prof-xw]wmm-profile id 0
[AC6005-wlan-radio-prof-xw]radio-type 80211n
[AC6005-wlan-radio-prof-xw]ap 0 radio 1
[AC6005-wlan-radio-0/1]radio-profile id 2
[AC6005-wlan-radio-0/1]service-set id 2 wlan 3
[AC6005-wlan-radio-0/0]quit
[AC6005-wlan-view]commit all
2. 配置AR:
<Huawei>sys
[Huawei]interface GigabitEthernet0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 10.1.200.1 255.255.255.0
[Huawei-GigabitEthernet0/0/0]interface LoopBack0
[Huawei-LoopBack0]ip address 100.100.100.100 255.255.255.255
[Huawei-LoopBack0]quit
[Huawei]ip route-static 0.0.0.0 0.0.0.0 10.1.200.2
3. 配置LSW1:
<3lsw>sys
[3lsw]vlan batch 102
[3lsw]inter vlan 102
[3lsw-Vlanif102]ip add 10.1.102.1 24
[3lsw-Vlanif102]dhcp server dns-list 8.8.8.8
[3lsw-Vlanif102]quit
[3lsw]inter g0/0/1
[3lsw-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 101 102
[3lsw-GigabitEthernet0/0/1]quit
五、实验结果与分析
1. Ap上线:
2. ping通外网:
3.在同一天线下同时运行两个服务集