Multicast based VXLAN with vQFX - I

안녕하세요 지난 번에 VXLAN관련 Posting을 했었습니다 그 2탄으로 Multicast 기반의 VXLAN도 써볼까 합니다.
물론 또 시간이 되면 가장 HOT 한(?) EVPN-VXLAN도 쓸겁니다 ㅎㅎ

기술 배경? 을 좀 보자면 사실 VXLAN은 Multicast 기반이 기본이고 추가적으로 파생된 부분이
  • Unicast
  • OVSDB
  • EVPN
입니다.

이유인 즉 VXLAN은 DataCenter 기술이고 최근 들어서야 DCI (Data Center Interconnect) 용으로 고려되는 기술이기에
Dynamic Tunnel의 concept를 기본적으로 가지고 있습니다.
따라서 언제 어디에 생성, 학습될지 모르는 Host 정보와 VTEP정보를 학습하고 제어할 Control plane이 필요한거죠.

뭐…사실 처음 VXLAN이 draft일 떄 부터의 내용을 쭈욱 보면서

Traditionally, all data centers use VLANs to enforce Layer2 isolation. As data centers grow and needs arise for extending Layer2 networks across data center or may be beyond a data center, the shortcomings of VLANs are evident. These shortcomings are –
  • In a data center, there are requirements of thousands of VLANs to partition traffic in a multi-tenant environment sharing the same L2/L3 infrastructure for a Cloud Service Provider. The current limit of 4096 VLANs (some are reserved) is not enough.
  • Due to Server virtualization, each Virtual Machine (VM) requires a unique MAC address and an IP address. So, there are thousands of MAC table entries on upstream switches. This places much larger demand on table capacity of the switches.
  • VLANs are too restrictive in terms of distance and deployment. VTP can be used to deploy VLANs across the L2 switches but most people prefer to disable VTP due to its destructive nature.
  • Using STP to provide L2 loop free topology disables most redundant links. Hence, Equal-Cost Multi-Path (ECMP) is hard to achieve. However, ECMP is easy to achieve in IP network.
위와 같은 내용을 정리한 적이 있네요
https://datatracker.ietf.org/doc/rfc7348/history/
자세한 내용으나 더 공부하고자 하는 분이 계시면 위의 url을 보시면 좋을 듯합니다.

머 이래저래 예전에는 아래와 같은 use-case를 소개 했었네요
image
출처는
* Cisco Live 365 - LTRDCT-1223 - Implementing VXLAN in DataCenter

하지만 실제 use-case는 위의 3가지 뿐만 아니라 더 많은 상황에서 쓰이고 있습니다.
그리고 실제 사용하고자 하는 이유는 제 경험상으로는 아래와 같은 이유가 있었네요

  • Data Center Rack space utilization
    • 대충 영어로 써봤지만 ‘조각상면’ 이라는 상황이 첫번째.
  • Layer 3 underlay based L2 extension.
    • 기 운영되던 subnet을 추가 설치되는 ToR로 확장 시
  • GRE replace to VXLAN.
    • 기존 GRE로 운영하던 구간을 호기심 반, 필요성 반으로 VXLAN으로 변경
  • Single Tenant DC to Multi Tenant DC
    • 동일 VLAN에 속한 Host에 대한 망 분리.
딱 생각 나는건 위와 같은 상황들 이네요
물론 기술이라는게 많은 상황에서 능독적으로 사용할 수 있습니다. 딱 ~~ 한 상황에서만 쓰시오 라는게 없으니 말이죠
대신, 이런 경우에 쓰면 바람직합니다~ 하는 Recommand가 있을 뿐이죠 ㅎㅎ

머 일단 서론이 길었네요 실습 해볼까용?
오늘은 지난 번과 다른게 Juniper 의 Data Center Switch인 QFX Series, Virtual QFX를 사용하고자 합니다.

image
https://www.juniper.net/us/en/products-services/switching/
image
요래 생긴 녀석의 가상화 버전이네요.
다운로드는 지난 번에 받아 두었으니 구성도를 그려보겠습니다.

image

imageimage
vQFX를 3대 생성하고요,host 용 vpc로 2개 생성합니다.

image
이제 아래와 같이 Link를 연결해 주시고 전원을 켜주시면 실습 준비가 끝납니다.

image

게시물 늘릴 겸 한번 쉬고 갈래요~











댓글

이 블로그의 인기 게시물

Juniper - OSPF Configuration Part - III

New Bebe Lab with EVE-NG II

New Bebe Lab with EVE-NG I