Lab 5: Interconnecting a Datacenter using Mininet

3,091 views

Published on

Cloud Computing Workshop 2013, ITU

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,091
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
97
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Lab 5: Interconnecting a Datacenter using Mininet

  1. 1. 5: Interconnecting a Datacenter using MininetZubair Nabizubair.nabi@itu.edu.pkApril 21, 2013Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 1 / 6
  2. 2. MininetProject website: http://mininet.org/Zubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 2 / 6
  3. 3. MininetProject website: http://mininet.org/Emulator for real-world networks which uses real kernel, switch, andapplication code on just a single machineZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 2 / 6
  4. 4. MininetProject website: http://mininet.org/Emulator for real-world networks which uses real kernel, switch, andapplication code on just a single machineInternally uses Linux containers to emulate hosts, switches, and linksZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 2 / 6
  5. 5. Virtual HostsFor each virtual host, Mininet creates a container connected to anetwork namespaceZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 3 / 6
  6. 6. Virtual HostsFor each virtual host, Mininet creates a container connected to anetwork namespaceEach network namespace consists of a virtual network interface andassociated data, such as ARP cache and routing tablesZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 3 / 6
  7. 7. Virtual HostsFor each virtual host, Mininet creates a container connected to anetwork namespaceEach network namespace consists of a virtual network interface andassociated data, such as ARP cache and routing tablesVirtual interfaces are connected to software switches via virtualEthernet (veth) linksZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 3 / 6
  8. 8. InterfaceBoth a command line interface as well as Python bindingsZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 4 / 6
  9. 9. InterfaceBoth a command line interface as well as Python bindingsRunning the CLI: sudo mnZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 4 / 6
  10. 10. InterfaceBoth a command line interface as well as Python bindingsRunning the CLI: sudo mnBy default creates a toy topologyZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 4 / 6
  11. 11. Some CLI InteractionDisplaying the hosts: nodesZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 5 / 6
  12. 12. Some CLI InteractionDisplaying the hosts: nodesDisplaying the links: netZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 5 / 6
  13. 13. Some CLI InteractionDisplaying the hosts: nodesDisplaying the links: netExecuting a command on a host/switch: name_of_host/switchcommandZubair Nabi 5: Interconnecting a Datacenter using Mininet April 21, 2013 5 / 6
  14. 14. 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

×