无线组网的概念
1、CAPWAP(无线接入点控制和配置协议):用于管理AP与AP配置的下发
2、熟悉各种模版的引入
3、隧道转发与直接转发流量转发的区别(抓包了解)
4、实现终端获取地址
一、隧道转发:流量全部经过AC转发
AC配置:
WLAN模版配置
security-profile name hcie 创建安全模版名字为hcie(用于设置无线密码)
security wpa-wpa2 psk pass-phrase Huawei@123 aes 创建认证方式和加密方式和密码
ssid-profile name hcie 创建SSID模版名字为hcie(用于设置无线名称)
ssid hcie SSID名称为hcie(就是信号名字)
vap-profile name hcie 创建VAP模版名字为hcie(用于将安全与ssid模版引入)
forward-mode tunnel 设置转发方式为隧道转发
service-vlan vlan-id 101 设置业务VLAN(就是给终端下发业务地址的)
ssid-profile hcie 绑定SSID模版
security-profile hcie 绑定安全模版
AP组引入
ap-group name hcie
vap-profile hcie wlan 1 radio all 引入VAP模版 radio:射频信号时2.4g/5g
指定capwap隧道建立接口
capwap source interface vlanif100 指定接口为vlanif 100(也可以指ip地址)
AP手动加入
ap auth-mode mac-auth 开启AP认证为MAC认证
ap-id 1 ap-mac 00e0-fc53-5800 添加AP
ap-name hcie1 给AP改名字
ap-group hcie 添加到AP组(另一个AP同样配置)
AP管理地址分配以及互联接口配置
interface Vlanif100 创建vlan100并进入vlanif接口
ip address 10.23.100.1 255.255.255.0 配置地址
dhcp select interface 直接使用接口dhcp给AP分配管理地址(记得启用DHCP)
interface GigabitEthernet0/0/1 用于和核心交换机互联接口
port link-type trunk
port trunk allow-pass vlan 100 to 101 放通vlan100和vlan101
S2配置
终端业务地址
interface Vlanif101 业务vlan
ip address 10.23.101.1 255.255.255.0 AP的业务地址
dhcp select interface 直接接口分配(可以选择地址池)
互联口配置
interface GigabitEthernet0/0/1 接入互联口
port link-type trunk
port trunk allow-pass vlan 100 由于隧道转发只需要放通vlan100为AP管理vlan
#
interface GigabitEthernet0/0/2 AC互联口
port link-type trunk
port trunk allow-pass vlan 100 to 101 放通业务和管理VLAN
#
interface GigabitEthernet0/0/3 互联网互联口ACCESS口即可
port link-type access
port default vlan 200
S1配置
interface Ethernet0/0/2 核心互联口
port link-type trunk
port trunk allow-pass vlan 100 隧道转发只需要放通管理VLAN100
#
interface Ethernet0/0/3 AP互联口
port link-type trunk
port trunk pvid vlan 100 剥离VLAN100的标签,由于AP无法识别带标签的数据
port trunk allow-pass vlan 100 隧道转发只需放通管理VLAN100
#
interface Ethernet0/0/4 AP互联口
port link-type trunk
port trunk pvid vlan 100 剥离VLAN100的标签,由于AP无法识别带标签的数据
port trunk allow-pass vl