Changes between Version 10 and Version 11 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup
- Timestamp:
- 08/13/14 10:40:22 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup
v10 v11 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 XORPExamples]. For each VM runs as a software router, the `OSPF` configuration file is named as `ospfd.conf` and stored at `/etc/xorp/`. 93 93 94 We first configure `OSPF` on `router-1`. The configuration file can be downloaded from [ wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/r1-ospf.conf here].94 We first configure `OSPF` on `router-1`. The configuration file can be downloaded from [GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/r1-ospf.conf here]. 95 95 96 96 There are several key information we observed by manually creating the `OSPF` configuration file for `router-1`. … … 143 143 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. 144 144 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`]).145 Similarly, 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`]). 146 146 147 147 … … 263 263 /sbin/ifconfig | egrep 'eth|inet addr' | sudo tee -a vm_info.txt > /dev/null 264 264 }}} 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] 268 268 {{{ 269 269 sudo /usr/bin/awk -f $ABS_PATH/ospfd-conf-gen.awk $vm_info_file "$timestamp" 24 | sudo tee $ABS_PATH/ospfd.conf > /dev/null 270 270 }}} 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] 272 272 273 273 * Start `XORP` Process … … 276 276 }}} 277 277 278 The complete shell script to wrap up the above procedures is available at [ wiki:GENIExperimenter/Tutorials/SystematicExprCaseStudy/DesignSetup/start-xorp.sh StartXORP]278 The complete shell script to wrap up the above procedures is available at [GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopoDesignSetup/start-xorp.sh StartXORP] 279 279 280 280