Agenda Presentation and Demo An Introduction to GENI

  • Slides: 10
Download presentation
Agenda Presentation and Demo: An Introduction to GENI (45 min) Hands-on: Getting Started with

Agenda Presentation and Demo: An Introduction to GENI (45 min) Hands-on: Getting Started with GENI (45 min) Break (10 min) Hands-on: IPv 4 Routing Assignment (50 min) Resources for Instructors (15 min) Miscellaneous GENI Topics & Wrap-Up (15 min) Sponsored by the National Science Foundation GENI Introduction – SIGCSE ‘ 14 – 5 March 2014 www. geni. net 1

Hands-on: IPv 4 Routing Assignment Sponsored by the National Science Foundation

Hands-on: IPv 4 Routing Assignment Sponsored by the National Science Foundation

Motivation • GENI provides an environment that: – Requires little setup – Requires little

Motivation • GENI provides an environment that: – Requires little setup – Requires little infrastructure – Doesn’t require the student to be physically present (aka students can use it at home) – Is resilient to user mistakes and typos (students can always start over) • Today's exercise will introduce you to a lab assignment that is used in Introduction to Networking classes Sponsored by the National Science Foundation GENI Introduction – SIGCSE ‘ 14 – 5 March 2014 www. geni. net 3

Exercise Topology Exercise created by Mike Zink, University of Massachusetts, Amherst Sponsored by the

Exercise Topology Exercise created by Mike Zink, University of Massachusetts, Amherst Sponsored by the National Science Foundation GENI Introduction – SIGCSE ‘ 14 – 5 March 2014 www. geni. net 4

Goal of the exercise • Learn how to configure static routes using the Linux

Goal of the exercise • Learn how to configure static routes using the Linux route command • Debug routing in a simple topology • Setup the routing as indicated in the figure – Packets from A sent to IP address 192. 168. 2. 12 on node C should be routed via node B. And vis versa. – Note that Node B is initially configured with IP forwarding off Sponsored by the National Science Foundation GENI Introduction – SIGCSE ‘ 14 – 5 March 2014 www. geni. net 5

Reserving a pre-defined topology using Flack 1. In the Portal, launch Flack for this

Reserving a pre-defined topology using Flack 1. In the Portal, launch Flack for this slice. 2. From the Import menu (see figure), select the Import from the web item. 3. Enter the URL for the RSpec for this exercise and then click Ok. http: //www. gpolab. bbn. com/exp/IPRouting/EG-3 nodes-mesh. rspec 4. When Flack pops up a message asking you to pick a manager to use click OK and then select one of: exogeni. net. bbnvmsite exogeni. net. rcivmsite 5. Click Submit Sponsored by the National Science Foundation GENI Introduction – SIGCSE ‘ 14 – 5 March 2014 www. geni. net 6

Helpful Links Instructions for the exercise: http: //groups. geni. net/geni/wiki/GENIEducation/Sample. Assig nments/IPRouting/Procedure RSpecs: http:

Helpful Links Instructions for the exercise: http: //groups. geni. net/geni/wiki/GENIEducation/Sample. Assig nments/IPRouting/Procedure RSpecs: http: //www. gpolab. bbn. com/exp/IPRouting/EG-3 nodes-mesh. rspec IP Route Command: http: //www. hscripts. com/tutorials/linux-commands/route. html Sponsored by the National Science Foundation GENI Introduction – SIGCSE ‘ 14 – 5 March 2014 www. geni. net 7

Helpful Commands • Configure IP Forwarding sudo sh -c 'echo 1 > /proc/sys/net/ipv 4/ip_forward'

Helpful Commands • Configure IP Forwarding sudo sh -c 'echo 1 > /proc/sys/net/ipv 4/ip_forward' • Paths to ifconfig and route /sbin/ifconfig /sbin/route • See the routing table sudo route • Debugging with tcpdump sudo apt-get tcpdump sudo /usr/sbin/tcpdump -i eth 2 Sponsored by the National Science Foundation GENI Introduction – SIGCSE ‘ 14 – 5 March 2014 www. geni. net 8

Outline of the Solution 1. Node A: Configure a static route to 192. 168.

Outline of the Solution 1. Node A: Configure a static route to 192. 168. 2. 0/24 using 192. 168. 1. 11 as a gateway 2. Node B: Enable IP forwarding 3. Node C: Configure a static route to 192. 168. 1. 0/24 using 192. 168. 2. 11 as a gateway Sponsored by the National Science Foundation GENI Introduction – SIGCSE ‘ 14 – 5 March 2014 www. geni. net 9

Don’t forget to delete when you are done! Sponsored by the National Science Foundation

Don’t forget to delete when you are done! Sponsored by the National Science Foundation GENI Introduction – SIGCSE ‘ 14 – 5 March 2014 www. geni. net 10