Lab 5: Interconnecting a Datacenter using Mininet

14
5: Interconnecting a Datacenter using Mininet Zubair Nabi [email protected] April 21, 2013 Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 1/6

description

Cloud Computing Workshop 2013, ITU

Transcript of Lab 5: Interconnecting a Datacenter using Mininet

Page 1: Lab 5: Interconnecting a Datacenter using Mininet

5: Interconnecting a Datacenter using Mininet

Zubair Nabi

[email protected]

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

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

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

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

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

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

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

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

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

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

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

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

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

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