Changes between Version 4 and Version 5 of GEC13Agenda/ExperimenterWorkflowTutorial/Tutorial
- Timestamp:
- 03/12/12 20:15:02 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC13Agenda/ExperimenterWorkflowTutorial/Tutorial
v4 v5 804 804 [alice@protogeni1 ~]$ /sbin/ifconfig 805 805 }}} 806 and note the name of the data interface, the data interface is the one that has an IP address in the 10.42.1 31.0/24 subnet:806 and note the name of the data interface, the data interface is the one that has an IP address in the 10.42.149.0/24 subnet: 807 807 {{{ 808 808 eth1.1750 Link encap:Ethernet HWaddr 00:1F:29:32:92:4D 809 inet addr:10.42.1 31.146 Bcast:10.42.131.255 Mask:255.255.255.0809 inet addr:10.42.149.146 Bcast:10.42.149.255 Mask:255.255.255.0 810 810 inet6 addr: fe80::21f:29ff:fe32:924d/64 Scope:Link 811 811 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 … … 819 819 820 820 * Run the Layer 2 Ping 821 We have pre-configured the network to forward along Layer2 packets of Ethernet type '10131', so let's try pinging with that. 822 The software that is going to send Layer 2 pings, is called pingPlus. Change to the pingPlus directory : 823 {{{ 824 cd pingPlus 825 }}} 826 There is a server running at a host with mac address '00:15:17:d4:64:c2'. Run the client : 827 {{{ 828 sudo ./pingPlus 00:15:17:d4:64:c2 <interface_name> 10131 821 We have pre-configured the network to forward along Layer2 packets of Ethernet type listed in your account sheet, so let's try pinging with that. 822 The software that is going to send Layer 2 pings, is called pingPlus. 823 824 There is a server running at a host with mac address `00:0c:29:7b:c5:b3`. Run the client : 825 {{{ 826 sudo /usr/local/bin/pingPlus 00:0c:29:7b:c5:b3 <interface_name> <EthType> 829 827 }}} 830 828 For Alice the output would be : 831 829 {{{ 832 [alice@protogeni1 ~/pingPlus]$ sudo ./pingPlus 00: 15:17:d4:64:c2 eth1.1750 10131833 RQ:'5019+6242' to 0 :15:17:d4:64:c2.834 RL:5019+6242=11261 from 0 :15:17:d4:64:c2.830 [alice@protogeni1 ~/pingPlus]$ sudo ./pingPlus 00:0c:29:7b:c5:b3 eth1.1750 10136 831 RQ:'5019+6242' to 00:0c:29:7b:c5:b3. 832 RL:5019+6242=11261 from 00:0c:29:7b:c5:b3. 835 833 }}} 836 834 Send a stream of packets, by specifying the number of packets as the last parameter : 837 835 {{{ 838 sudo ./pingPlus 00: 15:17:d4:64:c2 <interface_name> 1013110839 }}} 840 '''Note:'''If the program is stuck waiting for a reply for more than 1 minute, press '''Ctrl-C''' to exit .836 sudo ./pingPlus 00:0c:29:7b:c5:b3 <interface_name> <EthType> 10 837 }}} 838 '''Note:'''If the program is stuck waiting for a reply for more than 1 minute, press '''Ctrl-C''' to exit and try again. 841 839 842 840 Congratulations you ran a Layer two experiment across the country! 843 841 844 842 845 = III. Exercise 2: Using !OpenFlow to Create Your Experiment's Topology=843 = iV Using !OpenFlow in mesoscale = 846 844 Another way to control the path that your packets are taking is with OpenFlow 847 845 controllers. In this exercise we are going to use an OpenFlow controller that