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 stored in `/etc/xorp/`. |
94 | | |
95 | | 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. |
96 | | 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`. |
97 | | |
98 | | To do that create the `/etc/xorp` directory: |
| 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: |
155 | | |
156 | | 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. |
157 | | |
158 | | Similarly, create `ospfd.conf` under `/etc/xorp/` for 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`]). |
| 153 | To 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. |
| 154 | |
| 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`]). |