Dell Networking SONiC 정적 Anycast 게이트웨이(애니캐스트 주소)를 구성하는 방법

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-Series: 문서를 참조하십시오. 기본 인터페이스 구성 - SONiC 4.0에서 인터페이스 이름 지정에 대한 자세한 내용을 참조하십시오.

 

인덱스

정적 Anycast 게이트웨이
MCLAG
의 SAG구성 구문
샘플 구성
 

정적 Anycast 게이트웨이

정적 SAG(Anycast Gateway)를 사용하면 여러 스위치가 액티브/액티브 라우터 구성에서 공유 게이트웨이 주소를 사용하여 패킷을 동시에 라우팅할 수 있습니다. 각 스위치는 애니캐스트 가상 IP 주소와 애니캐스트 가상 MAC 주소로 구성됩니다. 애니캐스트 가상 MAC는 구성된 모든 애니캐스트 IP 주소에서 공유됩니다.
스파인-리프 EVPN 설정에서 모든 게이트웨이 라우팅 리프 스위치는 일관된 애니캐스트 구성을 가지고 있습니다. 특히 각 스위치는 동일한 애니캐스트 가상 IP 주소와 애니캐스트 가상 MAC 주소로 설정됩니다.
 

MCLAG의 SAG

Dell SONiC에서 MCLAG(Multi-chassis Link Aggregation)를 사용하는 경우 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 주소일 수 없습니다.

 

구성 구문

 
구성 설명
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>
애니캐스트 게이트웨이 주소 구성

애니캐스트 게이트웨이를 비활성화하려면 다음을 수행합니다.
 
구성 설명
DELLSONiC(config)# ip anycast-address disable                                    
Anycast 게이트웨이 주소 비활성화
 
확인하려면 아래 명령을 사용합니다.
 
구성 설명
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.