无线协议wlan在华为模拟器中的实现

无线技术

wifi6:标准为802.11;

wifi发展趋势:

vlan基本概念:

wlan组网架构:

1)fat胖AP;能够独立工作,可以单独配置;小型网络使用,功能少;

2)fit瘦AP+AC:适用大型网络,使用AC控制器统一管理;

二层组网:AC和FIT AP在同一个广播域;

三层组网:AC和FIT AP不在同一个广播域;

AC连接方式:1)直连式组网:AC扮演无线接入控制器和汇聚交换机功能,AP的数据业务和管理业务由AC处理

2)旁挂式组网:AC单独在旁边与交换机连接,只处理AP的管理业务;

无线接入点控制和配置CAPWAP协议:

AC通过CAPWAP隧道对AP进行集中管理与控制;

CAPWAP隧道功能:AP对AC的发现与维护;

AP与AC间状态维护;

AC通过隧道对AP管理和业务配置下发;

隧道转发模式下,AP将STA发出的数据通过隧道与AC交互

数据转发模式:

隧道转发:数据报文到达AC后,先传递到AC,再转发到上层

直接转发:数据报文到达AP后不经过AC;

BSS:basic service set基本服务集;一个AP的覆盖范围,一个BSS内,不同STA相互通信;

基本服务集标识符basic service set identifierBSSID:AP的MAC的地址;

SSID service set identifier(服务集标识符):无线网络的身份标识,字符串表示;

VAP:虚拟接入点VAP:一个物理实体AP虚拟的多个AP,每个VAP对应一个BSS;每个VAP提供和实体AP一样的功能;

DS:BSS解决了一个区域内不同设备通信问题,如果分布在不同区域,AP连接到一个更大的网络,使得不同BSS相互连通;该网络为BSS分布式系统distribution system:DS;

ESS;BSS覆盖半径10-15m,一般拓展BSS范围,让多个BSS使用相同的SSID,称为拓展服务集extend service set;以BSS为单位自由组合;相同的SSID称为ESSID(拓展服务集标识符extend service set identifier)

8a596f30bc564e64af2e3ef4705f619e.png

创建vlan

交换机连接主机接口为access类型;

交换机连接AP接口定义为trunk;

f57c95539b604e3a91922e14e712b428.png

db7fd3f21a404552acfae4331d9c90a8.png

eaf76ef0c6414e41a5d5ff5faafddfa0.png

设置AP的vlan 200;shezhi1AP数据进入交换机后打上tag200;

9ddc619b09ff422e925d2d6d141b372e.png

ce9d2f82b02f4320b8138682d4eee5c5.png

sw2的配置

配置IP地址:

e0f45acd797e4ce9a327e56e3a170dcf.png

下发IP地址给PC1:

2723ae9afe4a490ea350b0ab6225a72d.png

ip地址规划:

AC的源IP地址:管理ap,手工配置,

AP的IP地址:DHCP服务器动态分配;

终端的IP地址:DHCP动态分配。固定终端可以静态配置;

96ba7d9e780e4901a40f31c09083622c.png

交换机1当作DHCP服务器;

Ac上线:ac

7d832204aee54e7798fa7a99ec18f1cb.png

ad4b3f7853674fccbf24a846c1d46b99.png

[AC6005]int Vlanif 200

[AC6005-Vlanif200]ip address 192.168.200.200 24

交换机sw1的配置:

c403f363ac2e4ffd8502903eaf6b6b69.png

AC配置:

c1121d6386274233836c8f6f566d1554.png

选择[AC6005]capwap source interface Vlanif 200

或者[AC6005]capwap source ip address 192.168.200.200

b361f27d23e0473784ede0ea05576545.png

交换机1:

70ec7302c8bc42b298c489c369d25ebf.png

AC中:

ab91146842d64258973873f6e3d5ef5c.png

查看APIP分配

fbadd4a5040540d28d1e83ae4c6d1a4f.png

AC:

[AC6005]q

sa

创建一个组:

[AC6005-wlan-view]regulatory-domain-profile name china:创建域管理模版

country-code cn:选择中国的国家码;

[AC6005]wlan:进入wlan视图

[AC6005-wlan-view]ap-group name ict

Info: This operation may take a few seconds. Please wait for a moment.done.

[AC6005-wlan-ap-group-ict]quit

[AC6005-wlan-view]regulatory-domain-profile name china

[AC6005-wlan-regulate-domain-china]c

[AC6005-wlan-regulate-domain-china]country-code cn

Info: The current country code is same with the input country code.

[AC6005-wlan-regulate-domain-china]q

[AC6005-wlan-view]ap-id ?

INTEGER AP ID

[AC6005-wlan-view]ap-id 1 ap-mac 00e0-fc09-7f10

[AC6005-wlan-ap-1]ap-name AP1

[AC6005-wlan-ap-1]ap-group ict

Warning: This operation may cause AP reset. If the country code changes, it will

clear channel, power and antenna gain configurations of the radio, Whether to c

ontinue? [Y/N]:

[AC6005-wlan-ap-1]ap-group ict:创建一个组名为ict的组;

Warning: This operation may cause AP reset. If the country code changes, it will

clear channel, power and antenna gain configurations of the radio, Whether to c

ontinue? [Y/N]:Y

8c7bb806d0bf4b49ba3a2ab6a0de6f7f.png

regulatory-domain-profile china:调用域管理模版;

c6274db9563f4dd3b9082a9a0936765a.png

查看:

999ed3aeac624d3cb0a46fb456e86504.png

下发业务:

[AC6005-wlan-view]ssid-profile name ict

[AC6005-wlan-ssid-prof-ict]ssid ict

Info: This operation may take a few seconds, please wait.done.

45cb96ac9c5a4f47a9ce7e32a6bcf869.png

00fdd0cb00164853b7d046520487659e.png

调用刚才的模版

16b79126b1e6470e982a632185e6218d.png

设置业务vlan 为vlan 10;

750f1ffdb052439ebfc13a32cacc3c53.png

167c3b1957cc41d2bc11cbd2fd090e22.png

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值