📞 客服專線:02-26257937 加入LINE好友

 

新一代WNAC 智慧無線控制器的VRRP 冗餘備份功能配置(手動)

 

本文主要描述兩台AC做冗餘備份的功能,冗余備份利用VRRP協議,將兩台或多台AC放置在網路中,當主AC發生故障失效時,備用AC能立即接管主AC上的AP,並繼續工作,保證用戶的無線網路不會中斷。

測試產品型號及固件版本:

  • AC(WNAC7512): AW1.3.10.5742a.X7X5
  • AP(WNDAP350): 1.3.6.2

一、拓撲結構圖

  • AP連在二層交換機GS748TPS的vlan100中,且連接AP的埠打上了vlan2的tag,從而讓無線用戶資料直接進入vlan2(本例使用本地轉發模式,AP採用手動關聯方式)。
  • 三層交換機GSM7252PS的1號,2號埠(已經劃分到vlan100)分別連接兩台AC。
  • AC通過三層介面(VLAN2,已啟用高級路由模式)連接到交換機的vlan100。
  • 兩台AC之間也是通過三層介面Eth1-1(高級路由模式)或vlan連接一條心跳線。心跳線的作用是檢查對方是否工作。
  • 具體IP和vlan規劃見上圖

二、配置說明

在配置VRRP之前,兩台AC均先做如下預配置

  1. 創建兩個三層介面(高級路由模式),一個介面用於心跳線連接,一個用於連接到三層交換機,並與AP實現關聯。例如,在圖中Master的eth1-1設置為10.0.0.1(心跳線),VLAN2設置為192.168.10.1(連接三層交換機)。
  2. 創建指向三層交換機的三層路由。例中即ip route 0.0.0.0/0 192.168.10.254。
  3. 創建相同的安全策略、wlan配置和AP列表。例中使用的是wpa_p安全策略,wlan映射到vlan2。
  4. 其他相關網路設置

三、注意事項:

  1. AP關聯AC時使用的IP是虛擬IP,在例中即是192.168.10.100。因此若是跨三層部署,需要注意在DHCP Option43設置或AP手工指定AC的IP時,使用虛擬IP位址。
  2. 建議不要在AC上做DHCP伺服器,如果兩台AC都開啟了DHCP,可能造成AP反復從兩台AC上獲取位址,造成不穩定的情況。
  3. 兩台AC的AP license數量都要能滿足現網AP使用的數量。
  4. 禁用搶佔模式。
  5. 二層部署也建議開啟Option 43,或者在AP上指定AC的位址,AC的IP為虛擬位址。
  6. 在1.3固件版本之後配置VRRP,除在AC上面創建VLAN,路由,及給相應介面配置IP位址在config t下面配置以外,其他的如安全策略,WLAN策略,WLAN服務開啟,策略綁定,添加AP均在config hansi-profile 模式下面配置。
  7. 在1.3固件版本後,VRRP的配置目前只能通過命令行(CLI)配置,不能通過WEB配置。
  8. AP在其中一台AC上面關聯之後,需要手動把註冊上來後的AP資訊複製到另外一台AC。

四、相關配置

1AC1的主要配置(紅色部分需在config hansi-profile 模式下配置):

create vlan 2 vlan2
config vlan 2
add port 1/3 untag
add port 1/2 untag
exit
 
interface eth1-1
advanced-routing enable
exit
interface vlan2
advanced-routing enable
exit
 
interface eth1-1
bandwidth 1000000
ip address 10.0.0.1/24
exit
interface vlan2
bandwidth 1000000
ip address 192.168.10.1/24
exit
 
config hansi-profile 1                                        //配置VRRP 1
create security 1 wpa_p
config security 1
security type wpa_p
encryption type aes
security ascii key 12345678
exit
 
create wlan 1 wlan1 NG1_WPA
config wlan 1
apply securityID 1
wlan apply interface vlan2
set local wlan-vlan 2
exit
 
create wtp 1 WNDAP350 model&mac WNDAP350 mac 00:26:F2:8B:71:80
config wtp 1
wtp apply interface vlan2
set wtp sn 00:26:F2:8B:71:80
exit
config radio 4
radio apply wlan 1
beaconinterval 400
mode 11b/g/n
set radio diversity enable
set radio txantenna auto
11n cwmode ht40
11n mcs 15
exit
config radio 5
radio apply wlan 1
beaconinterval 400
mode 11a/n
set radio diversity enable
set radio txantenna auto
11n cwmode ht40
11n mcs 15
exit
create wtp 2 WNDAP350 model&mac WNDAP350 mac 30:46:9A:16:59:20
config wtp 2
wtp apply interface vlan2
set wtp sn 30:46:9A:16:59:20
exit
config radio 8
radio apply wlan 1
beaconinterval 400
mode 11b/g/n
set radio diversity enable
set radio txantenna auto
11n cwmode ht40
11n mcs 15
exit
config radio 9
radio apply wlan 1
beaconinterval 400
mode 11a/n
set radio diversity enable
set radio txantenna auto
11n cwmode ht40
11n mcs 15
exit
 
config wlan 1
service enable
exit
 
config wtp 1
wtp used
exit
config wtp 2
wtp used
exit
set neighbordead interval 900
 
config heartbeatlink eth1-1 10.0.0.1                              //配置心跳線,輸入連接心跳線的埠和IP
config downlink vlan2 192.168.10.100 priority 200                              //配置下行介面虛擬IP,以及優先順序(下行介面即與AP關聯的介面,例中下行介面是eth1-1。優先順序數值大者優先成為master。)
config hansi advertime 1                              ///配置廣告時間(秒為單位)
config hansi preempt no                               ///配置禁用搶佔模式
config service enable                               ///啟用VRRP服務
exit
ip route 0.0.0.0/0 192.168.10.254

2AC2的主要配置(紅色部分需在config hansi-profile 模式下配置):

create vlan 2 vlan2
config vlan 2
add port 1/3 untag
add port 1/2 untag
exit
 
interface eth1-1
advanced-routing enable
exit
interface vlan2
advanced-routing enable
exit
 
interface eth1-1
bandwidth 1000000
ip address 10.0.0.2/24
exit
 
interface vlan2
bandwidth 1000000
ip address 192.168.10.2/24
exit
 
config hansi-profile 1                               //配置VRRP 1
create security 1 wpa_p
config security 1
security type wpa_p
encryption type aes
security ascii key 12345678
exit
 
create wlan 1 wlan1 NG1_WPA
config wlan 1
apply securityID 1
wlan apply interface vlan2
set local wlan-vlan 2
exit
 
create wtp 1 WNDAP350 model&mac WNDAP350 mac 00:26:F2:8B:71:80
config wtp 1
wtp apply interface vlan2
set wtp sn 00:26:F2:8B:71:80
exit
config radio 4
radio apply wlan 1
beaconinterval 400
mode 11b/g/n
set radio diversity enable
set radio txantenna auto
11n cwmode ht40
11n mcs 15
exit
config radio 5
radio apply wlan 1
beaconinterval 400
mode 11a/n
set radio diversity enable
set radio txantenna auto
11n cwmode ht40
11n mcs 15
exit
create wtp 2 WNDAP350 model&mac WNDAP350 mac 30:46:9A:16:59:20
config wtp 2
wtp apply interface vlan2
set wtp sn 30:46:9A:16:59:20
exit
config radio 8
radio apply wlan 1
beaconinterval 400
mode 11b/g/n
set radio diversity enable
set radio txantenna auto
11n cwmode ht40
11n mcs 15
exit
config radio 9
radio apply wlan 1
beaconinterval 400
mode 11a/n
set radio diversity enable
set radio txantenna auto
11n cwmode ht40
11n mcs 15
exit
 
config wlan 1
service enable
exit
 
config wtp 1
wtp used
exit
config wtp 2
wtp used
exit
set neighbordead interval 900
 
config heartbeatlink eth1-1 10.0.0.2                                //配置心跳線,輸入連接心跳線的埠和IP
config downlink vlan2 192.168.10.100 priority 100                                //虛擬IP與master一致,但優先順序要小於master
config hansi advertime 1                               //配置廣告時間(秒為單位)
config hansi preempt no                               //配置禁用搶佔模式
config service enable                               //啟用VRRP服務
exit
ip route 0.0.0.0/0 192.168.10.254

3、三層交換機GSM7252PS主要配置:

(GSM7252PS) #show running-config
!Current Configuration:
!System Description "GSM7252PS - 48-Port GE L2+ Managed Stackable PoE Switch with 2 10GE SFP+ ports"
!System Software Version "8.0.3.11"
!System Up Time"0 days 22 hrs 38 mins 38 secs"
!Additional PackagesFASTPATH QOS,FASTPATH Multicast,FASTPATH IPv6,FASTPATH Stacking
!Current SNTP Synchronized Time: Not Synchronized
network protocol none
vlan database
vlan 2,100
vlan routing 1 1
vlan routing 2 2
vlan routing 100 100
exit
configure
sntp client mode unicast
! sntp server status is active
sntp server time-d.netgear.com
stack
member 1 7
exit
slot 1/0 8
set slot power 1/0
no set slot disable 1/0
ipv6 router ospf
exit
ip routing
line console
exit
line telnet
exit
line ssh
exit
spanning-tree configuration name "00-26-F2-F6-B3-10"
!
interface 1/0/1                              連接AC1
vlan pvid 100
vlan participation include 100
exit
interface 1/0/2                              連接AC2
vlan pvid 100
vlan participation include 100
exit
interface 1/0/3
vlan pvid 100
vlan participation include 100
exit
interface 1/0/4
vlan pvid 100
vlan participation include 100
exit
interface 1/0/11
vlan pvid 2
vlan participation include 2
exit
interface 1/0/12
vlan pvid 2
vlan participation include 2
exit
interface 1/0/47
vlan participation include 2,100
vlan tagging 2,100
exit
interface 1/0/48連接GS748TPS交換機
vlan participation include 2,100
vlan tagging 2,100
exit
interface 1/0/49
no auto-negotiate
exit
interface 1/0/50
no auto-negotiate
exit
interface 1/0/51
no auto-negotiate
exit
interface 1/0/52
no auto-negotiate
exit
interface vlan 1
routing
ip address192.168.1.254255.255.255.0
exit
interface vlan 2
routing
ip address192.168.2.254255.255.255.0
exit
interface vlan 100
routing
ip address192.168.10.254255.255.255.0
exit
router rip
exit
router ospf
exit
service dhcp
ip dhcp pool "vlan2"
lease 2 0 0
default-router 192.168.2.254
network 192.168.2.0 255.255.255.0
exit
ip dhcp pool "vlan100"
lease 2 0 0
default-router 192.168.10.254
network 192.168.10.0 255.255.255.0
option 43 ip 192.168.10.100AC                              雙機備份的時候建議DHCP開啟Option 43
exit
exit
(GSM7252PS) #

4、二層千兆POE交換機GS748TPS配置:

五、AC上面主備狀態查看方法:

在Master用show wtp list ,show hansi 1命令,可以看到VRRP的狀態如下:

在Standby用show wtp list,show hansi 1命令,可以看到VRRP的狀態如下:

 

 

"
流覽人數:1262發佈時間:2012-09-22
新手指南
注冊新用戶
會員等級
網上訂購商品流程
客戶簽收流程
付款方式
7-11取貨付款
支付寶付款
銀行轉帳付款
貨到付款
配送辦法
配送費收取標準
售後服務
售後服務說明
維修/退換貨
退款說明
交換連結
交換連結中心
|關於我們|聯系我們|人才招聘|新聞資訊|合作夥伴|有情連結|快遞查詢|我要留言|網站聯盟|幫助中心

Buy360-IC版權所有,轉載必究‧Copyright© buy360 Co., Ltd. 

 

加入好友
网店系统 支付宝接口 购物系统 支付宝接口申请 商城系统 在线支付接口 网上购物系统 网站在线支付接口企业建站 网上商城系统 网上开店系统网站制作 在线支付接口申请 微信商城系统 购物网站系统 平潭新闻 平潭 平潭岛 平潭天气 平潭人才网网站建设网店模板

本商城由 Lodoeshop™ 提供系统支持