拓扑图
配置
1)AP与AC位于不同子网,需要配置DHCP option 43,让AP向AC注册
DHCP OPTION 43 sub-option 2 ip-address AC的IP地址
2)配置VLAN Pool可增加可分配的IP地址,默认STA的VLAN分配方式为hash,修改为按接入顺序分配
3)SW1作为网关和DHCP服务器,注意AP所在VLAN配置DHCP Option 43
4)通过Super-VLAN实现STA的IP地址分配到相同子网,但是在不同VLAN,VLAN10为聚合VLAN,VLAN 11 12为子VLAN
5)可修改射频频宽及信道
sysname SW1
#
vlan batch 10 to 12 100 254
#
vlan 10
aggregate-vlan
access-vlan 11 to 12
#
interface Vlanif10
ip address 10.1.1.254 255.255.255.0
dhcp select interface
#
interface Vlanif100
ip address 10.1.100.254 255.255.255.0
#
interface Vlanif254
ip address 10.1.254.254 255.255.255.0
dhcp select interface
dhcp server option 43 sub-option 2 ip-address 10.1.100.100
#
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 9 11 to 4094
#
interface GigabitEthernet0/0/2
por服务器托管网t link-type trunk
port trunk pvid vlan 254
port trunk allow-pass vlan 2 to 9 11 to 4094
#
sysname AC1
#
vlan batch 10 to 12 100 254
#
vlan pool POOL1
assignment even
vlan 11 to 12
#
interface Vlanif100
ip address 10.1.100.100 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
ip route-static 0.0.0.0 0.0.0.0 10.1.100.254
#
capwap source interface vlanif100
#
wlan
security-profile name SEC_HUAWEI
security wpa2 psk pass-phrase huawei@123 aes
ssid-profile name SSID_HUAWEI
ssid HUAWEI
vap-profile name VAP_HUAWEI
forward-mode tunnel
service-vlan vlan-pool POOL1
ssid-profile SSID_HUAWEI
security-profile SEC_HUAWEI
#
ap-id 1 ap-mac 00e0-fc8d-1cd0
ap-name AP1
radio 0
vap-pro服务器托管网file VAP_HUAWEI wlan 1
channel 20mhz 11
radio 1
vap-profile VAP_HUAWEI wlan 1
channel 80mhz 157
#
结果查看
查看AP上线情况
查看STA上线情况,可以看到按上线顺序分配了VLAN
在AC的接口抓包可查看Capwap维护报文
由于使用隧道转发模式,数据包要经过AC转发,抓包如下
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.fwqtg.net
相关推荐: zabbix 钉钉&微信&企微告警(动作&操作&消息内容模板)
一、环境配置 1、配置zabbix服务端 2、配置监控主机&监控项&监控模板 zabbix配置安装_this page is used to test the proper operation of _疯飙的蜗牛的博客-CSDN博客 二、触发器…