Changes between Version 33 and Version 34 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup
- Timestamp:
- 08/14/14 17:01:07 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup
v33 v34 92 92 In 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#configuring XORPExamples]. For each VM running as a software router, the `OSPF` configuration file will be named `ospfd.conf` and stored in `/etc/xorp/`. 93 93 94 We first configure `OSPF` on `router-1`. The sample configuration file for `router-1` can be downloaded from [http://groups.geni.net/geni/ attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r1-ospf.conf here], where you may find the interface information in the sample file may be different from `router-1`'s interfaces.94 We first configure `OSPF` on `router-1`. The sample configuration file for `router-1` can be downloaded from [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r1-ospf.conf here], where you may find the interface information in the sample file may be different from `router-1`'s interfaces. 95 95 It's highly recommended that make sure you double check whether you have the interface information correct in the `ospfd.conf` on `router-1` before you start `xorp`. 96 96 … … 154 154 To 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. 155 155 156 Similarly, we manually create `ospfd.conf` under `/etc/xorp/` for the other three virtual routers (see sample `ospfd.conf` files for [http://groups.geni.net/geni/ attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r2-ospf.conf `router-2`], [http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r3-ospf.conf `router-3`], and [http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r4-ospf.conf `router-4`]).156 Similarly, we manually create `ospfd.conf` under `/etc/xorp/` for the other three virtual routers (see sample `ospfd.conf` files for [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r2-ospf.conf `router-2`], [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r3-ospf.conf `router-3`], and [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r4-ospf.conf `router-4`]). 157 157 158 158 … … 282 282 A sample `vm_info.txt` is available at [http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/vm_info.txt.example SampleVMInfo] 283 283 284 * Create `ospfd.conf` by running an `awk` script, available from [http://groups.geni.net/geni/ attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/ospfd-conf-gen.awk here]284 * Create `ospfd.conf` by running an `awk` script, available from [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/ospfd-conf-gen.awk here] 285 285 {{{ 286 286 sudo /usr/bin/awk -f $ABS_PATH/ospfd-conf-gen.awk $vm_info_file "$timestamp" 24 | sudo tee $ABS_PATH/ospfd.conf > /dev/null … … 293 293 }}} 294 294 295 The complete shell script to wrap up the above procedures is available at [http://groups.geni.net/geni/ attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/start-xorp.sh StartXORP]295 The complete shell script to wrap up the above procedures is available at [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/start-xorp.sh StartXORP] 296 296 297 297