Download presentation
Presentation is loading. Please wait.
Published byLindsay Blankenship Modified over 9 years ago
1
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)
2
Sponsored by the National Science Foundation Hands-on: IPv4 Routing Assignment
3
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
4
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
5
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 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
6
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. http://www.gpolab.bbn.com/exp/IPRouting/EG-3nodes-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
7
Sponsored by the National Science Foundation7GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net Helpful Links Instructions for the exercise: http://groups.geni.net/geni/wiki/GENIEducation/SampleAssig nments/IPRouting/Procedure RSpecs: http://www.gpolab.bbn.com/exp/IPRouting/EG-3nodes-mesh.rspec IP Route Command: http://www.hscripts.com/tutorials/linux-commands/route.html
8
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
9
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 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
10
Sponsored by the National Science Foundation10GENI Introduction – SIGCSE ‘14 – 5 March 2014www.geni.net Don’t forget to delete when you are done!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.