Dell Networking SONiC:静的エニーキャスト ゲートウェイ(エニーキャスト アドレス)を設定する方法

Summary: この記事では、Dell Networking Enterprise SONiCで静的エニーキャスト ゲートウェイ(エニーキャスト アドレス)を構成する方法について説明します。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

 

必要条件

概念を示すために、標準のインターフェイスの命名を使用しています。詳細については、記事「Dell Networking Sシリーズ: インターフェイスの命名に関する詳細については、「基本的なインターフェイス設定 – SONiC 4.0」を参照してください。

 

索引

静的エニーキャスト ゲートウェイ
MCLAG
でのSAG構成構文
設定例
 

静的エニーキャスト ゲートウェイ

スタティック エニーキャスト ゲートウェイ(SAG)を使用すると、アクティブ/アクティブ ルーター構成で共有ゲートウェイ アドレスを使用して、複数のスイッチが同時にパケットをルーティングできます。各スイッチは、エニーキャスト仮想 IP アドレスとエニーキャスト仮想 MAC アドレスで構成されます。エニーキャスト仮想 MAC は、設定されたすべてのエニーキャスト IP アドレスで共有されます。
スパイン/リーフ EVPN セットアップでは、すべてのゲートウェイ ルーティング リーフ スイッチに一貫したエニーキャスト構成があります。具体的には、各スイッチは、同じエニーキャスト仮想IPアドレスとエニーキャスト仮想MACアドレスでセットアップされます。
 

MCLAGでのSAG

Dell SONiCでマルチシャーシ リンク アグリゲーション(MCLAG)が使用されている場合は、VRRPで代わりに静的エニーキャスト ゲートウェイを使用します。同じ VLAN インターフェイス上の両方の MCLAG ピアに、同じエニーキャスト IP アドレスとエニーキャスト MAC アドレスを設定します。
Dell Enterprise SONiCでは、MCLAGは現在VRRPをサポートしていません。最新バージョン(Dell SONiC 4.2)の時点では、この記述は正確です。今後の互換性については、お使いのバージョンのユーザー ガイドを参照してください。

たとえば、次のトポロジーでは、両方のMCLAGピアのVLAN 100に同じエニーキャストIPアドレス10.0.0.254/24を使用しています。 


MCLAGエニーキャストIPアドレスの例

メモ:
  • エニーキャストIPアドレスを管理目的で使用することはできません。 
  • エニーキャスト仮想 MAC アドレスをマルチキャスト MAC アドレスにすることはできません。

 

構成構文

 
Configuration 説明
admin@DELLSONiC:~$ sonic-cli   
Dell SONiC CLIの起動                   
DELLSONiC# configure terminal
設定モードに入ります。 
DELLSONiC(config)# ip anycast-address enable
エニーキャスト ゲートウェイ アドレスの有効化
DELLSONiC(config)# ip anycast-mac-address xx:xx:xx:xx:xx:xx
エニーキャストMACアドレスの設定
DELLSONiC(config)# interface Vlan <vlan ID>   
VLANの構成
DELLSONiC(config-if-Vlan-<ID>)# ip anycast-address <A.B.C.D/mask>
エニーキャスト ゲートウェイ アドレスの構成

エニーキャスト ゲートウェイを無効にするには、次の手順を実行します。
 
Configuration 説明
DELLSONiC(config)# ip anycast-address disable                                    
エニーキャスト ゲートウェイ アドレスの無効化
 
確認するには、以下のコマンドを使用します。
 
Configuration 説明
DELLSONiC# show ip static-anycast-gateway 
static-anycast-gatewayの詳細を表示する          

 
 

サンプル設定

Vlan 100でのIPエニーキャスト アドレスの設定: 
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# ip anycast-mac-address 00:11:22:33:44:55
DELLSONiC(config)# ip anycast-address enable

Lets configure anycast IP in interface vlan 100

DELLSONiC(config)# interface Vlan 100
DELLSONiC(config-if-Vlan100)# ip anycast-address 10.0.0.254/24
DELLSONiC(config-if-Vlan100)# end
DELLSONiC#

Vlan 100のIPアドレスを確認するには、次の手順を実行します。
 
DELLSONiC# show ip interfaces
Flags: U-Unnumbered interface, A-Anycast IP
-----------------------------------------------------------------------------------------------------------------
Interface            IP address/mask                              VRF                 Admin/Oper     Flags
-----------------------------------------------------------------------------------------------------------------
Vlan100              10.0.0.254/24                                                    up/up          A

静的エニーキャスト ゲートウェイを確認するには、次の手順を実行します。
 
DELLSONiC# show ip static-anycast-gateway
Configured Anycast Gateway MAC address: 00:11:22:33:44:55
IPv4 Anycast Gateway MAC address: enable
Total number of gateway: 1
Total number of gateway admin UP: 1
Total number of gateway oper UP: 1
Interfaces           Gateway Address      Vrf             Admin/Oper
-------------------  ---------------      --------------- ----------
Vlan10               10.0.0.254/24                             up/up

Affected Products

Enterprise SONiC Distribution, PowerSwitch E3200-ON Series, Dell EMC Networking N3200-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON , PowerSwitch Z9332F-ON, PowerSwitch Z9432F-ON ...
Article Properties
Article Number: 000223335
Article Type: How To
Last Modified: 20 Mar 2024
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.