場景介紹:
Cisco 2960x單臺交換機, 物理服務器全部單網卡接入Cisco2960x. 要解決單點故障問題。
環境介紹:
Cisco 2960x-24TS-L 2臺
Dell R720(Broadcom網卡) 2臺
操作系統 Windows Server 2008 R2
目的: 通過交換機堆疊實現網絡冗餘,服務器端則可以通過TeamBonding來實現,來防止單點故障。
配置部分:
配置Cisco交換機堆疊:
堆疊1: switch 1 priority 15 copy run startup-config reload slot 1 堆疊2: switch 1 renumber2 switch 1 priority 10 copy run startup-config reload slot 1 連接堆疊線纜(Stack1、Stack2交叉互聯)
配置端口聚合:
interface Port-channel20 switchport access vlan 111 switchport mode access interface GigabitEthernet1/0/20 switchport access vlan 111 switchport mode access channel-group 20 mode active interface GigabitEthernet2/0/20 switchport access vlan 111 switchport mode access channel-group 20 mode active
配置服務器網卡Bonding:
下載Broadcom Advanced Control Suit4:
http://zh-cn.broadcom.com/support/ethernet-nic-netxtreme-i-server/
找到 BASP_BACS_Mgnt_apps-17.2.5.1.zip
下載並執行安裝:
以管理員身份運行BACS4:
1.導航至 【Teams】->【Create Teams】:
2. 在如下步驟中輸入Team Name:
3.選擇Team 類型:
4. 選擇要做Team Bonding的網卡序號,點擊【Add】進行增加操作:
其他保持默認,下一步, 直至如下圖【Finish】
5. Team創建好後,網絡屬性裏會多出一個名稱爲“Team 1”的連接.
爲此配置IP地址。並將對應網卡連接至做好端口聚合的交換機端口。如圖示:
兩網卡都接通時:
斷掉其中一條時:
模擬斷掉一條並恢復時:
這樣就實現了高可用了.
另外Windows Server 2012 自帶NIC組合功能,可以不用藉助於 BACS4實現網卡bonding。