Changes between Version 4 and Version 5 of GEC13Agenda/ExperimenterWorkflowTutorial/Tutorial


Ignore:
Timestamp:
03/12/12 20:15:02 (8 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC13Agenda/ExperimenterWorkflowTutorial/Tutorial

    v4 v5  
    804804   [alice@protogeni1 ~]$ /sbin/ifconfig
    805805   }}}
    806    and note the name of the data interface, the data interface is the one that has an IP address in the 10.42.131.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:
    807807   {{{
    808808   eth1.1750 Link encap:Ethernet  HWaddr 00:1F:29:32:92:4D 
    809           inet addr:10.42.131.146  Bcast:10.42.131.255  Mask:255.255.255.0
     809          inet addr:10.42.149.146  Bcast:10.42.149.255  Mask:255.255.255.0
    810810          inet6 addr: fe80::21f:29ff:fe32:924d/64 Scope:Link
    811811          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     
    819819
    820820   * 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>
    829827   }}}
    830828   For Alice the output would be :
    831829   {{{
    832 [alice@protogeni1 ~/pingPlus]$ sudo ./pingPlus 00:15:17:d4:64:c2 eth1.1750 10131
    833 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
     831RQ:'5019+6242' to 00:0c:29:7b:c5:b3.
     832RL:5019+6242=11261 from 00:0c:29:7b:c5:b3.
    835833   }}}
    836834   Send a stream of packets, by specifying the number of packets as the last parameter :
    837835   {{{
    838    sudo ./pingPlus 00:15:17:d4:64:c2 <interface_name> 10131 10
    839    }}}
    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.
    841839
    842840Congratulations you ran a Layer two experiment across the country!
    843841
    844842
    845 = III. Exercise 2: Using !OpenFlow to Create Your Experiment's Topology =
     843= iV Using !OpenFlow in mesoscale =
    846844Another way to control the path that your packets are taking is with OpenFlow
    847845controllers. In this exercise we are going to use an OpenFlow controller that