华为无线AC内三层漫游配置详解

重要说明

1、在一台ac中实现三层漫游

2、ac和核心的互联vlan和ap的管理vlan是同一个广播域,可以不用配option 43

3、直接转发模式,ac上可以不起业务vlan,ac和核心交换机上可以只放行一个互联vlan 10

4、ac上要启两个vap魔板,两个ap-group,每个ap-group对应一个vap魔板

5、2个vap和ap-group魔板可以调用 相同的一个ssid和security魔板

6、漫游注意ssid和密码都得一样

直接转发模式配置:

SW1

vlan batch 10 20 100 to 101 200

dhcp enable

interface Vlanif10

ip address 10.0.10.1 255.255.255.0

dhcp select interface

dhcp server excluded-ip-address 10.0.10.10

dhcp server option 43 sub-option 3 ascii 10.0.10.10

interface Vlanif20

ip address 10.0.20.1 255.255.255.0

dhcp select interface

dhcp server excluded-ip-address 10.0.20.10

dhcp server option 43 sub-option 3 ascii 10.0.20.10

interface Vlanif100

ip address 192.168.100.1 255.255.255.0

dhcp select interface

interface Vlanif101

ip address 192.168.101.1 255.255.255.0

dhcp select interface

interface Vlanif200

ip address 192.168.200.1 255.255.255.0

dhcp select interface

interface MEth0/0/1

interface GigabitEthernet0/0/1

port link-type trunk

port trunk allow-pass vlan 10 100 to 101

interface GigabitEthernet0/0/2

port link-type trunk

port trunk allow-pass vlan 20 200

interface GigabitEthernet0/0/3

port link-type trunk

port trunk pvid vlan 10

port trunk allow-pass vlan 10 100

interface GigabitEthernet0/0/4

port link-type trunk

port trunk pvid vlan 10

port trunk allow-pass vlan 10 101

interface GigabitEthernet0/0/5

port link-type trunk

port trunk pvid vlan 20

port trunk allow-pass vlan 20 200

AC1

vlan batch 10 100 to 101

interface Vlanif10

ip address 10.0.10.10 255.255.255.0

interface MEth0/0/1

undo negotiation auto

duplex half

interface GigabitEthernet0/0/1

port link-type trunk

port trunk allow-pass vlan 10 100 to 101

ip route-static 0.0.0.0 0.0.0.0 10.0.10.1

capwap source ip-address 10.0.10.10

user-interface con 0

authentication-mode password

user-interface vty 0 4

protocol inbound all

user-interface vty 16 20

protocol inbound all

wlan

security-profile name test //安全魔板

security wpa-wpa2 psk pass-phrase adminadmin aes

ssid-profile name test //SSID魔板

ssid admin

vap-profile name test100 //第一个ap的vap魔板

service-vlan vlan-id 100

ssid-profile test

security-profile test

vap-profile name test101 //第2个ap的vap魔板

service-vlan vlan-id 101

ssid-profile test

security-profile test

ap-group name test100 //第一个vap魔板关联进这个组

vap-profile test100 wlan 1 radio all

ap-group name test101 //第2个vap魔板关联进这个组

vap-profile test100 wlan 1 radio all

ap-id 0 type-id 69 ap-mac 00e0-fce1-0250 //第一个ap

ap-name 1-lay-01

ap-group test100

ap-id 1 type-id 69 ap-mac 00e0-fc0a-43b0 //第2个ap

ap-name 2-lay-01

ap-group test101

现在漫游后的数据转发流程是:

sta->漫游后的ap->sw->Hac->家乡Hap->sw->外网

如果是隧道转发数据流程是:

sta->漫游后的ap->sw->Hac->sw->外网

没有次优路径绕行

如果非要用直接转发模式,为了解决hap家乡代理,数据有次优路径绕行,可以配置ac做为家乡代理,不用再把数据回到家乡hap上面再出去,而是到ac后直接发给核心交换机出去上网

vap-profile name test100 //第一个ap的vap魔板

home-agent ac

vap-profile name test101 //第2个ap的vap魔板

home-agent ac

只要AP获取到地址就能查看到mac

查看ap是不是上线了

查看vap配置

相关推荐
XY.散人14 分钟前
初识Linux · 文件(1)
linux·运维·服务器
训山44 分钟前
【11】纯血鸿蒙HarmonyOS NEXT星河版开发0基础学习笔记-模块化语法与自定义组件
笔记·学习·华为·harmonyos·鸿蒙系统
秋夫人1 小时前
http cache-control
网络·网络协议·http
helloxmg2 小时前
鸿蒙harmonyos next flutter混合开发之开发package
flutter·华为·harmonyos
不灭锦鲤3 小时前
ssrf学习(ctfhub靶场)
网络·学习·安全
weixin_548444263 小时前
2024年最新版本神马TV8.5影视APP源码 293TV影视点播系统源码搭建教程 神马TV8.2加强版反编译教程 保姆级小白可搭建 完整版本视频教程
网络
枫叶丹45 小时前
【在Linux世界中追寻伟大的One Piece】进程信号
linux·运维·服务器
网络研究院5 小时前
如何安全地大规模部署 GenAI 应用程序
网络·人工智能·安全·ai·部署·观点
limengshi1383925 小时前
通信工程学习:什么是RIP路由信息协议
网络·网络协议·学习·智能路由器·信息与通信
灯火不休ᝰ6 小时前
[win7] win7系统的下载及在虚拟机中详细安装过程(附有下载文件)
linux·运维·服务器