Changes between Version 9 and Version 10 of GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-7


Ignore:
Timestamp:
01/10/13 15:29:21 (11 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/InstageniRacks/AcceptanceTestStatus/IG-EXP-7

    v9 v10  
    9393$ cd /local/click
    9494$ sudo ./configure
    95 $ cd tools
     95$ cd tools ??
     96$ sudo make install  ??
     97$ cd /local/click/userlevel/
     98$ sudo gmake
    9699$ sudo make install
    97 $ cd /local/click/userlevel/
    98 $ sudo make install
     100$ ./click ../conf/test.click
    99101}}}
    100102
    101103
    102 XXX
    103 OR Install package:
    104 {{{
    105 $ wget http://www.read.cs.ucla.edu/click/click-2.0.1.tar.gz
    106 $ ###wget http://www.read.cs.ucla.edu/click/click-packages-2.0.tar.gz
    107 $ tar xvzf click-2.0.1.tar.gz
    108 $ cd click-2.0.1/userlevel
    109 $ ./configure
    110 $ gmake
    111 $ ./click ../conf/test.click
    112 $ sudo userlevel/click < conf/print-pings.click
    113 
    114 $ make install
    115104
    116105
    117106== 8. Determine Click router settings ==
    118 Determine the interface to MAC address mapping, and various settings required for the 4 router node and modify click configuration.
     107ON each of the four routers, determine the interface mapping and modify click configuration to add the router interfaces:
     108The following are executed on each of the routers:
     109{{{
     110$ /sbin/ifconfig
     111$ cd /local/click/userlevel
     112$ sudo vi ../conf/print-pings.click  ## add router interfaces
     113}}}
     114
     115Example conf/print-pings.click:
     116{{{
     117FromDevice(mv5.5)                               // read packets from device
     118                                                // (assume Ethernet device)
     119   -> Classifier(12/0800)                       // select IP-in-Ethernet
     120   -> Strip(14)                                 // strip Ethernet header
     121   -> CheckIPHeader                             // check IP header, mark as IP
     122   -> IPFilter(allow icmp && icmp type echo)    // select ICMP echo requests
     123   -> IPPrint                                   // print them out
     124   -> Discard;
     125}}}
    119126
    120127== 9. Run the user-level Click router ==
    121 Run the user-level Click router by providing the configuration file name as an argument on each node.
     128Login to each of the routers, and run the user-level Click router by providing the print pings configuration file name. Leave terminal connection open:
     129{{{
     130$ cd /local/click/userlevel
     131$ sudo ./click ../conf/print-pings.click
     132}}}
     133
    122134
    123135== 10. Log in to Host1 and send traffic to host2 ==
    124136
    125 Log in to Host1 and send traffic to host2 and leave traffic running.
     137Log in to host1 and send traffic to host2 and leave traffic running.  Review the output on the terminal for each of the
    126138
     139Log in to host2 and send traffic to host1
    127140== 11. Review Click logs on each Click router ==
    128141