一,網絡規劃。
公司某部門須要創建一個70人辦公的無線局域
AP獲取的網段爲10.0.0.0/24
user獲取的是20.0.0.0/24
二,網絡拓撲以下
三,交換機的配置
vlan batch 10 20
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk pvid vlan 20
port trunk allow-pass vlan 10 20
四,AC的配置
#
sysname AC網絡
vlan batch 10 20
#
wlan ac-global carrier id other ac id 1
#
dhcp enable
#
interface Vlanif10
ip address 10.0.0.1 255.255.255.0
dhcp select interface
#
interface Vlanif20
ip address 20.0.0.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 20ide
interface GigabitEthernet0/0/15blog
interface Wlan-Ess1
port hybrid pvid vlan 20
port hybrid untagged vlan 20
#
wlan
wlan ac source interface vlanif10
ap-auth-mode no-auth
ap id 0 type-id 19 mac 00e0-fc8a-10b0 sn 210235448310071F4139
wmm-profile name 1 id 0
traffic-profile name 1 id 0
security-profile name 1 id 0
service-set name 1 id 0
wlan-ess 1
ssid 1
traffic-profile id 0
security-profile id 0
service-vlan 20
radio-profile name 1 id 0
wmm-profile id 0
ap 0 radio 0
radio-profile id 0
service-set id 0 wlan 1
五,結果用戶側沒法得到IP地址。
六,故障分析
通過排查發現交換機接AP的端口VLAN打錯致使用戶沒法獲取到IP地址,
interface GigabitEthernet0/0/2
port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan 10 20
7,通過處理AP恢復正常。ip