Lab 5: Interconnecting a Datacenter using Mininet
-
Upload
zubair-nabi -
Category
Technology
-
view
1.430 -
download
1
description
Transcript of Lab 5: Interconnecting a Datacenter using Mininet
![Page 1: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/1.jpg)
5: Interconnecting a Datacenter using Mininet
Zubair Nabi
April 21, 2013
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 1 / 6
![Page 2: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/2.jpg)
Mininet
Project website: http://mininet.org/
Emulator for real-world networks which uses real kernel, switch, andapplication code on just a single machine
Internally uses Linux containers to emulate hosts, switches, and links
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 2 / 6
![Page 3: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/3.jpg)
Mininet
Project website: http://mininet.org/
Emulator for real-world networks which uses real kernel, switch, andapplication code on just a single machine
Internally uses Linux containers to emulate hosts, switches, and links
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 2 / 6
![Page 4: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/4.jpg)
Mininet
Project website: http://mininet.org/
Emulator for real-world networks which uses real kernel, switch, andapplication code on just a single machine
Internally uses Linux containers to emulate hosts, switches, and links
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 2 / 6
![Page 5: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/5.jpg)
Virtual Hosts
For each virtual host, Mininet creates a container connected to anetwork namespace
Each network namespace consists of a virtual network interface andassociated data, such as ARP cache and routing tables
Virtual interfaces are connected to software switches via virtualEthernet (veth) links
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 3 / 6
![Page 6: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/6.jpg)
Virtual Hosts
For each virtual host, Mininet creates a container connected to anetwork namespace
Each network namespace consists of a virtual network interface andassociated data, such as ARP cache and routing tables
Virtual interfaces are connected to software switches via virtualEthernet (veth) links
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 3 / 6
![Page 7: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/7.jpg)
Virtual Hosts
For each virtual host, Mininet creates a container connected to anetwork namespace
Each network namespace consists of a virtual network interface andassociated data, such as ARP cache and routing tables
Virtual interfaces are connected to software switches via virtualEthernet (veth) links
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 3 / 6
![Page 8: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/8.jpg)
Interface
Both a command line interface as well as Python bindings
Running the CLI: sudo mn
By default creates a toy topology
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 4 / 6
![Page 9: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/9.jpg)
Interface
Both a command line interface as well as Python bindings
Running the CLI: sudo mn
By default creates a toy topology
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 4 / 6
![Page 10: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/10.jpg)
Interface
Both a command line interface as well as Python bindings
Running the CLI: sudo mn
By default creates a toy topology
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 4 / 6
![Page 11: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/11.jpg)
Some CLI Interaction
Displaying the hosts: nodes
Displaying the links: net
Executing a command on a host/switch: name_of_host/switchcommand
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 5 / 6
![Page 12: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/12.jpg)
Some CLI Interaction
Displaying the hosts: nodes
Displaying the links: net
Executing a command on a host/switch: name_of_host/switchcommand
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 5 / 6
![Page 13: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/13.jpg)
Some CLI Interaction
Displaying the hosts: nodes
Displaying the links: net
Executing a command on a host/switch: name_of_host/switchcommand
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 5 / 6
![Page 14: Lab 5: Interconnecting a Datacenter using Mininet](https://reader035.fdocuments.us/reader035/viewer/2022080209/546c91f6b4af9f7a2c8b50ec/html5/thumbnails/14.jpg)
Reference(s)
Nikhil Handigol, Brandon Heller, Vimalkumar Jeyakumar, Bob Lantz,and Nick McKeown. 2012. Reproducible network experiments usingcontainer-based emulation. In Proceedings of the 8th internationalconference on Emerging networking experiments and technologies(CoNEXT ’12). ACM, New York, NY, USA, 253-264.
Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 6 / 6