Changes between Version 69 and Version 70 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup


Ignore:
Timestamp:
05/16/16 08:50:19 (8 years ago)
Author:
lnevers@bbn.com
Comment:

Legend:

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

    v69 v70  
    9191== b. Manually Configure OSPF for XORP ==
    9292
    93 In this tutorial we configure each VM as a virtual router running the `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 is stored in `/etc/xorp/`.
    94 
    95 First, configure `OSPF` on `router-1`. A sample configuration file  can be downloaded for [http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r1-ospf.conf router-1]. Create the `/etc/xorp` directory:
     93In this tutorial we configure each VM as a virtual router running the `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 is stored in `/etc/xorp/`. We provide sample `OSPF` configuration file that can be downloaded to each router.
     94
     95Download the sample OSPF configuration to router-1:
    9696{{{
    9797sudo mkdir /etc/xorp
    98 }}}
    99 
    100 Then create the `router-1` file ospf configuration file, which you may cut-n-paste or secure copy to its destination:
    101 {{{
    102 sudo vi /etc/xorp/ospfd.conf
    103 }}} 
    104 
    105 You may find the interface information in the sample files may be different from the routers interfaces.  It's highly recommended that you check whether you have the interface information properly mapped in the `ospfd.conf` on each router before you start `xorp`.   
    106 
    107 There are several key configuration itemsin the `OSPF` configuration file for `router-1`.
     98cd /etc/xorp
     99wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r1-ospf.conf
     100sudo mv r1-ospf.conf ospfd.conf
     101}}}
     102
     103The interface information in the sample files may be different from the routers interfaces, you must check that the interface information is properly mapped in the `ospfd.conf` on each router before you start `xorp`.   
     104
     105There are several key configuration items in the `OSPF` configuration file for `router-1`.
    108106
    109107__Interface Information:__
     
    153151To simplify the configuration process, we assume the `interface-cost` and the `hello-interval` are both set to 10 seconds for every virtual interface. The main information needed 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.
    154152
    155 Similarly, repeat the configuration steps about for each of the other three virtual routers. 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`]).
     153Now repeat download the configuration on the remaining routers and verify that the interfaces are properly mapped in the `ospfd.conf` file.
     154
     155Download the sample OSPF configuration to router-2:
     156{{{
     157sudo mkdir /etc/xorp
     158cd /etc/xorp
     159wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r2-ospf.conf
     160sudo mv r2-ospf.conf ospfd.conf
     161}}}
     162
     163Download the sample OSPF configuration to router-3:
     164{{{
     165sudo mkdir /etc/xorp
     166cd /etc/xorp
     167wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r3-ospf.conf
     168sudo mv r3-ospf.conf ospfd.conf
     169}}}
     170
     171Download the sample OSPF configuration to router-4:
     172{{{
     173sudo mkdir /etc/xorp
     174cd /etc/xorp
     175wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r4-ospf.conf
     176sudo mv r4-ospf.conf ospfd.conf
     177}}}
     178
    156179
    157180