SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
Lagopus Day #1 Tokyo 
䛾㝮䛳䛣䛷䜔䛳䛶䛯䛣䛸 
Aug 31, 2014 
m-oki@stratosphere.co.jp
䝬䝄䞊䝪䞊䝗䛸㟁※➼ᣢ䛱㎸䜏 
● SUPERMICRO X9SKV-1105 
○ Xeon E3-1105C v2 䜸䞁䝪䞊䝗(䝣䜯䞁䝺䝇) 
○ GbE x6 (i350 4ᮏ䚸i210 2ᮏ) 䜸䞁䝪䞊䝗 
○ ౛䛻䜘䛳䛶䝟䝋䝁䞁䝝䜴䝇ᮾᫎ䛥䜣䛷㈙䛔䜎䛧䛯 
● 16GB䝯䝰䝸䚸320GB HDD 
● PCIe x1䛾䝡䝕䜸䜹䞊䝗 
● 9䜲䞁䝏䝰䝙䝍䚸䜻䞊䝪䞊䝗 
● 䜿䞊䝇䛿䛺䛧
఍ሙ䛷䜔䛳䛯䛣䛸 
● QEMU䜢౑䛔௬᝿䝬䝅䞁䜢㉳ື 
● ௬᝿䝬䝅䞁ୖ䛷Ubuntu server䜲䞁䝇䝖䞊䝹 
● 䛭䛾Ubuntuୖ䛷dpdk䜢ྲྀᚓ䚸䝁䞁䝟䜲䝹 
● 䛥䜙䛻lagopus, Pktgen-DPDK䜢䜲䞁䝇䝖䞊䝹 
● Ryu䜒䜲䞁䝇䝖䞊䝹 
● VM䜲䝯䞊䝆䜢」〇䛧2䛴䛾VM䜢㉳ື 
● VMୖ䛷Pktgen-DPDK䛸lagopus䛾㏻ಙ䜢ᐇ⾜
320GB HDD䛾୰㌟ 
● Ubuntu 14.04LTS server 
● ᙜ᪥༗๓୰䛻⮬Ꮿ䛷䜲䞁䝇䝖䞊䝹䛧䛯 
● QEMU⏝䛾HDD䜲䝯䞊䝆䜢స䛳䛶䛚䛔䛯 
○ 4GB䛒䜜䜀Ubuntu server䛜ධ䜛 
qemu-img -f qcow2 create ubuntu-vm1.img 4G
䜔䛳䛯䛣䛸䜢⤮䛻䛩䜛䛸䛣䛖 
● VM䛿䛭䜜䛮䜜3ᮏ㊊ 
● 1ᮏ䛿䝩䝇䝖䝤䝸䝑䝆䚸2ᮏ䛿஫䛔䛻᥋⥆ 
Lagopus Pktgen-DPDK 
QEMU 
ubuntu-vm 
QEMU 
Ryu ubuntu-vm2 
alice: Ubuntu server on X9SKV-1105 
eth4 
10.75.30.10 
→会場ネットワーク 
eth0 
10.75.30.28 
eth0 
10.75.30.31
䝩䝇䝖䝤䝸䝑䝆䛾䛯䜑䛾‽ഛ 
/etc/network/interfaces䛾auto eth4䜢ኚ᭦ 
auto br0 
interface br0 inet dhcp 
bridge_ports eth4 
bridge_stp off 
bridge_maxwait 0 
bridge_fd 0 
QEMU䛾-net bridge䛿ᣦᐃ䛜䛺䛡䜜䜀br0䛻䛴䛺䛜䜛䚹
QEMU䛾㉳ື䝟䝷䝯䞊䝍 
● -machine pc,accel=kvm 
○ ᣦᐃ䛧䛺䛔䛸KVM䛺䛧䛷ື䛟(㐜䛔) 
● -display vnc=10.75.30.10:0 (䜒䛧䛟䛿:1) 
○ 䝜䞊䝖PC䛾VNC Viewer䛷䛴䛺䛔䛷VM䛾䝁䞁䝋䞊䝹䜢᧯స 
○ Viewerഃ䛷䛿port 5900 (䜒䛧䛟䛿5901)䜢ᣦᐃ 
● -m 1024 
○ 1GBᣦᐃ䚹↓ᣦᐃ䛰䛸128MB䛸䛺䜛(Ubuntu䜲䞁䝇䝖䞊䝷䛜ື䛛䛺䛔) 
● -cpu host -smp cores=4 
○ 䝩䝇䝖䛸ྠ䛨௬᝿䝥䝻䝉䝑䝃䜢4䝁䜰䛷 
○ ↓ᣦᐃ䛰䛸QEMU Virtual CPU䛸䛺䜚䚸DPDK䛜䝁䞁䝟䜲䝹䛷䛝䛺䛔 
○ Haswell䛺䛹䜒ᣦᐃ䛷䛝䜛䛜䚸䜶䝭䝳䝺䞊䝅䝵䞁䛜䛛䛛䜛䛸㐜䛟䛺䜛
QEMU䝛䝑䝖䝽䞊䜽㛵㐃 
● -net䜢」ᩘᣦᐃ䛩䜛䚹 
○ 䜂䛸䛴䛿௬᝿䝬䝅䞁ഃ䛾NICタᐃ䚸䜂䛸䛴䛿䝩䝇䝖ഃ䛷䛹䛖ᢅ䛖䛛䛾タᐃ 
○ ௬᝿䝛䝑䝖䝽䞊䜽␒ྕ䛷༊ู䛩䜛 (vlan=N䛷䚸䝕䝣䜷䝹䝖1) 
○ bridge᥋⥆䛩䜛䛻䛿⟶⌮⪅ᶒ㝈䛜ᚲせ䚹qemu䜢sudo௜䛷㉳ື䛩䜛䚹 
○ tapᣦᐃ䛩䜛䛸ྠ୍vlan␒ྕ䛾VMྠኈ䛜䛴䛺䛜䜛 
● -net nic -net bridge,macaddr=xx:xx:xx:xx:xx:xx 
● -net nic,vlan=2 -net tap,vlan=2 
● -net nic,vlan=3 -net tap,vlan=3 
○ eth0: 䝩䝇䝖䝤䝸䝑䝆䚹MACᣦᐃ䛜䛺䛔䛸ྠ୍䛻䛺䜚䚸」ᩘVM䛷ᅔ䜛 
○ eth1: VM㛫᥋⥆ 
○ eth2: VM㛫᥋⥆
QEMU䝇䝖䝺䞊䝆㛵㐃 
● -hda ubuntu-vm.img (䜒䛧䛟䛿ubuntu-vm2.img) 
● -cdrom ubuntu-server-14.04.1-amd64.iso 
● Ubuntu䜲䞁䝇䝖䞊䝹ᚋ䚸img䝣䜯䜲䝹䜢䝁䝢䞊䛧䛯䚹 
● ISO䛿Ubuntu䜲䞁䝇䝖䞊䝹᫬䛰䛡ᣦᐃ䚹
QEMU㉳ື 
ୗグ䜢1⾜䛷䚹ኴᏐ䛿2䛴┠䛾VM䛾䛸䛝ኚ᭦䛩䜛䚹 
sudo qemu-system-x86_64 -machine pc, 
accel=kvm -display vnc=10.75.30.10:0 -m 1024 
-cpu host,cores=4 -net nic -net bridge, 
macaddr=56:78:90:12:34:56 -net nic,vlan=2 - 
net tap,vlan=2 -net nic,vlan=3 -net tap, 
vlan=3 -hda ubuntu-vm1.img
䜲䞁䝇䝖䞊䝹䛸䛛 
DPDK, lagopus䛾䜲䞁䝇䝖䞊䝹䛿䝝䞁䝈䜸䞁䛾䜎䜎䛻䛴䛝␎䚹 
Pktgen-DPDK䛿ୗグ䛾䜘䛖䛺ឤ䛨䛷䚹 
cd src/Pktgen-DPDK 
RTE_SDK=`pwd` 
RTE_TARGET=x86_64-pktgen-linuxapp-gcc 
make config T=$RTE_TARGET 
make install 
cd example/pktgen 
make
䛭䜜䛮䜜䛾VM䛷䜰䝥䝸㉳ື 
● ryu-manager simple_switch_13.py 
● sudo lagopus -d -cf -n2 -- -p3 
○ -cf: 4䝁䜰 (DPDKඹ㏻䝟䝷䝯䞊䝍) 
○ -n2: 䝯䝰䝸䝏䝱䝛䝹ᣦᐃ (ྠୖ) 
○ -p3: Port0, Port1䜢฼⏝ 
● sudo app/pktgen -cf -n2 -- -m 1.0,2.1 
○ -m 1.0,2.1: 䝁䜰1䛷Port0䛾㏦ཷಙ䚸䝁䜰2䛷Port1
ື䛔䛯? 
● ື䛔䛯! 
● ື䛝䛯䛶䜋䜔䜋䜔䜢䝝䞁䝈䜸䞁䛷䛚ぢ䛫䛧䛯 
● ὶ䛧䛶䛔䜛䝟䜿䝑䝖䛿64byte䛾IPv4/TCP 
● 䝇䝹䞊䝥䝑䝖䛿䛛䛺䜚ప䛛䛳䛯Ẽ䛜䚹 
● タᐃ䜢ワ䜑䛯䜚䛷䛝䜛䛸㏿䛟䛺䜛䛛䜒?

Contenu connexe

En vedette

Xeon dとlagopusと、pktgen dpdk
Xeon dとlagopusと、pktgen dpdkXeon dとlagopusと、pktgen dpdk
Xeon dとlagopusと、pktgen dpdkMasaru Oki
 
BGP/MPLS-VPNのお勉強資料
BGP/MPLS-VPNのお勉強資料BGP/MPLS-VPNのお勉強資料
BGP/MPLS-VPNのお勉強資料Toshiki Tsuboi
 
Richards key 3
Richards key 3Richards key 3
Richards key 3richardskd
 
Running lagopus on Xeon D
Running lagopus on Xeon DRunning lagopus on Xeon D
Running lagopus on Xeon DMasaru Oki
 
8 Colorful Ideas for My Country (The Filipino Food)
8 Colorful Ideas for My Country (The Filipino Food)8 Colorful Ideas for My Country (The Filipino Food)
8 Colorful Ideas for My Country (The Filipino Food)Jose Radin Garduque
 
Dracula presentation with answers ok
Dracula presentation with answers okDracula presentation with answers ok
Dracula presentation with answers okalexteacherproa
 
8 Questions to My Opponents in Pilipinas Debates 2016
8 Questions to My Opponents in Pilipinas Debates 20168 Questions to My Opponents in Pilipinas Debates 2016
8 Questions to My Opponents in Pilipinas Debates 2016Jose Radin Garduque
 
Indonesia: Socio-Cultural Setting
Indonesia: Socio-Cultural SettingIndonesia: Socio-Cultural Setting
Indonesia: Socio-Cultural SettingJose Radin Garduque
 
8 Campaign Tactics if I am a 2016 Presidentiable
8 Campaign Tactics if I am a 2016 Presidentiable8 Campaign Tactics if I am a 2016 Presidentiable
8 Campaign Tactics if I am a 2016 PresidentiableJose Radin Garduque
 
richards keynote
richards keynote richards keynote
richards keynote richardskd
 
8 Tui Bei Tu Parallelisms to Philippine History
8 Tui Bei Tu Parallelisms to Philippine History8 Tui Bei Tu Parallelisms to Philippine History
8 Tui Bei Tu Parallelisms to Philippine HistoryJose Radin Garduque
 
Cuaderno caligrafia anaya 2
Cuaderno caligrafia anaya 2Cuaderno caligrafia anaya 2
Cuaderno caligrafia anaya 2mjrivasmedina
 
Lagopus on small arm board
Lagopus on small arm boardLagopus on small arm board
Lagopus on small arm boardMasaru Oki
 
Dracula presentation with answers ok
Dracula presentation with answers okDracula presentation with answers ok
Dracula presentation with answers okalexteacherproa
 
Ppt copy (2)
Ppt   copy (2)Ppt   copy (2)
Ppt copy (2)Tapan N
 

En vedette (20)

Xeon dとlagopusと、pktgen dpdk
Xeon dとlagopusと、pktgen dpdkXeon dとlagopusと、pktgen dpdk
Xeon dとlagopusと、pktgen dpdk
 
Bsd suki
Bsd sukiBsd suki
Bsd suki
 
BGP/MPLS-VPNのお勉強資料
BGP/MPLS-VPNのお勉強資料BGP/MPLS-VPNのお勉強資料
BGP/MPLS-VPNのお勉強資料
 
Richards key 3
Richards key 3Richards key 3
Richards key 3
 
Running lagopus on Xeon D
Running lagopus on Xeon DRunning lagopus on Xeon D
Running lagopus on Xeon D
 
8 Colorful Ideas for My Country (The Filipino Food)
8 Colorful Ideas for My Country (The Filipino Food)8 Colorful Ideas for My Country (The Filipino Food)
8 Colorful Ideas for My Country (The Filipino Food)
 
Dracula presentation with answers ok
Dracula presentation with answers okDracula presentation with answers ok
Dracula presentation with answers ok
 
8 Questions to My Opponents in Pilipinas Debates 2016
8 Questions to My Opponents in Pilipinas Debates 20168 Questions to My Opponents in Pilipinas Debates 2016
8 Questions to My Opponents in Pilipinas Debates 2016
 
Indonesia: Socio-Cultural Setting
Indonesia: Socio-Cultural SettingIndonesia: Socio-Cultural Setting
Indonesia: Socio-Cultural Setting
 
8 Campaign Tactics if I am a 2016 Presidentiable
8 Campaign Tactics if I am a 2016 Presidentiable8 Campaign Tactics if I am a 2016 Presidentiable
8 Campaign Tactics if I am a 2016 Presidentiable
 
richards keynote
richards keynote richards keynote
richards keynote
 
Singapore (Economic Setting)
Singapore (Economic Setting)Singapore (Economic Setting)
Singapore (Economic Setting)
 
8 Tui Bei Tu Parallelisms to Philippine History
8 Tui Bei Tu Parallelisms to Philippine History8 Tui Bei Tu Parallelisms to Philippine History
8 Tui Bei Tu Parallelisms to Philippine History
 
Malaysia: Economic Setting
Malaysia: Economic SettingMalaysia: Economic Setting
Malaysia: Economic Setting
 
Cuaderno caligrafia anaya 2
Cuaderno caligrafia anaya 2Cuaderno caligrafia anaya 2
Cuaderno caligrafia anaya 2
 
Lagopus on small arm board
Lagopus on small arm boardLagopus on small arm board
Lagopus on small arm board
 
Dracula presentation with answers ok
Dracula presentation with answers okDracula presentation with answers ok
Dracula presentation with answers ok
 
Vietnam: Political Setting
Vietnam: Political SettingVietnam: Political Setting
Vietnam: Political Setting
 
apps of nanotech
apps of nanotechapps of nanotech
apps of nanotech
 
Ppt copy (2)
Ppt   copy (2)Ppt   copy (2)
Ppt copy (2)
 

Similaire à Qemu上でlagopusを動かした話

CEDEC2014 Live Coding in C++
CEDEC2014 Live Coding in C++CEDEC2014 Live Coding in C++
CEDEC2014 Live Coding in C++Seiya Ishibashi
 
Docker and Containers for Development and Deployment — SCALE12X
Docker and Containers for Development and Deployment — SCALE12XDocker and Containers for Development and Deployment — SCALE12X
Docker and Containers for Development and Deployment — SCALE12XJérôme Petazzoni
 
MAASとJujuでつくるOpenStack環境構築入門 IceHouse対応版 - OpenStack最新情報セミナー 2014年10月
MAASとJujuでつくるOpenStack環境構築入門 IceHouse対応版 - OpenStack最新情報セミナー 2014年10月MAASとJujuでつくるOpenStack環境構築入門 IceHouse対応版 - OpenStack最新情報セミナー 2014年10月
MAASとJujuでつくるOpenStack環境構築入門 IceHouse対応版 - OpenStack最新情報セミナー 2014年10月VirtualTech Japan Inc.
 
IaaS業界激変の背景
IaaS業界激変の背景IaaS業界激変の背景
IaaS業界激変の背景知礼 八子
 
Micro Python で組み込み Python
Micro Python で組み込み PythonMicro Python で組み込み Python
Micro Python で組み込み PythonHirotaka Kawata
 
Lagopus+pcap pmd suppriment
Lagopus+pcap pmd supprimentLagopus+pcap pmd suppriment
Lagopus+pcap pmd supprimentMasaru Oki
 
Arch TCP/IP Introduction
Arch TCP/IP IntroductionArch TCP/IP Introduction
Arch TCP/IP IntroductionMasahiko Hara
 
Introduction to Docker (as presented at December 2013 Global Hackathon)
Introduction to Docker (as presented at December 2013 Global Hackathon)Introduction to Docker (as presented at December 2013 Global Hackathon)
Introduction to Docker (as presented at December 2013 Global Hackathon)Jérôme Petazzoni
 
My talk from PgConf.Russia 2016
My talk from PgConf.Russia 2016My talk from PgConf.Russia 2016
My talk from PgConf.Russia 2016Alex Chistyakov
 
Python入門 : 4日間コース社内トレーニング
Python入門 : 4日間コース社内トレーニングPython入門 : 4日間コース社内トレーニング
Python入門 : 4日間コース社内トレーニングYuichi Ito
 
zkStudyClub - zkSaaS (Sruthi Sekar, UCB)
zkStudyClub - zkSaaS (Sruthi Sekar, UCB)zkStudyClub - zkSaaS (Sruthi Sekar, UCB)
zkStudyClub - zkSaaS (Sruthi Sekar, UCB)Alex Pruden
 
Docker and-containers-for-development-and-deployment-scale12x
Docker and-containers-for-development-and-deployment-scale12xDocker and-containers-for-development-and-deployment-scale12x
Docker and-containers-for-development-and-deployment-scale12xrkr10
 
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQDocker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQJérôme Petazzoni
 
Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9 Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9 Jérôme Petazzoni
 
BKK16-203 Irq prediction or how to better estimate idle time
BKK16-203 Irq prediction or how to better estimate idle timeBKK16-203 Irq prediction or how to better estimate idle time
BKK16-203 Irq prediction or how to better estimate idle timeLinaro
 
Linux Locking Mechanisms
Linux Locking MechanismsLinux Locking Mechanisms
Linux Locking MechanismsKernel TLV
 
My talk at Linux Piter 2015
My talk at Linux Piter 2015My talk at Linux Piter 2015
My talk at Linux Piter 2015Alex Chistyakov
 
Introduction to Java Profiling
Introduction to Java ProfilingIntroduction to Java Profiling
Introduction to Java ProfilingJerry Yoakum
 
Guest Agents: Support & Implementation
Guest Agents: Support & ImplementationGuest Agents: Support & Implementation
Guest Agents: Support & ImplementationMirantis
 

Similaire à Qemu上でlagopusを動かした話 (20)

CentOS 7 入門
CentOS 7 入門CentOS 7 入門
CentOS 7 入門
 
CEDEC2014 Live Coding in C++
CEDEC2014 Live Coding in C++CEDEC2014 Live Coding in C++
CEDEC2014 Live Coding in C++
 
Docker and Containers for Development and Deployment — SCALE12X
Docker and Containers for Development and Deployment — SCALE12XDocker and Containers for Development and Deployment — SCALE12X
Docker and Containers for Development and Deployment — SCALE12X
 
MAASとJujuでつくるOpenStack環境構築入門 IceHouse対応版 - OpenStack最新情報セミナー 2014年10月
MAASとJujuでつくるOpenStack環境構築入門 IceHouse対応版 - OpenStack最新情報セミナー 2014年10月MAASとJujuでつくるOpenStack環境構築入門 IceHouse対応版 - OpenStack最新情報セミナー 2014年10月
MAASとJujuでつくるOpenStack環境構築入門 IceHouse対応版 - OpenStack最新情報セミナー 2014年10月
 
IaaS業界激変の背景
IaaS業界激変の背景IaaS業界激変の背景
IaaS業界激変の背景
 
Micro Python で組み込み Python
Micro Python で組み込み PythonMicro Python で組み込み Python
Micro Python で組み込み Python
 
Lagopus+pcap pmd suppriment
Lagopus+pcap pmd supprimentLagopus+pcap pmd suppriment
Lagopus+pcap pmd suppriment
 
Arch TCP/IP Introduction
Arch TCP/IP IntroductionArch TCP/IP Introduction
Arch TCP/IP Introduction
 
Introduction to Docker (as presented at December 2013 Global Hackathon)
Introduction to Docker (as presented at December 2013 Global Hackathon)Introduction to Docker (as presented at December 2013 Global Hackathon)
Introduction to Docker (as presented at December 2013 Global Hackathon)
 
My talk from PgConf.Russia 2016
My talk from PgConf.Russia 2016My talk from PgConf.Russia 2016
My talk from PgConf.Russia 2016
 
Python入門 : 4日間コース社内トレーニング
Python入門 : 4日間コース社内トレーニングPython入門 : 4日間コース社内トレーニング
Python入門 : 4日間コース社内トレーニング
 
zkStudyClub - zkSaaS (Sruthi Sekar, UCB)
zkStudyClub - zkSaaS (Sruthi Sekar, UCB)zkStudyClub - zkSaaS (Sruthi Sekar, UCB)
zkStudyClub - zkSaaS (Sruthi Sekar, UCB)
 
Docker and-containers-for-development-and-deployment-scale12x
Docker and-containers-for-development-and-deployment-scale12xDocker and-containers-for-development-and-deployment-scale12x
Docker and-containers-for-development-and-deployment-scale12x
 
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQDocker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
 
Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9 Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9
 
BKK16-203 Irq prediction or how to better estimate idle time
BKK16-203 Irq prediction or how to better estimate idle timeBKK16-203 Irq prediction or how to better estimate idle time
BKK16-203 Irq prediction or how to better estimate idle time
 
Linux Locking Mechanisms
Linux Locking MechanismsLinux Locking Mechanisms
Linux Locking Mechanisms
 
My talk at Linux Piter 2015
My talk at Linux Piter 2015My talk at Linux Piter 2015
My talk at Linux Piter 2015
 
Introduction to Java Profiling
Introduction to Java ProfilingIntroduction to Java Profiling
Introduction to Java Profiling
 
Guest Agents: Support & Implementation
Guest Agents: Support & ImplementationGuest Agents: Support & Implementation
Guest Agents: Support & Implementation
 

Plus de Masaru Oki

NetBSD移植の昔話
NetBSD移植の昔話NetBSD移植の昔話
NetBSD移植の昔話Masaru Oki
 
Lagopusとvagrant
LagopusとvagrantLagopusとvagrant
LagopusとvagrantMasaru Oki
 
OpenFlowでいろんなプロトコルを 話そうとするとどうなるか
OpenFlowでいろんなプロトコルを 話そうとするとどうなるかOpenFlowでいろんなプロトコルを 話そうとするとどうなるか
OpenFlowでいろんなプロトコルを 話そうとするとどうなるかMasaru Oki
 
今よりも少し(?)昔、 Windowsを作ろうとした話
今よりも少し(?)昔、 Windowsを作ろうとした話今よりも少し(?)昔、 Windowsを作ろうとした話
今よりも少し(?)昔、 Windowsを作ろうとした話Masaru Oki
 
Onieで遊んでみようとした話
Onieで遊んでみようとした話Onieで遊んでみようとした話
Onieで遊んでみようとした話Masaru Oki
 
GPD WINが来た!
GPD WINが来た!GPD WINが来た!
GPD WINが来た!Masaru Oki
 
新生Lagopus2017(仮称)
新生Lagopus2017(仮称)新生Lagopus2017(仮称)
新生Lagopus2017(仮称)Masaru Oki
 
Lagopus as open flow hybrid switch 実践編
Lagopus as open flow hybrid switch 実践編Lagopus as open flow hybrid switch 実践編
Lagopus as open flow hybrid switch 実践編Masaru Oki
 
LagopusでPPPoEを使えるか考えてみた件
LagopusでPPPoEを使えるか考えてみた件LagopusでPPPoEを使えるか考えてみた件
LagopusでPPPoEを使えるか考えてみた件Masaru Oki
 
Lagopus どれだけ速いのか
Lagopus どれだけ速いのかLagopus どれだけ速いのか
Lagopus どれだけ速いのかMasaru Oki
 
Ryu+Lagopusで OpenFlowの動きを見てみよう
Ryu+Lagopusで OpenFlowの動きを見てみようRyu+Lagopusで OpenFlowの動きを見てみよう
Ryu+Lagopusで OpenFlowの動きを見てみようMasaru Oki
 
Lagopus match improvements
Lagopus match improvementsLagopus match improvements
Lagopus match improvementsMasaru Oki
 
Open flow tunnel extension on lagopus vswitch
Open flow tunnel extension on lagopus vswitchOpen flow tunnel extension on lagopus vswitch
Open flow tunnel extension on lagopus vswitchMasaru Oki
 
Lagopus as open flow hybrid switch
Lagopus as open flow hybrid switchLagopus as open flow hybrid switch
Lagopus as open flow hybrid switchMasaru Oki
 
Net bsd advent calendar 2015 bpf
Net bsd advent calendar 2015 bpfNet bsd advent calendar 2015 bpf
Net bsd advent calendar 2015 bpfMasaru Oki
 
Using rump on NetBSD 7.0
Using rump on NetBSD 7.0Using rump on NetBSD 7.0
Using rump on NetBSD 7.0Masaru Oki
 

Plus de Masaru Oki (20)

NetBSD移植の昔話
NetBSD移植の昔話NetBSD移植の昔話
NetBSD移植の昔話
 
Rust-DPDK
Rust-DPDKRust-DPDK
Rust-DPDK
 
Rust-DPDK
Rust-DPDKRust-DPDK
Rust-DPDK
 
Lagopusとvagrant
LagopusとvagrantLagopusとvagrant
Lagopusとvagrant
 
OpenFlowでいろんなプロトコルを 話そうとするとどうなるか
OpenFlowでいろんなプロトコルを 話そうとするとどうなるかOpenFlowでいろんなプロトコルを 話そうとするとどうなるか
OpenFlowでいろんなプロトコルを 話そうとするとどうなるか
 
今よりも少し(?)昔、 Windowsを作ろうとした話
今よりも少し(?)昔、 Windowsを作ろうとした話今よりも少し(?)昔、 Windowsを作ろうとした話
今よりも少し(?)昔、 Windowsを作ろうとした話
 
Onieで遊んでみようとした話
Onieで遊んでみようとした話Onieで遊んでみようとした話
Onieで遊んでみようとした話
 
GPD WINが来た!
GPD WINが来た!GPD WINが来た!
GPD WINが来た!
 
新生Lagopus2017(仮称)
新生Lagopus2017(仮称)新生Lagopus2017(仮称)
新生Lagopus2017(仮称)
 
Lagopus as open flow hybrid switch 実践編
Lagopus as open flow hybrid switch 実践編Lagopus as open flow hybrid switch 実践編
Lagopus as open flow hybrid switch 実践編
 
LagopusでPPPoEを使えるか考えてみた件
LagopusでPPPoEを使えるか考えてみた件LagopusでPPPoEを使えるか考えてみた件
LagopusでPPPoEを使えるか考えてみた件
 
Lagopus どれだけ速いのか
Lagopus どれだけ速いのかLagopus どれだけ速いのか
Lagopus どれだけ速いのか
 
Lagopus 0.2.7
Lagopus 0.2.7Lagopus 0.2.7
Lagopus 0.2.7
 
Ryu+Lagopusで OpenFlowの動きを見てみよう
Ryu+Lagopusで OpenFlowの動きを見てみようRyu+Lagopusで OpenFlowの動きを見てみよう
Ryu+Lagopusで OpenFlowの動きを見てみよう
 
Lagopus match improvements
Lagopus match improvementsLagopus match improvements
Lagopus match improvements
 
Lagopus 0.2.4
Lagopus 0.2.4Lagopus 0.2.4
Lagopus 0.2.4
 
Open flow tunnel extension on lagopus vswitch
Open flow tunnel extension on lagopus vswitchOpen flow tunnel extension on lagopus vswitch
Open flow tunnel extension on lagopus vswitch
 
Lagopus as open flow hybrid switch
Lagopus as open flow hybrid switchLagopus as open flow hybrid switch
Lagopus as open flow hybrid switch
 
Net bsd advent calendar 2015 bpf
Net bsd advent calendar 2015 bpfNet bsd advent calendar 2015 bpf
Net bsd advent calendar 2015 bpf
 
Using rump on NetBSD 7.0
Using rump on NetBSD 7.0Using rump on NetBSD 7.0
Using rump on NetBSD 7.0
 

Dernier

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 

Dernier (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 

Qemu上でlagopusを動かした話

  • 1. Lagopus Day #1 Tokyo 䛾㝮䛳䛣䛷䜔䛳䛶䛯䛣䛸 Aug 31, 2014 m-oki@stratosphere.co.jp
  • 2. 䝬䝄䞊䝪䞊䝗䛸㟁※➼ᣢ䛱㎸䜏 ● SUPERMICRO X9SKV-1105 ○ Xeon E3-1105C v2 䜸䞁䝪䞊䝗(䝣䜯䞁䝺䝇) ○ GbE x6 (i350 4ᮏ䚸i210 2ᮏ) 䜸䞁䝪䞊䝗 ○ ౛䛻䜘䛳䛶䝟䝋䝁䞁䝝䜴䝇ᮾᫎ䛥䜣䛷㈙䛔䜎䛧䛯 ● 16GB䝯䝰䝸䚸320GB HDD ● PCIe x1䛾䝡䝕䜸䜹䞊䝗 ● 9䜲䞁䝏䝰䝙䝍䚸䜻䞊䝪䞊䝗 ● 䜿䞊䝇䛿䛺䛧
  • 3. ఍ሙ䛷䜔䛳䛯䛣䛸 ● QEMU䜢౑䛔௬᝿䝬䝅䞁䜢㉳ື ● ௬᝿䝬䝅䞁ୖ䛷Ubuntu server䜲䞁䝇䝖䞊䝹 ● 䛭䛾Ubuntuୖ䛷dpdk䜢ྲྀᚓ䚸䝁䞁䝟䜲䝹 ● 䛥䜙䛻lagopus, Pktgen-DPDK䜢䜲䞁䝇䝖䞊䝹 ● Ryu䜒䜲䞁䝇䝖䞊䝹 ● VM䜲䝯䞊䝆䜢」〇䛧2䛴䛾VM䜢㉳ື ● VMୖ䛷Pktgen-DPDK䛸lagopus䛾㏻ಙ䜢ᐇ⾜
  • 4. 320GB HDD䛾୰㌟ ● Ubuntu 14.04LTS server ● ᙜ᪥༗๓୰䛻⮬Ꮿ䛷䜲䞁䝇䝖䞊䝹䛧䛯 ● QEMU⏝䛾HDD䜲䝯䞊䝆䜢స䛳䛶䛚䛔䛯 ○ 4GB䛒䜜䜀Ubuntu server䛜ධ䜛 qemu-img -f qcow2 create ubuntu-vm1.img 4G
  • 5. 䜔䛳䛯䛣䛸䜢⤮䛻䛩䜛䛸䛣䛖 ● VM䛿䛭䜜䛮䜜3ᮏ㊊ ● 1ᮏ䛿䝩䝇䝖䝤䝸䝑䝆䚸2ᮏ䛿஫䛔䛻᥋⥆ Lagopus Pktgen-DPDK QEMU ubuntu-vm QEMU Ryu ubuntu-vm2 alice: Ubuntu server on X9SKV-1105 eth4 10.75.30.10 →会場ネットワーク eth0 10.75.30.28 eth0 10.75.30.31
  • 6. 䝩䝇䝖䝤䝸䝑䝆䛾䛯䜑䛾‽ഛ /etc/network/interfaces䛾auto eth4䜢ኚ᭦ auto br0 interface br0 inet dhcp bridge_ports eth4 bridge_stp off bridge_maxwait 0 bridge_fd 0 QEMU䛾-net bridge䛿ᣦᐃ䛜䛺䛡䜜䜀br0䛻䛴䛺䛜䜛䚹
  • 7. QEMU䛾㉳ື䝟䝷䝯䞊䝍 ● -machine pc,accel=kvm ○ ᣦᐃ䛧䛺䛔䛸KVM䛺䛧䛷ື䛟(㐜䛔) ● -display vnc=10.75.30.10:0 (䜒䛧䛟䛿:1) ○ 䝜䞊䝖PC䛾VNC Viewer䛷䛴䛺䛔䛷VM䛾䝁䞁䝋䞊䝹䜢᧯స ○ Viewerഃ䛷䛿port 5900 (䜒䛧䛟䛿5901)䜢ᣦᐃ ● -m 1024 ○ 1GBᣦᐃ䚹↓ᣦᐃ䛰䛸128MB䛸䛺䜛(Ubuntu䜲䞁䝇䝖䞊䝷䛜ື䛛䛺䛔) ● -cpu host -smp cores=4 ○ 䝩䝇䝖䛸ྠ䛨௬᝿䝥䝻䝉䝑䝃䜢4䝁䜰䛷 ○ ↓ᣦᐃ䛰䛸QEMU Virtual CPU䛸䛺䜚䚸DPDK䛜䝁䞁䝟䜲䝹䛷䛝䛺䛔 ○ Haswell䛺䛹䜒ᣦᐃ䛷䛝䜛䛜䚸䜶䝭䝳䝺䞊䝅䝵䞁䛜䛛䛛䜛䛸㐜䛟䛺䜛
  • 8. QEMU䝛䝑䝖䝽䞊䜽㛵㐃 ● -net䜢」ᩘᣦᐃ䛩䜛䚹 ○ 䜂䛸䛴䛿௬᝿䝬䝅䞁ഃ䛾NICタᐃ䚸䜂䛸䛴䛿䝩䝇䝖ഃ䛷䛹䛖ᢅ䛖䛛䛾タᐃ ○ ௬᝿䝛䝑䝖䝽䞊䜽␒ྕ䛷༊ู䛩䜛 (vlan=N䛷䚸䝕䝣䜷䝹䝖1) ○ bridge᥋⥆䛩䜛䛻䛿⟶⌮⪅ᶒ㝈䛜ᚲせ䚹qemu䜢sudo௜䛷㉳ື䛩䜛䚹 ○ tapᣦᐃ䛩䜛䛸ྠ୍vlan␒ྕ䛾VMྠኈ䛜䛴䛺䛜䜛 ● -net nic -net bridge,macaddr=xx:xx:xx:xx:xx:xx ● -net nic,vlan=2 -net tap,vlan=2 ● -net nic,vlan=3 -net tap,vlan=3 ○ eth0: 䝩䝇䝖䝤䝸䝑䝆䚹MACᣦᐃ䛜䛺䛔䛸ྠ୍䛻䛺䜚䚸」ᩘVM䛷ᅔ䜛 ○ eth1: VM㛫᥋⥆ ○ eth2: VM㛫᥋⥆
  • 9. QEMU䝇䝖䝺䞊䝆㛵㐃 ● -hda ubuntu-vm.img (䜒䛧䛟䛿ubuntu-vm2.img) ● -cdrom ubuntu-server-14.04.1-amd64.iso ● Ubuntu䜲䞁䝇䝖䞊䝹ᚋ䚸img䝣䜯䜲䝹䜢䝁䝢䞊䛧䛯䚹 ● ISO䛿Ubuntu䜲䞁䝇䝖䞊䝹᫬䛰䛡ᣦᐃ䚹
  • 10. QEMU㉳ື ୗグ䜢1⾜䛷䚹ኴᏐ䛿2䛴┠䛾VM䛾䛸䛝ኚ᭦䛩䜛䚹 sudo qemu-system-x86_64 -machine pc, accel=kvm -display vnc=10.75.30.10:0 -m 1024 -cpu host,cores=4 -net nic -net bridge, macaddr=56:78:90:12:34:56 -net nic,vlan=2 - net tap,vlan=2 -net nic,vlan=3 -net tap, vlan=3 -hda ubuntu-vm1.img
  • 11. 䜲䞁䝇䝖䞊䝹䛸䛛 DPDK, lagopus䛾䜲䞁䝇䝖䞊䝹䛿䝝䞁䝈䜸䞁䛾䜎䜎䛻䛴䛝␎䚹 Pktgen-DPDK䛿ୗグ䛾䜘䛖䛺ឤ䛨䛷䚹 cd src/Pktgen-DPDK RTE_SDK=`pwd` RTE_TARGET=x86_64-pktgen-linuxapp-gcc make config T=$RTE_TARGET make install cd example/pktgen make
  • 12. 䛭䜜䛮䜜䛾VM䛷䜰䝥䝸㉳ື ● ryu-manager simple_switch_13.py ● sudo lagopus -d -cf -n2 -- -p3 ○ -cf: 4䝁䜰 (DPDKඹ㏻䝟䝷䝯䞊䝍) ○ -n2: 䝯䝰䝸䝏䝱䝛䝹ᣦᐃ (ྠୖ) ○ -p3: Port0, Port1䜢฼⏝ ● sudo app/pktgen -cf -n2 -- -m 1.0,2.1 ○ -m 1.0,2.1: 䝁䜰1䛷Port0䛾㏦ཷಙ䚸䝁䜰2䛷Port1
  • 13. ື䛔䛯? ● ື䛔䛯! ● ື䛝䛯䛶䜋䜔䜋䜔䜢䝝䞁䝈䜸䞁䛷䛚ぢ䛫䛧䛯 ● ὶ䛧䛶䛔䜛䝟䜿䝑䝖䛿64byte䛾IPv4/TCP ● 䝇䝹䞊䝥䝑䝖䛿䛛䛺䜚ప䛛䛳䛯Ẽ䛜䚹 ● タᐃ䜢ワ䜑䛯䜚䛷䛝䜛䛸㏿䛟䛺䜛䛛䜒?