SlideShare a Scribd company logo
1 of 9
29 Nov, 2012

     SAKURA Internet Research Center
Senior Researcher / Naoto MATSUMOTO
VXLAN TESTING Overview
 1) Linux bridge-based VXLAN is developing by Stephen Hemminger & et al.
 http://linux-network-plumber.blogspot.jp/2012/09/just-published-linux-kernel.html
               +config VXLAN
               +    tristate "Virtual eXtensible Local Area Network (VXLAN)"
               +    depends on EXPERIMENTAL
               +    ---help---
               +                This allows one to create vxlan virtual interfaces that provide
               +                Layer 2 Networks over Layer 3 Networks. VXLAN is often used
               +                to tunnel virtual network infrastructure in virtualized environments.
               +                For more information see:
               +                  http://tools.ietf.org/html/draft-mahalingam-dutt-dcops-vxlan-02


 2) Infiniband Adapter is the fastest of all for datacenter networking.


                                                              Dual-port Infiniband FDR 56Gbit/s
                                                                               Host Bus Adapter




       VXLAN + IP over Infiniband Network is AWESOME!.
Buildup to the New Kernel & etc
  1) Install OFED for Infiniband Networking
  # wget https://www.openfabrics.org/downloads/OFED/ofed-1.5.4/OFED-1.5.4.1.tgz
  # tar xzvf ./OFED-1.5.4.1.tgz
  # ./OFED-1.5.4.1/install.pl   /*Install OFED software */
  # sync; sync; sync; reboot;

  2) Linux Kernel Update
  # cd /usr/local/src
  # wget http://www.kernel.org/pub/linux/kernel/v3.0/testing/linux-3.7-rc7.tar.bz2
  # tar xvfj linux-3.7-rc7.tar.bz2
  # cd linux-3.7-rc7
  # cp /boot/config-2.6.32-220.23.1.el6.x86_64 ./.config
  # make oldconfig
  # vi .config
  CONFIG_VXLAN=m          /* Add New Line */
  # make; make modules_install ; make install
  # sync; sync; sync; reboot

  3) iproute2 Update
  # yum install db4-devel.x86_64
  # git clone git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git
  # cd iproute2; ./configure ; make ; make install
                                            Source: SAKURA Internet Research Center. 11/2012: Project THORN
VXLAN Configuration

# uname -a
Linux VXLAN-A 3.7.0-rc7 #1 SMP ....                                            56Gbit/s IPoIB
# ip addr add 10.1.1.1/24 dev ib1                                              IP over Infiniband Network
# ip route add 224.0.0.0/4 dev ib1
# ip link set up dev ib1
# ip link add vxlan99 type vxlan id 5001 group 239.0.0.99 ttl 10 dev ib1       VXLAN Network
# ip addr add 192.168.99.1/24 dev vxlan99
# ip link set up dev vxlan99
# iperf -u -s -B 239.0.0.99 & /* IGMPv3 Join TIPS */



# uname -a
Linux VXLAN-B 3.7.0-rc7 #1 SMP ....
# ip addr add 10.1.1.2/24 dev ib1
# ip route add 224.0.0.0/4 dev ib1
# ip link set up dev ib1
# ip link add vxlan99 type vxlan id 5001 group 239.0.0.99 ttl 10 dev ib1
# ip addr add 192.168.99.2/24 dev vxlan99
# ip link set up dev vxlan99
# iperf -u -s -B 239.0.0.99 & /* IGMPv3 Join TIPS */
                                                 Source: SAKURA Internet Research Center. 11/2012: Project THORN
VXLAN performance check

VXLAN-A# ip link show dev vxlan99
5: vxlan99: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65470 qdisc
                                                                             56Gbit/s IPoIB
link/ether b2:cc:a5:b8:74:95 brd ff:ff:ff:ff:ff:ff                           IP over Infiniband Network

VXLAN-A# iperf -c 192.168.99.2 -d
:                                                                            VXLAN Network
[ ID] Interval   Transfer  Bandwidth
[ 3] 0.0-10.0 sec 29.7 GBytes 25.5 Gbits/sec




VXLAN-B# ip link show dev vxlan99
5: vxlan99: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65470 qdisc
link/ether 4a:a6:cb:85:fb:2b brd ff:ff:ff:ff:ff:ff

VXLAN-B# iperf -s & vnstat -l -i ib1
Monitoring ib1... (press CTRL-C to stop)

rx:   18.49 Gbit/s 53431 p/s     tx:   22.82 Gbit/s 58258 p/s

                                               Source: SAKURA Internet Research Center. 11/2012: Project THORN
Traffic Analysis using Wireshark




                                              Outer Header




                                              Inner Header




                   Source: SAKURA Internet Research Center. 11/2012: Project THORN
Debug TIPS for tshark
  1) VXLAN Traffic Monitoring
  # tshark -pni ib1
  Capturing on ib1
   0.000000      10.1.1.1 -> 239.0.0.99 UDP Source port: 38367 Destination port: 8472
   0.001072      10.1.1.2 -> 10.1.1.1  UDP Source port: 39994 Destination port: 8472

  2) IGMPv3 Join/Releave Monitoring
  # tshark -i ib1 -VV
  Frame 1 (56 bytes on wire, 56 bytes captured)
  Internet Protocol, Src: 10.1.1.1 (10.1.1.1), Dst: 224.0.0.22 (224.0.0.22)
  Internet Group Management Protocol
     [IGMP Version: 3]
     Type: Membership Report (0x22)
     Header checksum: 0xea9a [correct]
     Num Group Records: 1
     Group Record : 239.0.0.99 Change To Exclude Mode
        Record Type: Change To Exclude Mode (4)
        Aux Data Len: 0
        Num Src: 0
        Multicast Address: 239.0.0.99 (239.0.0.99)


                                             Source: SAKURA Internet Research Center. 11/2012: Project THORN
Debug TIPS for iproute2
  1) VXLAN Link status
  # ip -d link show dev vxlan99
  5: vxlan99: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65470 qdisc noqueue state UNKNOWN
     link/ether 4a:a6:cb:85:fb:2b brd ff:ff:ff:ff:ff:ff
     vxlan id 5001 group 239.0.0.99 dev ib1 port 32768 61000 ageing 300

  2) VXLAN IP Address information
  # ip -d addr show dev vxlan99
  5: vxlan99: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65470 qdisc noqueue state UNKNOWN
     link/ether 4a:a6:cb:85:fb:2b brd ff:ff:ff:ff:ff:ff
     inet 192.168.99.1/24 scope global vxlan99
     inet6 fe80::48a6:cbff:fe85:fb2b/64 scope link
        valid_lft forever preferred_lft forever

  3) VXLAN Network Table Lookup
  # netstat -nr
  Kernel IP routing table
  Destination    Gateway   Genmask        Flags   MSS Window irtt Iface
  10.1.1.0        0.0.0.0 255.255.255.0   U       00      0 ib1
  192.168.99.0 0.0.0.0    255.255.255.0   U       00      0 vxlan99
  224.0.0.0       0.0.0.0 240.0.0.0       U       00      0 ib1
                                      Source: SAKURA Internet Research Center. 11/2012: Project THORN
Thank you for your interest.

More Related Content

More from Naoto MATSUMOTO

2023年以降のサーバークラスタリング設計(メモ)
2023年以降のサーバークラスタリング設計(メモ)2023年以降のサーバークラスタリング設計(メモ)
2023年以降のサーバークラスタリング設計(メモ)Naoto MATSUMOTO
 
防災を考慮した水中調査の一考察
防災を考慮した水中調査の一考察防災を考慮した水中調査の一考察
防災を考慮した水中調査の一考察Naoto MATSUMOTO
 
旅するパケットの見える化
旅するパケットの見える化旅するパケットの見える化
旅するパケットの見える化Naoto MATSUMOTO
 
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
LTE-M/NB IoTを試してみる nRF9160/Thingy:91LTE-M/NB IoTを試してみる nRF9160/Thingy:91
LTE-M/NB IoTを試してみる nRF9160/Thingy:91Naoto MATSUMOTO
 
災害時における無線モニタリングによる社会インフラの見える化
災害時における無線モニタリングによる社会インフラの見える化災害時における無線モニタリングによる社会インフラの見える化
災害時における無線モニタリングによる社会インフラの見える化Naoto MATSUMOTO
 
BeautifulSoup / selenium Deep dive
BeautifulSoup / selenium Deep diveBeautifulSoup / selenium Deep dive
BeautifulSoup / selenium Deep diveNaoto MATSUMOTO
 
Network Adapter Deep dive
Network Adapter Deep diveNetwork Adapter Deep dive
Network Adapter Deep diveNaoto MATSUMOTO
 
x86_64 Hardware Deep dive
x86_64 Hardware Deep divex86_64 Hardware Deep dive
x86_64 Hardware Deep diveNaoto MATSUMOTO
 
ADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheetADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheetNaoto MATSUMOTO
 
3/4G USB modem Cheat Sheet
3/4G USB modem Cheat Sheet3/4G USB modem Cheat Sheet
3/4G USB modem Cheat SheetNaoto MATSUMOTO
 
How To Train Your ARM(SBC)
How To  Train Your ARM(SBC)How To  Train Your ARM(SBC)
How To Train Your ARM(SBC)Naoto MATSUMOTO
 
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~Naoto MATSUMOTO
 
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)Naoto MATSUMOTO
 
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化Naoto MATSUMOTO
 
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)Naoto MATSUMOTO
 
インターネットを用いたニア・リアルタイムでの災害観測の考察
インターネットを用いたニア・リアルタイムでの災害観測の考察インターネットを用いたニア・リアルタイムでの災害観測の考察
インターネットを用いたニア・リアルタイムでの災害観測の考察Naoto MATSUMOTO
 

More from Naoto MATSUMOTO (20)

5Gの見える化
5Gの見える化5Gの見える化
5Gの見える化
 
2023年以降のサーバークラスタリング設計(メモ)
2023年以降のサーバークラスタリング設計(メモ)2023年以降のサーバークラスタリング設計(メモ)
2023年以降のサーバークラスタリング設計(メモ)
 
防災を考慮した水中調査の一考察
防災を考慮した水中調査の一考察防災を考慮した水中調査の一考察
防災を考慮した水中調査の一考察
 
旅するパケットの見える化
旅するパケットの見える化旅するパケットの見える化
旅するパケットの見える化
 
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
LTE-M/NB IoTを試してみる nRF9160/Thingy:91LTE-M/NB IoTを試してみる nRF9160/Thingy:91
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
 
災害時における無線モニタリングによる社会インフラの見える化
災害時における無線モニタリングによる社会インフラの見える化災害時における無線モニタリングによる社会インフラの見える化
災害時における無線モニタリングによる社会インフラの見える化
 
BeautifulSoup / selenium Deep dive
BeautifulSoup / selenium Deep diveBeautifulSoup / selenium Deep dive
BeautifulSoup / selenium Deep dive
 
AMDGPU ROCm Deep dive
AMDGPU ROCm Deep diveAMDGPU ROCm Deep dive
AMDGPU ROCm Deep dive
 
Network Adapter Deep dive
Network Adapter Deep diveNetwork Adapter Deep dive
Network Adapter Deep dive
 
RTL2838 DVB-T Deep dive
RTL2838 DVB-T Deep diveRTL2838 DVB-T Deep dive
RTL2838 DVB-T Deep dive
 
x86_64 Hardware Deep dive
x86_64 Hardware Deep divex86_64 Hardware Deep dive
x86_64 Hardware Deep dive
 
ADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheetADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheet
 
curl --http3 cheatsheet
curl --http3 cheatsheetcurl --http3 cheatsheet
curl --http3 cheatsheet
 
3/4G USB modem Cheat Sheet
3/4G USB modem Cheat Sheet3/4G USB modem Cheat Sheet
3/4G USB modem Cheat Sheet
 
How To Train Your ARM(SBC)
How To  Train Your ARM(SBC)How To  Train Your ARM(SBC)
How To Train Your ARM(SBC)
 
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
 
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
 
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
 
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
 
インターネットを用いたニア・リアルタイムでの災害観測の考察
インターネットを用いたニア・リアルタイムでの災害観測の考察インターネットを用いたニア・リアルタイムでの災害観測の考察
インターネットを用いたニア・リアルタイムでの災害観測の考察
 

Recently uploaded

UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFMichael Gough
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...Karmanjay Verma
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialJoão Esperancinha
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...itnewsafrica
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 

Recently uploaded (20)

UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDF
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorial
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 

A First Look At VXLAN over Infiniband Network On Linux 3.7-rc7 & iproute2

  • 1. 29 Nov, 2012 SAKURA Internet Research Center Senior Researcher / Naoto MATSUMOTO
  • 2. VXLAN TESTING Overview 1) Linux bridge-based VXLAN is developing by Stephen Hemminger & et al. http://linux-network-plumber.blogspot.jp/2012/09/just-published-linux-kernel.html +config VXLAN + tristate "Virtual eXtensible Local Area Network (VXLAN)" + depends on EXPERIMENTAL + ---help--- + This allows one to create vxlan virtual interfaces that provide + Layer 2 Networks over Layer 3 Networks. VXLAN is often used + to tunnel virtual network infrastructure in virtualized environments. + For more information see: + http://tools.ietf.org/html/draft-mahalingam-dutt-dcops-vxlan-02 2) Infiniband Adapter is the fastest of all for datacenter networking. Dual-port Infiniband FDR 56Gbit/s Host Bus Adapter VXLAN + IP over Infiniband Network is AWESOME!.
  • 3. Buildup to the New Kernel & etc 1) Install OFED for Infiniband Networking # wget https://www.openfabrics.org/downloads/OFED/ofed-1.5.4/OFED-1.5.4.1.tgz # tar xzvf ./OFED-1.5.4.1.tgz # ./OFED-1.5.4.1/install.pl /*Install OFED software */ # sync; sync; sync; reboot; 2) Linux Kernel Update # cd /usr/local/src # wget http://www.kernel.org/pub/linux/kernel/v3.0/testing/linux-3.7-rc7.tar.bz2 # tar xvfj linux-3.7-rc7.tar.bz2 # cd linux-3.7-rc7 # cp /boot/config-2.6.32-220.23.1.el6.x86_64 ./.config # make oldconfig # vi .config CONFIG_VXLAN=m /* Add New Line */ # make; make modules_install ; make install # sync; sync; sync; reboot 3) iproute2 Update # yum install db4-devel.x86_64 # git clone git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git # cd iproute2; ./configure ; make ; make install Source: SAKURA Internet Research Center. 11/2012: Project THORN
  • 4. VXLAN Configuration # uname -a Linux VXLAN-A 3.7.0-rc7 #1 SMP .... 56Gbit/s IPoIB # ip addr add 10.1.1.1/24 dev ib1 IP over Infiniband Network # ip route add 224.0.0.0/4 dev ib1 # ip link set up dev ib1 # ip link add vxlan99 type vxlan id 5001 group 239.0.0.99 ttl 10 dev ib1 VXLAN Network # ip addr add 192.168.99.1/24 dev vxlan99 # ip link set up dev vxlan99 # iperf -u -s -B 239.0.0.99 & /* IGMPv3 Join TIPS */ # uname -a Linux VXLAN-B 3.7.0-rc7 #1 SMP .... # ip addr add 10.1.1.2/24 dev ib1 # ip route add 224.0.0.0/4 dev ib1 # ip link set up dev ib1 # ip link add vxlan99 type vxlan id 5001 group 239.0.0.99 ttl 10 dev ib1 # ip addr add 192.168.99.2/24 dev vxlan99 # ip link set up dev vxlan99 # iperf -u -s -B 239.0.0.99 & /* IGMPv3 Join TIPS */ Source: SAKURA Internet Research Center. 11/2012: Project THORN
  • 5. VXLAN performance check VXLAN-A# ip link show dev vxlan99 5: vxlan99: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65470 qdisc 56Gbit/s IPoIB link/ether b2:cc:a5:b8:74:95 brd ff:ff:ff:ff:ff:ff IP over Infiniband Network VXLAN-A# iperf -c 192.168.99.2 -d : VXLAN Network [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 29.7 GBytes 25.5 Gbits/sec VXLAN-B# ip link show dev vxlan99 5: vxlan99: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65470 qdisc link/ether 4a:a6:cb:85:fb:2b brd ff:ff:ff:ff:ff:ff VXLAN-B# iperf -s & vnstat -l -i ib1 Monitoring ib1... (press CTRL-C to stop) rx: 18.49 Gbit/s 53431 p/s tx: 22.82 Gbit/s 58258 p/s Source: SAKURA Internet Research Center. 11/2012: Project THORN
  • 6. Traffic Analysis using Wireshark Outer Header Inner Header Source: SAKURA Internet Research Center. 11/2012: Project THORN
  • 7. Debug TIPS for tshark 1) VXLAN Traffic Monitoring # tshark -pni ib1 Capturing on ib1 0.000000 10.1.1.1 -> 239.0.0.99 UDP Source port: 38367 Destination port: 8472 0.001072 10.1.1.2 -> 10.1.1.1 UDP Source port: 39994 Destination port: 8472 2) IGMPv3 Join/Releave Monitoring # tshark -i ib1 -VV Frame 1 (56 bytes on wire, 56 bytes captured) Internet Protocol, Src: 10.1.1.1 (10.1.1.1), Dst: 224.0.0.22 (224.0.0.22) Internet Group Management Protocol [IGMP Version: 3] Type: Membership Report (0x22) Header checksum: 0xea9a [correct] Num Group Records: 1 Group Record : 239.0.0.99 Change To Exclude Mode Record Type: Change To Exclude Mode (4) Aux Data Len: 0 Num Src: 0 Multicast Address: 239.0.0.99 (239.0.0.99) Source: SAKURA Internet Research Center. 11/2012: Project THORN
  • 8. Debug TIPS for iproute2 1) VXLAN Link status # ip -d link show dev vxlan99 5: vxlan99: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65470 qdisc noqueue state UNKNOWN link/ether 4a:a6:cb:85:fb:2b brd ff:ff:ff:ff:ff:ff vxlan id 5001 group 239.0.0.99 dev ib1 port 32768 61000 ageing 300 2) VXLAN IP Address information # ip -d addr show dev vxlan99 5: vxlan99: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65470 qdisc noqueue state UNKNOWN link/ether 4a:a6:cb:85:fb:2b brd ff:ff:ff:ff:ff:ff inet 192.168.99.1/24 scope global vxlan99 inet6 fe80::48a6:cbff:fe85:fb2b/64 scope link valid_lft forever preferred_lft forever 3) VXLAN Network Table Lookup # netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.1.1.0 0.0.0.0 255.255.255.0 U 00 0 ib1 192.168.99.0 0.0.0.0 255.255.255.0 U 00 0 vxlan99 224.0.0.0 0.0.0.0 240.0.0.0 U 00 0 ib1 Source: SAKURA Internet Research Center. 11/2012: Project THORN
  • 9. Thank you for your interest.