Sponsored by the National Science Foundation1GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net Agenda Presentation and Demo: An Introduction to GENI (45min) Hands-on: Getting Started with GENI (45min) Break (10min) Hands-on: IPv4 Routing Assignment (50min) Resources for Instructors (15min) Miscellaneous GENI Topics & Wrap-Up (15min)
Sponsored by the National Science Foundation Hands-on: IPv4 Routing Assignment
Sponsored by the National Science Foundation3GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net 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 Foundation4GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net Exercise Topology Exercise created by Mike Zink, University of Massachusetts, Amherst
Sponsored by the National Science Foundation5GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net 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 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 Foundation6GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net 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. 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 Foundation7GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net Helpful Links Instructions for the exercise: nments/IPRouting/Procedure RSpecs: IP Route Command:
Sponsored by the National Science Foundation8GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net Helpful Commands Configure IP Forwarding sudo sh -c 'echo 1 > /proc/sys/net/ipv4/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 eth2
Sponsored by the National Science Foundation9GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net Outline of the Solution 1.Node A: Configure a static route to /24 using as a gateway 2.Node B: Enable IP forwarding 3.Node C: Configure a static route to /24 using as a gateway
Sponsored by the National Science Foundation10GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net Don’t forget to delete when you are done!