【Huawei】WLAN实验(三层发现)

拓扑图如上,AP与S1在同一VLAN,S1与AC在同一VLAN,AP采用三层发现AC,AP与客户的DHCP由S1提供。

S1配置

bash 复制代码
vlan batch 10 20 30
dhcp enable
ip pool ap
 gateway-list 192.168.20.1
 network 192.168.20.0 mask 255.255.255.0
 option 43 sub-option 3 ascii 192.168.10.2 //分配给ap地址池时,采用option 43指定AC管理地址

interface Vlanif10
 ip address 192.168.10.1 255.255.255.0
#
interface Vlanif20
 ip address 192.168.20.1 255.255.255.0
 dhcp select global
#
interface Vlanif30
 ip address 192.168.30.1 255.255.255.0
 dhcp select interface
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk pvid vlan 20
 port trunk allow-pass vlan 10 20 30
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 10 20
#

AC配置

bash 复制代码
#
vlan batch 10 20
#
interface Vlanif10
 ip address 192.168.10.2 255.255.255.0
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 10 20
#
ip route-static 0.0.0.0 0.0.0.0 192.168.10.1
capwap source interface vlanif10

wlan
regulatory-domain-profile name 123   设置国家码
country-code CN 
ap-group name default
  regulatory-domain-profile dalong //关联域

security-profile name dalong 配置模板
  security wpa2 psk pass-phrase %^%#{6rJLW`(bAW,~A%{LC8(W;ey0*Gs+E'+Z6&o#mhR%^%#
ssid-profile name dalong
  ssid dalong
vap-profile name dalong
  forward-mode direct-forward
  service-vlan vlan-id 30
  ssid-profile dalong
  security-profile dalong

ap-group name default
vap-profile dalong wlan 1 radio all//下发
相关推荐
智慧光迅AINOPOL2 分钟前
校园在线巡课系统方案:督导全覆盖
网络·全光网解决方案·全光网·校园全光网·校园全光网解决方案
风华圆舞4 分钟前
Stage 模型下 Flutter 鸿蒙壳工程怎么理解
flutter·华为·harmonyos
酉鬼女又兒23 分钟前
零基础入门计算机网络:网络层核心任务、三大关键问题、两种服务类型与 TCP/IP 网际层协议体系全解析
服务器·网络·网络协议·tcp/ip·计算机网络·php·求职招聘
祭曦念40 分钟前
鸿蒙原生ArkTS布局之RowStart垂直对齐详解
华为·harmonyos
Urbano44 分钟前
工装制作全流程科普:从面料到自动化生产
网络·人工智能
2401_868534781 小时前
网规笔记 | 真题解析:2018年11月软考网规-网络安全案例分析
网络
nashane1 小时前
HarmonyOS 6商城开发学习:抢票倒计时与系统日历提醒——票务类场景的完整落地思路
学习·华为·harmonyos
Gauss松鼠会1 小时前
【GaussDB】GaussDB重要通信参数汇总
服务器·网络·数据库·sql·性能优化·gaussdb·经验总结
●VON1 小时前
AtomGit Flutter鸿蒙客户端:主题系统
javascript·flutter·华为·跨平台·harmonyos·鸿蒙
yuegu7771 小时前
HarmonyOS应用<节气通>开发第17篇:意见反馈页面
华为·harmonyos