Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
EN
Uploaded by
Tomoya Hibi
PPTX, PDF
2,657 views
ネットワークプログラマビリティ勉強会
ネットワークプログラマビリティ勉強会#4の資料です。 リファクタリングは説明用に適当にやっただけです。
Technology
◦
Read more
6
Save
Share
Embed
Embed presentation
Download
Downloaded 27 times
1
/ 46
2
/ 46
3
/ 46
4
/ 46
5
/ 46
6
/ 46
7
/ 46
8
/ 46
9
/ 46
10
/ 46
11
/ 46
12
/ 46
13
/ 46
14
/ 46
15
/ 46
16
/ 46
17
/ 46
18
/ 46
19
/ 46
20
/ 46
21
/ 46
22
/ 46
23
/ 46
24
/ 46
25
/ 46
26
/ 46
27
/ 46
28
/ 46
29
/ 46
30
/ 46
31
/ 46
32
/ 46
33
/ 46
34
/ 46
35
/ 46
36
/ 46
37
/ 46
38
/ 46
39
/ 46
40
/ 46
41
/ 46
42
/ 46
43
/ 46
44
/ 46
45
/ 46
46
/ 46
More Related Content
PDF
Lagopusで試すL3ルーティング + α (Lagopusの設定方法いろいろ)
by
Tomoya Hibi
PDF
Lagopusで試すFirewall
by
Tomoya Hibi
PDF
DPDKによる高速コンテナネットワーキング
by
Tomoya Hibi
PPTX
自作仮想化基盤 「n0stack」の紹介
by
Takeshi Take
PDF
[D20] 高速Software Switch/Router 開発から得られた高性能ソフトウェアルータ・スイッチ活用の知見 (July Tech Fest...
by
Tomoya Hibi
PDF
Lagopus + DockerのDPDK接続
by
Tomoya Hibi
PPTX
Lagopus workshop@Internet weekのそば
by
Yoshihiro Nakajima
PDF
Osc2018tokyo spring-20180224
by
Tomoya Hibi
Lagopusで試すL3ルーティング + α (Lagopusの設定方法いろいろ)
by
Tomoya Hibi
Lagopusで試すFirewall
by
Tomoya Hibi
DPDKによる高速コンテナネットワーキング
by
Tomoya Hibi
自作仮想化基盤 「n0stack」の紹介
by
Takeshi Take
[D20] 高速Software Switch/Router 開発から得られた高性能ソフトウェアルータ・スイッチ活用の知見 (July Tech Fest...
by
Tomoya Hibi
Lagopus + DockerのDPDK接続
by
Tomoya Hibi
Lagopus workshop@Internet weekのそば
by
Yoshihiro Nakajima
Osc2018tokyo spring-20180224
by
Tomoya Hibi
What's hot
PDF
Lagopus & NFV with Vhost (Tremaday#9)
by
Tomoya Hibi
PDF
【Interop tokyo 2014】 Internet of Everything / SDN と シスコ技術者認定
by
シスコシステムズ合同会社
PPTX
WAN SDN 実践入門! ~ OpenDayLightのPCEP/BGPに触れてみる ~
by
npsg
PDF
Lagopus Router v19.07.1
by
Tomoya Hibi
PDF
NPStudy LT Lagopus Router v19.07
by
Tomoya Hibi
PDF
Lagopusで試すFW
by
Tomoya Hibi
PDF
Bird in show_net
by
Tomoya Hibi
PPTX
VPP事始め
by
npsg
PDF
Lagos running on small factor machine
by
Lagopus SDN/OpenFlow switch
PDF
LagopusとAzureとIPsecとDPDK
by
Tomoya Hibi
PDF
Lagopus Router
by
Tomoya Hibi
PDF
Kernel vm-2014-05-25
by
Hirochika Asai
PDF
第20回 OpenStack勉強会 Neutron Deep Dive - DVR
by
Toru Makabe
PDF
ネットワーク通信入門
by
Yuki Suga
PPTX
FD.io VPP事始め
by
tetsusat
PPTX
Project calico introduction - OpenStack最新情報セミナー 2017年7月
by
VirtualTech Japan Inc.
PDF
OpenDaylightを用いた次世代ネットワーク構成管理の考察
by
Naoto MATSUMOTO
PDF
20150715 xflow kikuta_final
by
Kazumasa Ikuta
PDF
君にもできる! にゅーとろん君になってみよー!! 「Neutronになって理解するOpenStack Net - OpenStack最新情報セミナー ...
by
VirtualTech Japan Inc.
PDF
Lagopus Project (Open Source Conference)
by
Tomoya Hibi
Lagopus & NFV with Vhost (Tremaday#9)
by
Tomoya Hibi
【Interop tokyo 2014】 Internet of Everything / SDN と シスコ技術者認定
by
シスコシステムズ合同会社
WAN SDN 実践入門! ~ OpenDayLightのPCEP/BGPに触れてみる ~
by
npsg
Lagopus Router v19.07.1
by
Tomoya Hibi
NPStudy LT Lagopus Router v19.07
by
Tomoya Hibi
Lagopusで試すFW
by
Tomoya Hibi
Bird in show_net
by
Tomoya Hibi
VPP事始め
by
npsg
Lagos running on small factor machine
by
Lagopus SDN/OpenFlow switch
LagopusとAzureとIPsecとDPDK
by
Tomoya Hibi
Lagopus Router
by
Tomoya Hibi
Kernel vm-2014-05-25
by
Hirochika Asai
第20回 OpenStack勉強会 Neutron Deep Dive - DVR
by
Toru Makabe
ネットワーク通信入門
by
Yuki Suga
FD.io VPP事始め
by
tetsusat
Project calico introduction - OpenStack最新情報セミナー 2017年7月
by
VirtualTech Japan Inc.
OpenDaylightを用いた次世代ネットワーク構成管理の考察
by
Naoto MATSUMOTO
20150715 xflow kikuta_final
by
Kazumasa Ikuta
君にもできる! にゅーとろん君になってみよー!! 「Neutronになって理解するOpenStack Net - OpenStack最新情報セミナー ...
by
VirtualTech Japan Inc.
Lagopus Project (Open Source Conference)
by
Tomoya Hibi
Viewers also liked
PPTX
ラズパイ2で動く Docker PaaS
by
npsg
PDF
Contiv
by
Shogo Katsurada
PPTX
Apache Spark+Zeppelinでアドホックなネットワーク解析
by
npsg
PPTX
CDP Indicator
by
npsg
PPTX
ラズパイ2で動く Docker PaaSを作ってみたよ
by
npsg
PDF
自動化と画面を考えてみました
by
skipping classes
PPTX
ネットワークプログラマビリティ勉強会 これまでのおさらい
by
npsg
PDF
物理ネットワーク受け入れテストの自動化を考える
by
skipping classes
PDF
API イントロダクション APIC-EM, Prime Infrastructure & CMX
by
npsg
PPTX
いんふらフレンズ
by
Miho Yamamoto
PPTX
Dockerと外部ルータを連携させる仕組みを作ってみた
by
npsg
PPTX
ELK ではじめる自宅ネットワーク監視
by
npsg
PDF
Ansible npstudy-shtsuchi
by
Shishio Tsuchiya
PPTX
Ansible x napalm x nso 解説・比較パネルディスカッション nso
by
Akira Iwamoto
PPTX
Telemetry事始め
by
npsg
PDF
NetOpsCoding#5 introduction
by
Taiji Tsuchiya
PDF
ネットワーク運用とIoT
by
cloretsblack
PDF
ネットワークの自動化・監視の取り組みについて #netopscoding #npstudy
by
Yahoo!デベロッパーネットワーク
PDF
ネットワーク自動化ツール紹介(Ansible・NAPALM編)
by
akira6592
PDF
パケットキャプチャでインフラ主導のデバッグ環境を作る
by
cloretsblack
ラズパイ2で動く Docker PaaS
by
npsg
Contiv
by
Shogo Katsurada
Apache Spark+Zeppelinでアドホックなネットワーク解析
by
npsg
CDP Indicator
by
npsg
ラズパイ2で動く Docker PaaSを作ってみたよ
by
npsg
自動化と画面を考えてみました
by
skipping classes
ネットワークプログラマビリティ勉強会 これまでのおさらい
by
npsg
物理ネットワーク受け入れテストの自動化を考える
by
skipping classes
API イントロダクション APIC-EM, Prime Infrastructure & CMX
by
npsg
いんふらフレンズ
by
Miho Yamamoto
Dockerと外部ルータを連携させる仕組みを作ってみた
by
npsg
ELK ではじめる自宅ネットワーク監視
by
npsg
Ansible npstudy-shtsuchi
by
Shishio Tsuchiya
Ansible x napalm x nso 解説・比較パネルディスカッション nso
by
Akira Iwamoto
Telemetry事始め
by
npsg
NetOpsCoding#5 introduction
by
Taiji Tsuchiya
ネットワーク運用とIoT
by
cloretsblack
ネットワークの自動化・監視の取り組みについて #netopscoding #npstudy
by
Yahoo!デベロッパーネットワーク
ネットワーク自動化ツール紹介(Ansible・NAPALM編)
by
akira6592
パケットキャプチャでインフラ主導のデバッグ環境を作る
by
cloretsblack
Similar to ネットワークプログラマビリティ勉強会
PDF
Lagopus Switch Usecases
by
Sakiko Kawai
PDF
NSDI16_reading
by
紘也 金子
PDF
Lagopus performance
by
Masaru Oki
PDF
Lagopus as open flow hybrid switch 実践編
by
Masaru Oki
PDF
話題のOpenFlowをフル活用! OpenVNetで仮想ネットワークを実現しよう!
by
Akira Yokokawa
PDF
VIOPS06: OpenFlowによるネットワーク構築と実証事件
by
VIOPS Virtualized Infrastructure Operators group ARCHIVES
PDF
SDN Japan: ovs-hw
by
ykuga
PDF
OpenFlowで覚えるネットワーク
by
M Hagiwara
PDF
FPGAで作るOpenFlow Switch (FPGAエクストリーム・コンピューティング 第6回) FPGAX#6
by
Kentaro Ebisawa
PDF
仮想ネットワークを実現するOpenVNet
by
Akira Yokokawa
PDF
ONOS and Lagopus
by
Yoshihiko Kanaumi
PDF
さくらのクラウドインフラの紹介
by
SAKURA Internet Inc.
KEY
Openvswitch vps 20120429資料
by
Daisuke Nakajima
PDF
OpenFlowをXenServerで試してみよう
by
Kimihiko Kitase
PDF
RouterBOARD with OpenFlow
by
Toshiki Tsuboi
PDF
Cloud Days Tokyo 2014 Spring 「80分でばっちり理解するOpenFlow」 NEC宮永直樹
by
Naoki Miyanaga
PDF
Mr201304 open flow_security_jpn
by
FFRI, Inc.
PDF
OpenFlow in IaaS - Wakame
by
axsh co., LTD.
PDF
動的ネットワークパス構築と連携したエッジオーバレイ帯域制御
by
Ryousei Takano
PPTX
Trema の紹介とネットワーク仮想化への応用
by
kazuyas
Lagopus Switch Usecases
by
Sakiko Kawai
NSDI16_reading
by
紘也 金子
Lagopus performance
by
Masaru Oki
Lagopus as open flow hybrid switch 実践編
by
Masaru Oki
話題のOpenFlowをフル活用! OpenVNetで仮想ネットワークを実現しよう!
by
Akira Yokokawa
VIOPS06: OpenFlowによるネットワーク構築と実証事件
by
VIOPS Virtualized Infrastructure Operators group ARCHIVES
SDN Japan: ovs-hw
by
ykuga
OpenFlowで覚えるネットワーク
by
M Hagiwara
FPGAで作るOpenFlow Switch (FPGAエクストリーム・コンピューティング 第6回) FPGAX#6
by
Kentaro Ebisawa
仮想ネットワークを実現するOpenVNet
by
Akira Yokokawa
ONOS and Lagopus
by
Yoshihiko Kanaumi
さくらのクラウドインフラの紹介
by
SAKURA Internet Inc.
Openvswitch vps 20120429資料
by
Daisuke Nakajima
OpenFlowをXenServerで試してみよう
by
Kimihiko Kitase
RouterBOARD with OpenFlow
by
Toshiki Tsuboi
Cloud Days Tokyo 2014 Spring 「80分でばっちり理解するOpenFlow」 NEC宮永直樹
by
Naoki Miyanaga
Mr201304 open flow_security_jpn
by
FFRI, Inc.
OpenFlow in IaaS - Wakame
by
axsh co., LTD.
動的ネットワークパス構築と連携したエッジオーバレイ帯域制御
by
Ryousei Takano
Trema の紹介とネットワーク仮想化への応用
by
kazuyas
ネットワークプログラマビリティ勉強会
1.
Copyright©2014 NTT corp.
All Rights Reserved. OpenFlowソフトウェアスイッチ Lagopus 2015/4/23 NTT未来ねっと研究所 日比 智也 (hibitomo)
2.
1Copyright©2014 NTT corp.
All Rights Reserved. 構成 Lagopusの概要 Lagopus(OpenFlow)で遊んでみる
3.
2Copyright©2014 NTT corp.
All Rights Reserved. Agenda 背景とターゲット デザインと評価結果 最近の活動
4.
4Copyright©2014 NTT corp.
All Rights Reserved. コントローラ SDN?OpenFlow?Lagopus? 一般的なネットワーク装置 ルータ コントロールプレーン データプレーン ファイアーウォール コントロールプレーン データプレーン ロードバランサ コントロールプレーン データプレーン SDN スイッチ データプレーン スイッチ データプレーン スイッチ コントロールプレーン データプレーン アプリ コントローラ コントロールプレーン アプリ プログラマブルAPI OpenFlowプロトコル
5.
5Copyright©2014 NTT corp.
All Rights Reserved. OpenFlow? どういうパケットだったら 受信ポート番号,パケットヘッダの値(宛先,ソー ス,各種ID...) どういう処理をする パケットヘッダの追加,削除,編集 転送(ユニキャスト,マルチキャスト,ロードバラ ンシング...) コントローラにパケットを転送して処理も可能 OpenFlow コントローラ コントロールプレーン OpenFlow プロトコル OpenFlow スイッチ データプレーン Flow Table フローパターン アクション フローパターン アクション カウンター カウンター Flow Table #2 Flow Table #3 Flow Table #4
6.
6Copyright©2014 NTT corp.
All Rights Reserved. Lagopus? OpenFlowスイッチのソフトウェア実装 汎用x86サーバで動作可能 高速なパケット処理と幅広いプロトコルに対応 > 10Gbps OpenFlow仕様に幅広く対応 オープンソース OpenFlow コントローラ コントロールプレーン OpenFlow プロトコル OpenFlow スイッチ データプレーン Flow Table フローパターン アクション フローパターン アクション カウンター カウンター Flow Table #2 Flow Table #3 Flow Table #4
7.
7Copyright©2014 NTT corp.
All Rights Reserved. 何ができる? SDN Japan 2014での実証実験 アク セスポイ ント ■ A Pの識別(V LA N ) ■ V ID 毎にQoS制御 PoEスイッチ インターネット アクセスポイント ( AP) La g op u sの役割
8.
8Copyright©2014 NTT corp.
All Rights Reserved. 何ができる? ブラジル-日本間(約1万8,000km)の映像伝送実験
9.
9Copyright©2014 NTT corp.
All Rights Reserved. 何ができる? iPOP2015での実証実験 LagopusLagopus Packet Transport (MPLS-TP) Optical Packet Transport OFRO/Ryu H-CNT ODENOS/Ryu Orchestrator (ODENOS) Trema Edge Lagopus SDN NW Optical/ Transport NW Video streaming Copies packets and dispatches them to two paths
10.
12Copyright©2014 NTT corp.
All Rights Reserved. ターゲット TOR Virtual Switch Hypervisor VM VM Virtual Switch Hypervisor NFV NFV Virtual Switch Hypervisor VM VM Gateway CPE Data Center Wide-area Network Access Network Intranet Cloud,NFVに対応 する仮想スイッチ 異種NWを接続する ゲートウェイ向け ソフトスイッチ 異種NWを接続する ゲートウェイ向け ソフトスイッチ
11.
13Copyright©2014 NTT corp.
All Rights Reserved. Agenda 背景とターゲット デザインと評価結果 最近の活動
12.
14Copyright©2014 NTT corp.
All Rights Reserved. 設計の概要 シンプルなモジュール構成 スイッチエージェント データプレーン スイッチエージェント 統一スイッチ資源モデル HALを介したデータプレーン制御 (Event queueベース) データプレーン 高速NW I/Oライブラリ (Intel DPDK) 複数フローテーブルに 対応したフローキャッシュ OpenFlow controller OpenFlow 1.3
13.
16Copyright©2014 NTT corp.
All Rights Reserved. 機能評価の例 Conformance test results by Ryu Certification http://osrg.github.io/ryu/certification.html OpenFlow Switch Action (56) Set Field (170) Match (714) Group (15) Meter (36) Total (991) Software CpQd 50 159 708 15 30 962 Indigo Virtual Switch 17 46 337 1 0 401 LINC 24 68 428 3 0 523 Open vSwitch 34 96 534 6 0 670 Open vSwitch netdev 34 90 467 8 0 599 Trema Switch 50 159 708 15 34 966 Lagopus 56 161 714 15 34 980 Hardware Centec V350 3 8 172 4 0 187 Edge-Core AS4600 3 0 63 0 18 84 HP 2920 0 2 44 0 0 46 IBM G8264 6 14 108 0 0 128 NEC PF5220 7 37 216 3 0 263 NoviKit200 37 35 164 15 0 251 Pica8 P-3290 24 49 362 0 0 435
14.
17Copyright©2014 NTT corp.
All Rights Reserved. 性能評価の例 (WAN-DCゲートウェイ) 0 1 2 3 4 5 6 7 8 9 10 0 200 400 600 800 1000 1200 1400 1600 Throughput(Gbps) Packet size (byte) 10 flow rules 100 flow rules 1k flow rules 10k flow rules 100k flow rules 1M flow rules 0 1 2 3 4 5 6 7 8 9 10 1 10 100 1000 10000 100000 1000000 Throughput(Gbps) flows 10k flow rules 100k flow rules 1M flow rules Throughput vs packet size 1 flow flow-cache Throughput vs flows 1518 bytes packet
15.
18Copyright©2014 NTT corp.
All Rights Reserved. 性能評価の例 (L2スイッチ) Throughput vs packet size 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 LINC OVS (netdev) OVS (kernel) Lagopus (software) Mbps 72 128 256 512 1024 1280 1518 Packet size (bytes)
16.
19Copyright©2014 NTT corp.
All Rights Reserved. Agenda 背景とターゲット デザインと評価結果 最近の活動
17.
20Copyright©2014 NTT corp.
All Rights Reserved. 仮想マシンとの接続を実現 2015/2/1リリース DPDK 2.0.0rc1にマージされた Guest1 QEMU App DPDK Guest2 QEMU App DPDK Virtio-net PMD Virtio-net PMD Lagopus vswitch DPDK PMD Map memory in guest VM to lagopus memory Map memory in guest VM to lagopus memory virtio virtio virtio queue virtio queue PMD vNIC PMD vNIC
18.
21Copyright©2014 NTT corp.
All Rights Reserved. ソースコード 2014年7月31日に公開 http://lagopus.github.io/ 開発への参加 コードの提供 -> GitHub Pull Request バグレポート -> GitHub Issues 議論 -> Developers ML
19.
22Copyright©2014 NTT corp.
All Rights Reserved. 構成 Lagopusの概要 Lagopus(OpenFlow)で遊んでみる
20.
23Copyright©2014 NTT corp.
All Rights Reserved. 本日のテーマ Flowを設計して動かしてみる OpenFlowっぽいことをする
21.
24Copyright©2014 NTT corp.
All Rights Reserved. OpenFlow? どういうパケットだったら 受信ポート番号,パケットヘッダの値(宛先,ソー ス,各種ID...) どういう処理をする パケットヘッダの追加,削除,編集 転送(ユニキャスト,マルチキャスト,ロードバラ ンシング...) コントローラにパケットを転送して処理も可能 OpenFlow コントローラ コントロールプレーン OpenFlow プロトコル OpenFlow スイッチ データプレーン Flow Table フローパターン アクション フローパターン アクション カウンター カウンター Flow Table #2 Flow Table #3 Flow Table #4
22.
25Copyright©2014 NTT corp.
All Rights Reserved. 使用ソフトウェア Lagopus http://lagopus.github.io/ Ryu (app/ofctl_rest.py) http://osrg.github.io/ryu/ ofctl_script http://github.com/hibitomo/ofctl_script
23.
26Copyright©2014 NTT corp.
All Rights Reserved. 構成 +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | ns0 | | ns1 | | ns2 | | ns3 | | ns4 | | | | | | | | | | | +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ | | | | | +--+-------+-------+-------+-------+--+ | 1 2 3 4 5 | | Lagopus OFswitch | | 6 +----- VM 2 +-------------------------------------+ 1. つなげてみる 2. 増やしてみる(VLAN) 3. リファクタリング&デバッグ(ミラーリング) 4. 騙してみる(DHCPサーバの共有)
24.
27Copyright©2014 NTT corp.
All Rights Reserved. Flow 1: つなげてみる ns1 - ns2, ns3 - ns4 +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | ns0 | | ns1 | | ns2 | | ns3 | | ns4 | | | | | | | | | | | +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ | | | | | +--+-------+-------+-------+-------+--+ | 1 2 3 4 5 | | Lagopus OFswitch | | 6 +----- VM 2 +-------------------------------------+
25.
28Copyright©2014 NTT corp.
All Rights Reserved. Flow 1: つなげてみる table 0 {"priority":100,"actions":["OUTPUT:3"],"match":{"in_port":2}} {"priority":100,"actions":["OUTPUT:2"],"match":{"in_port":3}} {"priority":100,"actions":["OUTPUT:5"],"match":{"in_port":4}} {"priority":100,"actions":["OUTPUT:4"],"match":{"in_port":5}} +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | ns0 | | ns1 | | ns2 | | ns3 | | ns4 | | | | | | | | | | | +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ | | | | | +--+-------+-------+-------+-------+--+ | 1 2 3 4 5 | | Lagopus OFswitch | | 6 +----- VM 2 +-------------------------------------+ 双方向のルール を書く
26.
29Copyright©2014 NTT corp.
All Rights Reserved. Flow 1: つなげてみる ユースケース ポートVLAN タグ変換 +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | ns0 | | ns1 | | ns2 | | ns3 | | ns4 | | | | | | | | | | | +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ | | | | | +--+-------+-------+-------+-------+--+ | 1 2 3 4 5 | | Lagopus OFswitch | | 6 +----- VM 2 +-------------------------------------+
27.
30Copyright©2014 NTT corp.
All Rights Reserved. Flow 2: 増やしてみる VLAN100: ns1 - ns2 VLAN200: ns3 - ns4 +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | ns0 | | ns1 | | ns2 | | ns3 | | ns4 | | | | | | | | | | | +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ | | | | | +--+-------+-------+-------+-------+--+ | 1 2 3 4 5 | | Lagopus OFswitch | | 6 +------ trunk vlan100,200 +-------------------------------------+
28.
31Copyright©2014 NTT corp.
All Rights Reserved. Flow 2: 増やしてみる table 0 {"priority":100,"actions":["OUTPUT:3","PUSH_VLAN:33024","SET_FIELD: {vlan_vid:100}","OUTPUT:6"],"match":{"in_port":2}} {"priority":100,"actions":["OUTPUT:2","PUSH_VLAN:33024","SET_FIELD: {vlan_vid:100}","OUTPUT:6"],"match":{"in_port":3}} {"priority":100,"actions":["POP_VLAN","OUTPUT:2","OUTPUT:3"],"match" :{"dl_vlan":"100","in_port":6}} +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | ns0 | | ns1 | | ns2 | | ns3 | | ns4 | | | | | | | | | | | +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ | | | | | +--+-------+-------+-------+-------+--+ | 1 2 3 4 5 | | Lagopus OFswitch | | 6 +------ trunk vlan100,200 +-------------------------------------+ OUTPUTを列挙 TAGの扱い注意 ※ 普通はgroup tableを使用
29.
32Copyright©2014 NTT corp.
All Rights Reserved. Flow 2: 増やしてみる ユースケース タグVLAN タグ変換 モニタリング +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | ns0 | | ns1 | | ns2 | | ns3 | | ns4 | | | | | | | | | | | +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ | | | | | +--+-------+-------+-------+-------+--+ | 1 2 3 4 5 | | Lagopus OFswitch | | 6 +------ trunk vlan100,200 +-------------------------------------+
30.
33Copyright©2014 NTT corp.
All Rights Reserved. Flow 3: リファクタリング マルチテーブル,メタデータを活用 1テーブルだけではフロー複雑. 書きこむ,書き換えるフローの数も多い. OpenFlow スイッチ データプレーン Flow Table フローパターン アクション フローパターン アクション カウンター カウンター Flow Table #2 Flow Table #3 Flow Table #4 メタデータ:テーブル間で情報を渡す為の フィールド
31.
34Copyright©2014 NTT corp.
All Rights Reserved. Flow 3: リファクタリング table 0 {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1"],"match":{"in_port":2}} {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1"],"match":{"in_port":3}} {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1","POP_VLAN"],"match":{"dl_vlan":"1 00","in_port":6}} {"priority":0,"actions":[],"match":{}} table 1 {"priority":0,"actions":["GOTO_TABLE:2"],"match":{}} table 2 {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:3"],"match":{"in_port":2,"metadata":“100"}} {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:2"],"match":{"in_port":3,"metadata":“100"}} {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:3","OUTPUT:2"],"match":{"in_port":6,"metadata":“ 100"}} {"priority":0,"actions":["GOTO_TABLE:3"],"match":{}} table 3 {"priority":100,"actions":["PUSH_VLAN:33024","SET_FIELD: {vlan_vid:100}","OUTPUT:6"],"match":{"in_port":3,"metadata":“100"}} {"priority":100,"actions":["PUSH_VLAN:33024","SET_FIELD: {vlan_vid:100}","OUTPUT:6"],"match":{"in_port":2,"metadata":“100"}} {"priority":0,"actions":[],"match":{}} ※ 普通はgroup tableを使います
32.
35Copyright©2014 NTT corp.
All Rights Reserved. Flow 3: リファクタリング table 0 {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1"],"match":{"in_port":2}} {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1"],"match":{"in_port":3}} {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1","POP_VLAN"],"match":{"dl_vlan":"1 00","in_port":6}} {"priority":0,"actions":[],"match":{}} table 1 {"priority":0,"actions":["GOTO_TABLE:2"],"match":{}} table 2 {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:3"],"match":{"in_port":2,"metadata":“100"}} {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:2"],"match":{"in_port":3,"metadata":“100"}} {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:3","OUTPUT:2"],"match":{"in_port":6,"metadata":“ 100"}} {"priority":0,"actions":["GOTO_TABLE:3"],"match":{}} table 3 {"priority":100,"actions":["PUSH_VLAN:33024","SET_FIELD: {vlan_vid:100}","OUTPUT:6"],"match":{"in_port":3,"metadata":“100"}} {"priority":100,"actions":["PUSH_VLAN:33024","SET_FIELD: {vlan_vid:100}","OUTPUT:6"],"match":{"in_port":2,"metadata":“100"}} {"priority":0,"actions":[],"match":{}} • 入力ポート,TAGからVLANを識別 • Metadataにメモ Application 1 • Accessへのブロードキャスト Application 2 • Trunkへのブロードキャスト • デバッグ用 ※ 普通はgroup tableを使います
33.
36Copyright©2014 NTT corp.
All Rights Reserved. Flow 3+: デバッグ ポートミラーリング VLANミラーリング +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | ns0 | | ns1 | | ns2 | | ns3 | | ns4 | | | | | | | | | | | +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ | | | | | +--+-------+-------+-------+-------+--+ | 1 2 3 4 5 | | Lagopus OFswitch | | 6 +------ trunk vlan100,200 +-------------------------------------+
34.
37Copyright©2014 NTT corp.
All Rights Reserved. Flow 3+: デバッグ table 0 {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1"],"match":{"in_port":2}} {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1"],"match":{"in_port":3}} {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1","POP_VLAN"],"match":{"dl_vlan":"1 00","in_port":6}} {"priority":0,"actions":[],"match":{}} table 1 {"priority":100,"actions":["GOTO_TABLE:2","OUTPUT:1"],"match":{"metadata":“100"}} {"priority":0,"actions":["GOTO_TABLE:2"],"match":{}} table 2 {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:3"],"match":{"in_port":2,"metadata":“100"}} {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:2"],"match":{"in_port":3,"metadata":“100"}} {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:3","OUTPUT:2"],"match":{"in_port":6,"metadata":“ 100"}} {"priority":0,"actions":["GOTO_TABLE:3"],"match":{}} table 3 {"priority":100,"actions":["PUSH_VLAN:33024","SET_FIELD: {vlan_vid:100}","OUTPUT:6"],"match":{"in_port":3,"metadata":“100"}} {"priority":100,"actions":["PUSH_VLAN:33024","SET_FIELD: {vlan_vid:100}","OUTPUT:6"],"match":{"in_port":2,"metadata":“100"}} {"priority":0,"actions":[],"match":{}}
35.
38Copyright©2014 NTT corp.
All Rights Reserved. Flow 3+: デバッグ table 0 {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1"],"match":{"in_port":2}} {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1"],"match":{"in_port":3}} {"priority":100,"actions":["WRITE_METADATA:100","GOTO_TABLE:1","POP_VLAN"],"match":{"dl_vlan":"1 00","in_port":6}} {"priority":0,"actions":[],"match":{}} table 1 {"priority":100,"actions":["GOTO_TABLE:2","OUTPUT:1"],"match":{"metadata":“100"}} {"priority":0,"actions":["GOTO_TABLE:2"],"match":{}} table 2 {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:3"],"match":{"in_port":2,"metadata":“100"}} {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:2"],"match":{"in_port":3,"metadata":“100"}} {"priority":100,"actions":["GOTO_TABLE:3","OUTPUT:3","OUTPUT:2"],"match":{"in_port":6,"metadata":“ 100"}} {"priority":0,"actions":["GOTO_TABLE:3"],"match":{}} table 3 {"priority":100,"actions":["PUSH_VLAN:33024","SET_FIELD: {vlan_vid:100}","OUTPUT:6"],"match":{"in_port":3,"metadata":“100"}} {"priority":100,"actions":["PUSH_VLAN:33024","SET_FIELD: {vlan_vid:100}","OUTPUT:6"],"match":{"in_port":2,"metadata":“100"}} {"priority":0,"actions":[],"match":{}} • Metadataを用いて識別. • パケットをミラーリング • 入力ポート,TAGからVLANを識別 • Metadataにメモ Application 1 • Accessへのブロードキャスト Application 2 • Trunkへのブロードキャスト
36.
39Copyright©2014 NTT corp.
All Rights Reserved. Flow 4: 騙してみる 1台のDHCPサーバを複数のVLANセグメ ントで共有. MACアドレスは既知. +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | ns0 | | ns1 | | ns2 | | ns3 | | ns4 | | | | | | | | | | | +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ | | | | | +--+-------+-------+-------+-------+--+ | 1 2 3 4 5 | | Lagopus OFswitch | | 6 +------ trunk vlan100,200 +-------------------------------------+ ns0-veth0 - 02:6b:4d:3c:3a:8c 192.168.0.1 ns1-veth0 - da:8d:ed:ec:da:70 192.168.0.10 ns2-veth0 - 4e:d2:0a:8e:2e:93 192.168.0.20 ns3-veth0 - c6:78:f7:f8:83:fd 192.168.0.10 ns4-veth0 - 12:10:c6:03:d5:d9 192.168.0.30
37.
40Copyright©2014 NTT corp.
All Rights Reserved. Flow 4: 騙してみる table 0 {"priority":110,"actions":["OUTPUT:2"],"match":{"dl_dst":"46:c0:64:90: c6:92","in_port":1}} {"priority":110,"actions":["OUTPUT:3"],"match":{"dl_dst":"d6:7e:8d:e9:f 8:a5","in_port":1}} ... table 1 {"priority":110,"actions":["OUTPUT:1"],"match":{"dl_type":2048,"tp_src ":68,"nw_proto":17,"tp_dst":67,"metadata":"100"}} {"priority":110,"actions":["OUTPUT:1"],"match":{"dl_type":2048,"tp_src ":68,"nw_proto":17,"tp_dst":67,"metadata":"200"}} ...
38.
41Copyright©2014 NTT corp.
All Rights Reserved. Flow 4: 騙してみる table 0 {"priority":110,"actions":["OUTPUT:2"],"match":{"dl_dst":"46:c0:64:90: c6:92","in_port":1}} {"priority":110,"actions":["OUTPUT:3"],"match":{"dl_dst":"d6:7e:8d:e9:f 8:a5","in_port":1}} ... table 1 {"priority":110,"actions":["OUTPUT:1"],"match":{"dl_type":2048,"tp_src ":68,"nw_proto":17,"tp_dst":67,"metadata":"100"}} {"priority":110,"actions":["OUTPUT:1"],"match":{"dl_type":2048,"tp_src ":68,"nw_proto":17,"tp_dst":67,"metadata":"200"}} ... • 入力ポートからDHCPサーバの返答と 認識,宛先MACからVLANを識別 • UDPのポート番号からDHCPのリクエス トと識別
39.
42Copyright©2014 NTT corp.
All Rights Reserved. Flow 4: 騙してみる ユースケース 仮想マシンの共有(NFV,アプリ) ユニキャストのマルチキャスト化 +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | | ns0 | | ns1 | | ns2 | | ns3 | | ns4 | | | | | | | | | | | +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ | | | | | +--+-------+-------+-------+-------+--+ | 1 2 3 4 5 | | Lagopus OFswitch | | 6 +------ trunk vlan100,200 +-------------------------------------+
40.
43Copyright©2014 NTT corp.
All Rights Reserved. イベントのフローを想像する ブラジル-日本間(約1万8,000km)の映像伝送実験 IPを変換してルータをだまし、経路切り替え
41.
44Copyright©2014 NTT corp.
All Rights Reserved. イベントのフローを想像する iPoP2015での実証実験 LagopusLagopus Packet Transport (MPLS-TP) Optical Packet Transport OFRO/Ryu H-CNT ODENOS/Ryu Orchestrator (ODENOS) Trema Edge Lagopus SDN NW Optical/ Transport NW Video streaming Copies packets and dispatches them to two paths
42.
45Copyright©2014 NTT corp.
All Rights Reserved. イベントのフローを想像する SDN Japan 2014での実証実験 http://www.sdnjapan.org/document_2014/31_session5_Ishida.pdf アク セスポイ ント ■ A Pの識別(V LA N ) ■ V ID 毎にQoS制御 PoEスイッチ インターネット アクセスポイント ( AP) La g op u sの役割
43.
46Copyright©2014 NTT corp.
All Rights Reserved. Flow設計の注意 パケットイン 遅い,遅延,パケット順序 ARP ARP学習しないと通信は始まらない パケットコピー パケットコピーの処理は重い MACラーニング問題 フロー数の容量 フロー数が増えすぎると死ぬ (特にHWスイッチ.SWは結構大丈夫)
44.
47Copyright©2014 NTT corp.
All Rights Reserved. Flow設計の注意 パケットイン 遅い,遅延,パケット順序 ARP ARP学習しないと通信は始まらない パケットコピー パケットコピーの処理は重い MACラーニング問題 フロー数の容量 フロー数が増えすぎると死ぬ (特にHWスイッチ.SWは結構大丈夫) • パケットインをしなければ行けない場面はよくある. • フロー数の容量も含め,性能を意識した設計が必要
45.
48Copyright©2014 NTT corp.
All Rights Reserved. 今日のまとめ Lagopusってすごいらしい. はやい (x86サーバ,Linux) 安い (OSS) うまい (10Gbps, 1MFlow, その他機能) OpenFlowって気持ち悪いこともできちゃう だが,それがいい 痒いところに手が届かない場面では,是非 OpenFlowを!
46.
49Copyright©2014 NTT corp.
All Rights Reserved. Thank you for your attention This research is a part of the project for “Research and Development of Network Virtualization Technology” supported by the Ministry of Internal Affairs and Communications.
Download