Contents
方針
- リングアグリゲーションをするスイッチ筐体は同じものを使います。(スタック組んでません)
- Catalystのポートは
0/3
0/5
を使います。 - 負荷分散の設定は
src-dst-ip
を使います。 - ここでのVLANは
10
を使います。
環境
項目 | バージョン |
---|---|
QNAP | 4.2.4 |
2960 | 12.2 |
QNAP設定
(1) ネットワークの設定を開きます。
(2) ポートトラッキング
をクリックします。
(3) トラッキンググループ1
から IEEE 802.3ad
を選択します。
(4) 束ねるインターフェイスを選択します。
(5) ハッシュポリシーを変更します。
(6) Layer 2+3(MAC+IP)
を選択します。
(7) OK
をクリックします。
(8) 適用
をクリックします。
(8) OK
をクリックします。
Catalyst設定
(1) コンフィグレーションモードへ移行します。
1 2 |
C2960#config t |
(2) ポートチャネルを作成します。
1 2 3 4 5 |
C2960(config)#interface range gigabitEthernet 0/3, gigabitEthernet 0/5 C2960(config-if-range)#channel-group 1 mode active C2960(config-if-range)#no shutdown C2960(config-if-range)#exit |
(3) 作成したポートチャネルにVLAN設定をします。
1 2 3 4 5 |
C2960(config)#interface port-channel 1 C2960(config-if)#switchport mode access C2960(config-if)#switchport access vlan 10 C2960(config-if)#exit |
(4) 負荷分散の設定をします。
1 2 3 |
C2960(config)#port-channel load-balance src-dst-ip C2960(config)#exit |
(5) 状態を確認してみます。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
C2960#show etherchannel summary Flags: D - down P - bundled in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use f - failed to allocate aggregator M - not in use, minimum links not met u - unsuitable for bundling w - waiting to be aggregated d - default port Number of channel-groups in use: 1 Number of aggregators: 1 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 1 Po1(SU) LACP Gi0/3(P) Gi0/5(P) C2960#show run interface port-channel 1 Building configuration... Current configuration : 82 bytes ! interface Port-channel1 switchport access vlan 10 switchport mode access end |
後は、ブラウザからQNAPの管理画面へアクセスできること、パソコンやサーバからマウント出来ていればOKです 🙂