Changes between Version 10 and Version 11 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup


Ignore:
Timestamp:
08/13/14 10:40:22 (5 years ago)
Author:
xliu@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup

    v10 v11  
    9292In this tutorial, we configure each VM as an virtual router running `OSPF` routing protocol.  Examples of `XORP` configurations can be found at [http://www.xorp.org/getting_started.html XORPExamples]. For each VM runs as a software router, the `OSPF` configuration file is named as `ospfd.conf` and stored at `/etc/xorp/`.
    9393
    94 We first configure `OSPF` on `router-1`. The configuration file can be downloaded from [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/r1-ospf.conf here].
     94We first configure `OSPF` on `router-1`. The configuration file can be downloaded from [GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/r1-ospf.conf here].
    9595
    9696There are several key information we observed by manually creating the `OSPF` configuration file for `router-1`.
     
    143143To simplify the configuration process, we assume the `interface-cost` is 10 and the `hello-interval` for every virtual interface. So the main information we need from each node is the virtual interface's `address` and its `prefix-length`, as well as the router's `router-id` that is required for the `protocol` section in the configuration file.
    144144
    145 Similarly, we manually create `ospfd.conf` under `/etc/xorp/` for the other three virtual routers (see [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/r2-ospf.conf `router-2`],  [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r3-ospf.conf `!router-3`], and  [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r4-ospf.conf `router-4`]).
     145Similarly, we manually create `ospfd.conf` under `/etc/xorp/` for the other three virtual routers (see [GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r2-ospf.conf `router-2`],  [GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r2-ospf.conf `router-3`], and  [GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r4-ospf.conf `router-4`]).
    146146
    147147
     
    263263/sbin/ifconfig | egrep 'eth|inet addr' | sudo tee -a vm_info.txt > /dev/null
    264264}}} 
    265   A sample `vm_info.txt` is available at [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/vm_info.txt.example SampleVMInfo]
    266 
    267  * Create `ospfd.conf` by running an `awk` script, available from [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/ospfd-conf-gen.awk here]
     265  A sample `vm_info.txt` is available at [GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/vm_info.txt.example SampleVMInfo]
     266
     267 * Create `ospfd.conf` by running an `awk` script, available from [GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/ospfd-conf-gen.awk here]
    268268{{{
    269269sudo /usr/bin/awk -f $ABS_PATH/ospfd-conf-gen.awk $vm_info_file "$timestamp" 24 | sudo tee $ABS_PATH/ospfd.conf > /dev/null
    270270}}}
    271   A sample `ospfd.conf` is available at [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/ospfd.conf.example SampleOSPFConf]
     271  A sample `ospfd.conf` is available at [GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/ospfd.conf.example SampleOSPFConf]
    272272 
    273273 * Start `XORP` Process
     
    276276}}}
    277277 
    278 The complete shell script to wrap up the above procedures is available at [wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/start-xorp.sh StartXORP]
     278The complete shell script to wrap up the above procedures is available at [GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopoDesignSetup/start-xorp.sh StartXORP]
    279279
    280280