我正在尝试使用 1941W 路由器通过192.168.1.0\24
实验网络“扩展”网络。192.168.10.0\24
我已经配置了 1941W 来分发192.168.10.0\24
网络,通过集成的 wlan-ap 0 进行 WLAN 访问,并使用
最初,这种方法运行良好,但几分钟后,客户端会与 AP 断开连接,然后重新连接。发生这种情况时,它们似乎无法“重新获得”租约(Wireshark 显示连续的 DCHP Discover 数据包没有回复)和 IP,但租约仍显示在 DHCP 绑定中。在客户端续订 DHCP 租约没有效果。这种间歇性意味着它与无线有关,但我不太确定。
我发现修复此问题的唯一方法是重新加载 AP,但目前还没有发现任何有意义的变化。任何指导或帮助都将不胜感激!
这体现在dot11 association
及DHCP bindings
以下:
我们可以看到客户9801.a7ad.ea73
端既有租约又有关联……但没有 IP 地址。
以下是 1941W 和 wlan-ap0 的配置
配置
1941W 路由器
Current configuration : 2615 bytes
!
! Last configuration change at 13:09:53 UTC Sun Jan 17 2021 by cisco
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Xbow
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 xxxxxxxxxxx
enable password 7 xxxxxxxxxxx
!
no aaa new-model
service-module wlan-ap 0 bootimage autonomous
!
no ipv6 cef
!
ip dhcp excluded-address 192.168.10.1 192.168.10.10
!
ip dhcp pool VLAN10-WIFI
network 192.168.10.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8
!
!
no ip domain lookup
ip domain name xbow.local
ip cef
multilink bundle-name authenticated
!
crypto pki token default removal timeout 0
!
!
license udi pid CISCO1941W-E/K9 sn FCZ1407C0MH
hw-module ism 0
!
username cisco password 7 xxxxxxxxxxxxx
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface wlan-ap0
description Service module interface to manage the embedded AP
ip address 11.11.11.11 255.255.255.255
arp timeout 0
no mop enabled
no mop sysid
!
interface GigabitEthernet0/1
ip address dhcp
duplex auto
speed auto
!
interface Wlan-GigabitEthernet0/0
description Internal switch interface connecting to the embedded AP
switchport mode trunk
no ip address
!
interface ATM0/0/0
no ip address
shutdown
no atm ilmi-keepalive
!
interface Vlan1
ip address 192.168.11.1 255.255.255.0
!
interface Vlan10
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
ip forward-protocol nd
!
ip http server
ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 192.168.1.1 254
ip route 0.0.0.0 0.0.0.0 192.168.1.1 254
!
access-list 1 permit any
!
control-plane
!
banner motd ^C
**************************
EXPERIMENTAL ROUTER
**************************
^C
!
line con 0
exec-timeout 30 0
password 7 060506324F41
logging synchronous
login local
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line 67
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
line vty 0 4
exec-timeout 30 0
privilege level 15
password 7 xxxxxxxxxx
logging synchronous
login local
transport input ssh
!
scheduler allocate 20000 1000
end
这是我的 WLAN AP 配置
WLAN 接入点 0*
Current configuration : 2001 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname ap
!
enable secret 5 xxxxxxxx
!
no aaa new-model
!
!
dot11 syslog
!
dot11 ssid XBOW-WIFI
authentication open
authentication key-management wpa
guest-mode
wpa-psk ascii 7 xxxxxxxxxx
!
username Cisco password 7 xxxxxxxxxx
!
!
bridge irb
!
interface Dot11Radio0
description 2.4GHz radio
no ip address
no ip route-cache
!
encryption mode ciphers aes-ccm
!
ssid XBOW-WIFI
!
antenna gain 0
station-role root
bridge-group 10
bridge-group 10 subscriber-loop-control
bridge-group 10 block-unknown-source
no bridge-group 10 source-learning
no bridge-group 10 unicast-flooding
bridge-group 10 spanning-disabled
!
interface Dot11Radio1
description 5GHz radio
no ip address
no ip route-cache
!
encryption mode ciphers aes-ccm
!
ssid XBOW-WIFI
!
antenna gain 0
no dfs band block
channel dfs
station-role root
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
!
interface GigabitEthernet0
description the embedded AP GigabitEthernet 0 is an internal interface connecting AP with the host router
no ip address
no ip route-cache
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
!
interface GigabitEthernet0.10
encapsulation dot1Q 10
no ip route-cache
bridge-group 10
no bridge-group 10 source-learning
bridge-group 10 spanning-disabled
!
interface BVI1
ip address 192.168.11.253 255.255.255.0
no ip route-cache
!
ip default-gateway 192.168.10.0
ip http server
no ip http secure-server
ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
bridge 1 route ip
!
line con 0
no activation-character
line vty 0 4
logging synchronous
login local
!
end