华为ENSP AP+AP三层组网及AP间的漫游实验

华为ENSP AP+AP三层组网及AP间的漫游实验网址:yii666.com<

 目的:1.配置网络的互通

            2.AC 管理AP发出无线信号

            3.三台电脑的互通

            4.PC可在三个无线信号间漫游

交换机1配置
sys
vlan batch 100 200 101 102
int e0/0/1
port link-type trunk
port trunk allow-pass vlan all
int e0/0/2
port link-type trunk
port trunk pvid vlan 200
port trunk allow-pass vlan all
int e0/0/3
port link-type trunk
port trunk pvid vlan 200
port trunk allow-pass vlan all

AC1文章来源地址https://www.yii666.com/blog/468683.html

配置DHCP地址池
sys
vlan batch 100 101 102 200
dhcp enable
ip pool AC1
network 200.0.0.0 mask 24
gateway 200.0.0.1
int vlan 200 
ip add 200.0.0.1 24
dhcp select global
q
ip pool AP1 
network 101.0.0.0 mask 24
gateway 101.0.0.1 
int vlan 101 
ip add 101.0.0.1 24
dhcp select global
q
ip pool AP2
network 102.0.0.0 mask 24
gateway 102.0.0.1
int vlan 102
ip add 102.0.0.1 24
dhcp select global
q
int vlan 100
ip add 100.0.0.1 24
q
ip pool AC1
option 43 sub-option 3 ascii 100.0.0.1
q
capwap source int vlan 100  //建立capwap管理隧道
int g0/0/2
port link-type trunk 
port trunk allow-pass vlan all
q
wlan
ap-group name AP1
ap-id 0 ap-mac 00E0-FC7E-3080
ap-group AP1网址:yii666.com

创建AP组文章来源地址:https://www.yii666.com/blog/468683.html

y
wlan
ap-group name AP2
ap-id 1 ap-mac 00E0-FC3A-28E0
ap-group AP2
y

配置国家代码模板

regulatory-domain-profile name username
country-code cn
ap-group name AP1
regulatory-domain-profile username

设置wifi名

ssid-profile name username
ssid username
q
security-profile name username//设置wif密码
security wpa2 psk pass-phrase xxxxxxx aes
q
vap-profile name vap1//创建vap模板
ssid-profile username
security-profile username
forward-mode direct-forward
service-vlan vlan-id 101//指定AP接入用户的vlan流量数据转发vlan
q
ap-group name AP1//指定vap模板使用在AP1组上
vap-profile vap1 wlan 1 radio 0
vap-profile vap1 wlan 1 radio 1
q
q
int g0/0/1
port link-type trunk
port trunk allow-pass vlan all
q文章地址https://www.yii666.com/blog/468683.html

配置AP2发射模板只需将创建给AP1的模板 引入到AP里面即可 但是vap模板需要重新创建
wlan
ap-group name AP2
regulatory-domain-profile username
vap-profile name vap2
ssid-profile username
security-profile username
forward-mode direct-forward
service-vlan vlan-id 102
ap-group name AP2
vap-profile vap2 wlan 1 radio 1
vap-profile vap2 wlan 1 radio 0
q

mobility-group name username//配置漫游组,
member ip-address 100.0.0.1
member ip-address 100.0.0.2

AC2的配置和AC1的配置相同 区别的是AC2只需要配置一个AP组的发射模板

AC2 配置
sys
vlan batch 100 101 102 200
dhcp enable
ip pool AC2
network 200.0.0.0 mask 24
gateway 200.0.0.2
option 43 sub-option 3 ascii 100.0.0.2
int vlan 200 
ip add 200.0.0.2 24
dhcp select global
q
ip pool AP3
network 102.0.0.0 mask 24
gateway 102.0.0.2
int vlan 102
ip add 102.0.0.2 24
dhcp select global
q
int vlan 100
ip add 100.0.0.2 24
int g0/0/1
port link-type trunk
port trunk allow-pass vlan all
int g0/0/2
port link-type trunk
port trunk allow-pass vlan all
q
capwap source int vlan 100
wlan 
ap-group name AP3
ap-id 3 ap-mac 00E0-FCBD-6CF0
ap-group AP3
regulatory-domain-profile name username
country-code cn
ap-group name AP3
regulatory-domain-profile username

ssid-profile name username
ssid username
q
security-profile name username
security wpa2 psk pass-phrase xxxxxxxxx aes
q
vap-profile name vap3
ssid-profile username
security-profile username
forward-mode direct-forward
service-vlan vlan-id 102
q
ap-group name AP3
vap-profile vap3 wlan 1 radio 0
vap-profile vap3 wlan 1 radio 1
q
mobility-group name username
member ip-address 100.0.0.1
member ip-address 100.0.0.2
交换机2
sys
vlan batch 100 102 101 200
int e0/0/1
port link-type trunk
port trunk allow-pass vlan all
int e0/0/2
port link-type trunk
port trunk pvid vlan 200
port trunk allow-pass vlan all

 有不对的地方欢迎大家指正

版权声明:本文内容来源于网络,版权归原作者所有,此博客不拥有其著作权,亦不承担相应法律责任。文本页已经标记具体来源原文地址,请点击原文查看来源网址,站内文章以及资源内容站长不承诺其正确性,如侵犯了您的权益,请联系站长如有侵权请联系站长,将立刻删除

领支付宝红包赞助服务器费用

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信图片_20190322181744_03.jpg

微信扫一扫打赏

请作者喝杯咖啡吧~

支付宝扫一扫领取红包,优惠每天领

二维码1

zhifubaohongbao.png

二维码2

zhifubaohongbao2.png