FAT AP共享式WEP加密功能的实现

版权声明: https://blog.csdn.net/weixin_40838333/article/details/83051536

假如是在AP上配置DHCP ,那么就直接在Ap上配置无线参数(创建无线虚拟接口、创建无线服务模板、创建无线射频接口)


[WA2620i-AGN]dis ip int br
*down: administratively down
(s): spoofing
Interface                     Physical Protocol IP Address      Description
Vlan1                         up       up       192.168.0.50    Vlan-inte...
[WA2620i-AGN]inter vlan-inter 1
[WA2620i-AGN-Vlan-interface1]ip add 192.168.45.50 24
[WA2620i-AGN-Vlan-interface1]quit
[WA2620i-AGN]dhcp enable
 DHCP is enabled successfully!
[WA2620i-AGN]dhcp server ip-pool p00l1
[WA2620i-AGN-dhcp-pool-p00l1]network 192.168.45.0 mask 255.255.255.0
[WA2620i-AGN-dhcp-pool-p00l1]gateway-list 192.168.45.50
[WA2620i-AGN-dhcp-pool-p00l1]expired day 0 hour 0 minute 5
[WA2620i-AGN-dhcp-pool-p00l1]quit
[WA2620i-AGN]dhcp server forbidden-ip 192.168.45.50
[WA2620i-AGN]dhcp server forbidden-ip 192.168.45.1

以上为DHCP配置。可以在AC上配置,也可在AP上配置

  
设置AP的接口IP地址:
[WA2620i-AGN]inter Vlan-interface 1
[WA2620i-AGN-Vlan-interface1]ip add 192.168.45.1 24
[WA2620i-AGN-Vlan-interface1]quit

 创建无线虚拟接口,并设置无线终端从此无线虚拟接口接入时属于VLAN 5
[WA2620i-AGN]inter WLAN-BSS 5
[WA2620i-AGN-WLAN-BSS5]quit

创建无线服务模板,采用WEP加密,定义SSID为H3C
[WA2620i-AGN]wlan service-template 5 crypto
[WA2620i-AGN-wlan-st-5]ssid lyy
[WA2620i-AGN-wlan-st-5]authentication-method  shared-key 
[WA2620i-AGN-wlan-st-5]cipher-suite  wep40
[WA2620i-AGN-wlan-st-5]wep default-key 1 wep40 pass-phrase 12345 
[WA2620i-AGN-wlan-st-5]service-template enable 
 Please wait... Done.
[WA2620i-AGN-wlan-st-5]quit 


创建无线射频接口,绑定无线虚拟接口和服务模板
[WA2620i-AGN]inter WLAN-Radio 1/0/2
[WA2620i-AGN-WLAN-Radio1/0/2]radio-type dot11g
[WA2620i-AGN-WLAN-Radio1/0/2]service-template 5 inter WLAN-BSS 5
[WA2620i-AGN-WLAN-Radio1/0/2]quit


使用手机连接你的ssid,输入刚才配置的密码12345
[WA2620i-AGN]dis wlan client interface WLAN-Radio 1/0/2
 Total Number of Clients           : 1
                              Client Information
--------------------------------------------------------------------------------
MAC Address    User Name            APID/RID IP Address                     VLAN
--------------------------------------------------------------------------------
74ac-5fe9-bd6a -NA-                 1   /2   192.168.45.5                   1
--------------------------------------------------------------------------------

猜你喜欢

转载自blog.csdn.net/weixin_40838333/article/details/83051536