Lab 5: Interconnecting a Datacenter using Mininet

Post on 18-Nov-2014

1.430 views 1 download

description

Cloud Computing Workshop 2013, ITU

Transcript of Lab 5: Interconnecting a Datacenter using Mininet

5: Interconnecting a Datacenter using Mininet

Zubair Nabi

zubair.nabi@itu.edu.pk

April 21, 2013

Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 1 / 6

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

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

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

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

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

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

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

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

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

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

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

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

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