路由器(Router)是連接兩個或多個網絡的硬件設備,在網絡間起網關的作用,是讀取每一個數據包中的地址然后決定如何傳送的專用智能性的網絡設備,路由器最主要的功能為實現信息的轉送。 橋接網絡一般是解決光纖無法到達的無奈之舉,Cisco的橋接鏈路技術比較成熟,穩定性實測還可以,用的也很普遍。
本文介紹Cisco FAT AP橋接配置實例,我使用的是3臺Cisco 1532E 胖AP,軟件版本是C1530 Software (ap1g3-K9W7-M), Version 15.2(4)JB3b,其它版本也應該通用。
邏輯拓撲圖

配置實例
本文只列舉了5.8G橋接的主要配置信息,2.4G橋接同理。
root AP配置
dot11 ssid TEST5G
authentication open
authentication key-management wpa version 2
wpa-psk ascii passwd5G
interface Dot11Radio1
no ip address
encryption mode ciphers aes-ccm
ssid TEST5G
antenna gain 0
peakdetect
dfs band 3 block
packet retries 64 drop-packet
channel 5765
station-role root bridge
bridge-group 1
bridge-group 1 spanning-disabled
interface BVI1
ip address 172.17.50.111 255.255.255.0
ip default-gateway 172.17.50.1
其它常規配置:略
以上配置的SSID,加密類型,channel,station-role 可根據需要自行修改。
station-role幾種常用的選擇如下:
station-role root bridge
station-role root bridge wireless-clients
station-role root access-point
station-role root ap-only
mesh1 AP配置
dot11 ssid TEST5G
authentication open
authentication key-management wpa version 2
wpa-psk ascii passwd5G
interface Dot11Radio1
no ip address
encryption mode ciphers aes-ccm
ssid TEST5G
antenna gain 0
peakdetect
packet retries 64 drop-packet
station-role non-root bridge
bridge-group 1
bridge-group 1 spanning-disabled
interface BVI1
ip address 172.17.50.222 255.255.255.0
ip default-gateway 172.17.50.1
其它常規配置:略
以上配置的SSID,加密類型,station-role 同樣也可根據需要自行修改。
station-role幾種常用的選擇如下:
station-role non-root bridge
station-role non-root bridge wireless-clients
station-role non-root wireless-clients
station-role workgroup-bridge
mesh2 AP配置
同mesh1 AP配置,略
橋接鏈路檢查
配置完成后,在root AP上查看,可以看到我的兩臺mesh AP都已橋接到root AP上。
Root-1532E#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
Mesh1-1532E Vi-Dot11 1 147 T I AIR-SAP15 Vi-Dot11 0
Mesh2-1532E Vi-Dot11 0 167 T I AIR-SAP15 Vi-Dot11 0
測試橋接鏈路信號質量
Root-1532E#show dot11 associations
802.11 Client Stations on Dot11Radio1:
SSID [WPWGB5G] :
MAC Address IP address IPV6 address Device Name Parent State
bc16.f59e.xxx1 0.0.0.0 :: Br-client - bc16.f5a0.xxx1 Assoc
bc16.f5a0.xxx2 172.17.50.107 :: bridge Mesh1-1532E self Assoc
bc16.f5a1.xxx3 172.17.50.110 :: bridge Mesh2-1532E self Assoc
Root-1532E#dot11 dot11Radio 1 linktest target bc16.f5a0.xxx2
Root-1532E#terminal monitor
Root-1532E#dot11 dot11Radio 1 linktest
Start linktest to bc16.f5a0.xxx2, 100 512 byte packets
GOOD (2 % retries) Time Strength(dBm) SNR SNR Retries
msec In Out In Out In Out
Sent : 100, Avg 0 - 28 - 31 58 56 Tot: 0 4
Lost to Tgt: 0, Max 4 - 28 - 31 59 57 Max: 0 1
Lost to Src: 0, Min 0 - 29 - 33 58 55
Rates (Src/Tgt) mcs4 100/100
Linktest Done in 0.084 msec
通過以上測試,就可以知道Root AP和Mesh AP的信號強度,信噪比,重傳率等信息。
本文可以幫助您基本地設置和管理您的路由器。
|