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


Ignore:
Timestamp:
05/16/16 09:45:18 (8 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v70 v71  
    9797sudo mkdir /etc/xorp
    9898cd /etc/xorp
    99 wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r1-ospf.conf
     99sudo wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r1-ospf.conf
    100100sudo mv r1-ospf.conf ospfd.conf
    101101}}}
     
    151151To 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.
    152152
    153 Now repeat download the configuration on the remaining routers and verify that the interfaces are properly mapped in the `ospfd.conf` file.
    154 
    155 Download the sample OSPF configuration to router-2:
     153Now download the configuration on the remaining routers and verify that the interfaces addresses are properly mapped in the `ospfd.conf` file.
     154
     155Download the sample OSPF configuration to router-2 and check interfaces address mappings as with router-1:
    156156{{{
    157157sudo mkdir /etc/xorp
    158158cd /etc/xorp
    159 wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r2-ospf.conf
     159sudo wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r2-ospf.conf
    160160sudo mv r2-ospf.conf ospfd.conf
    161161}}}
    162 
    163 Download the sample OSPF configuration to router-3:
     162Download the sample OSPF configuration to router-3 and check interfaces address mappings as with router-1:
    164163{{{
    165164sudo mkdir /etc/xorp
    166165cd /etc/xorp
    167 wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r3-ospf.conf
     166sudo wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r3-ospf.conf
    168167sudo mv r3-ospf.conf ospfd.conf
    169168}}}
    170169
    171 Download the sample OSPF configuration to router-4:
     170Download the sample OSPF configuration to router-4 and check interfaces address mappings as with router-1:
    172171{{{
    173172sudo mkdir /etc/xorp
    174173cd /etc/xorp
    175 wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r4-ospf.conf
     174sudo wget http://groups.geni.net/geni/raw-attachment/wiki/GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/DesignSetup/r4-ospf.conf
    176175sudo mv r4-ospf.conf ospfd.conf
    177176}}}
    178177
    179178
    180 
    181 == c. Start `XORP` and Verify the Routing ==
     179== c. Start `XORP` and Verify Routing ==
    182180
    183181=== i. Start `XORP` Process ===
    184182
    185 First, we need to add the `xorp` user group. Login to `router-1` and run the following command:
    186 
     183First, we must add the `xorp` user group. Login to each router and run the following command:
    187184{{{
    188185sudo groupadd xorp
    189186}}}
    190 
    191187Start `XORP` by specifying the routing protocol configuration file.
    192 
    193 {{{
    194 xuanliu@router-1:~$ cd /usr/local/xorp/sbin/
    195 xuanliu@router-1:/usr/local/xorp/sbin$ sudo ./xorp_rtrmgr -b /etc/xorp/ospfd.conf -l /tmp/xorp_rtrmgr_log -d
     188{{{
     189lnevers@router-1:/etc/xorp$ cd /usr/local/xorp/sbin/
     190lnevers@router-1:/usr/local/xorp/sbin$ sudo ./xorp_rtrmgr -b /etc/xorp/ospfd.conf -l /tmp/xorp_rtrmgr_log -d
     191Not doing pidfile...
     192lnevers@router-1:/usr/local/xorp/sbin$
    196193}}}
    197194
    198195Verify the `XORP` process is running
    199 {{{
    200 xuanliu@router-1:/usr/local/xorp/sbin$ ps -ef | grep xorp
    201 root      1972     1  0 13:30 ?        00:00:02 xorp_fea
    202 root      1973     1  0 13:30 ?        00:00:00 xorp_rib
    203 root      1974     1  0 13:30 ?        00:00:00 xorp_policy
    204 root      1975     1  0 13:30 ?        00:00:01 xorp_ospfv2
    205 root      1976     1  0 13:30 ?        00:00:00 ./xorp_rtrmgr -b /etc/xorp/ospfd.conf -l /tmp/xorp_rtrmgr_log -d
    206 }}}
    207 
    208 
    209 Then Start `XORP` for `router-2`, `router-3` and `router-4` in the same way.
    210 
    211 If you need to stop `XORP` for some reason, there is no one-key method to stop `XORP` process, so we have to kill every `XORP`-related process. We can use the command like the one below to kill all `XORP` process at one time.
     196lnevers@router-1:/usr/local/xorp/sbin$ ps -ef | grep xorp
     197root      9658     1  0 06:06 pts/0    00:00:00 xorp_fea
     198root      9659     1  0 06:06 pts/0    00:00:00 xorp_rib
     199root      9660     1  0 06:06 pts/0    00:00:00 xorp_policy
     200root      9661     1  0 06:06 pts/0    00:00:00 xorp_ospfv2
     201root      9662     1  0 06:06 ?        00:00:00 ./xorp_rtrmgr -b /etc/xorp/ospfd.conf -l /tmp/xorp_rtrmgr_log -d
     202lnevers@router-1:/usr/local/xorp/sbin$
     203}}}
     204
     205Now you have routing running on all four router!
     206
     207NOTE:  If you need to stop `XORP`, use the kill command as shown below to stop each the 5 xorp processes:
    212208
    213209{{{