Difference between revisions of "Example-RedIris"

From VNUML-WIKI
Jump to: navigation, search
m (Scenario)
(configure redirector to 1.8)
 
Line 1: Line 1:
{{Title|RedIRIS Network}}
+
#REDIRECT [[Example-RedIris 1.8]]
 
 
<big>
 
Authors:
 
'''Fermín Galán (galan at dit.upm.es)'''
 
'''version 1.8, July 1st, 2008'''
 
</big>
 
 
 
__TOC__
 
 
 
 
 
== Scenario ==
 
 
 
RedIRIS is the Spanish National Research and Education Network (NREN) which interconnects universities, R&D centers and other institutions among them and with the Internet. The topology (described in the [http://www.rediris.es/red/index.en.html RedIRIS site] and also shown in the figure below) is composed of 19 network nodes connected through 31 point-to-point links (each one a /30 network).
 
 
 
<center>
 
[[Image:Rediris.jpg|RedIRIS topology]]<br />
 
'''Figure 1: RedIRIS topology'''
 
</center>
 
 
 
A VNUML scenario implementing the RedIRIS topology is shown in this example. However, note that given that the scenario does not include routing configuration (by the moment), neither static nor dynamic, only directly connected nodes are reachable each other. However, it could be possible to run some dynamic routing process (eg., OSFP) in the nodes in order to get global connectivity.
 
 
 
'''Thing to do'''. If you want to help us to improve this example (please, [mailto:vnuml-at-dit.upm.es tell us about] :), the following enhancements could be done:
 
 
 
* A IPv6 version of the scenario (using the [[Reference#<ipv6>|<ipv6>]] tags)
 
* To implement OSPF-based routing to get global connectivity (consider, for  example, to adapt the [[Example-OSPF|OSFP example]] to the RedIRIS scenario)
 
* Using the type="ppp" ([[Reference#<net>|<net>]] attribute) and [[Reference#<bw>|<bw>]] to configure relative bandwidth as described in the [http://www.rediris.es/red/index.en.html RedIRIS site] (e.g, IX-CAT bandwidth four times the one in AND-VAL).
 
 
 
== VNUML Description ==
 
 
 
<br/>
 
 
 
Set the FPX entity to the proper prefix IP value for your environment (e.g., "10.10", "10.0", "192.168.", etc.)
 
 
 
<pre>
 
<?xml version="1.0" encoding="UTF-8"?>
 
<!DOCTYPE vnuml SYSTEM "/usr/share/xml/vnuml/vnuml.dtd"
 
[
 
  <!ENTITY PFX "10.10">
 
]>
 
 
 
<vnuml>
 
  <global>
 
  <version>1.8</version>
 
  <simulation_name>rediris</simulation_name>
 
  <automac/>
 
  <vm_mgmt type="none" />
 
  <vm_defaults exec_mode="mconsole">
 
      <kernel>/usr/share/vnuml/kernels/linux</kernel>
 
      <console id="0">pts</console>
 
  </vm_defaults>
 
  </global>
 
 
 
  <net name="ast-gal" mode="uml_switch" />
 
  <net name="ast-can" mode="uml_switch" />
 
  <net name="can-pvc" mode="uml_switch" />
 
  <net name="gal-pvc" mode="uml_switch" />
 
  <net name="ix-pvc"  mode="uml_switch" />
 
  <net name="nav-pvc" mode="uml_switch" />
 
  <net name="ara-nav" mode="uml_switch" />
 
  <net name="cyl-gal" mode="uml_switch" />
 
  <net name="gal-ix"  mode="uml_switch" />
 
  <net name="cyl-rio" mode="uml_switch" />
 
  <net name="cyl-ix"  mode="uml_switch" />
 
  <net name="ara-rio" mode="uml_switch" />
 
  <net name="ara-cat" mode="uml_switch" />
 
  <net name="ara-ix"  mode="uml_switch" />
 
  <net name="ix-mad"  mode="uml_switch" />
 
  <net name="cat-ix"  mode="uml_switch" />
 
  <net name="ix-val"  mode="uml_switch" />
 
  <net name="clm-ix"  mode="uml_switch" />
 
  <net name="and-ix"  mode="uml_switch" />
 
  <net name="ext-ix"  mode="uml_switch" />
 
  <net name="ix-tef"  mode="uml_switch" />
 
  <net name="cat-val" mode="uml_switch" />
 
  <net name="bal-cat" mode="uml_switch" />
 
  <net name="bal-val" mode="uml_switch" />
 
  <net name="and-clm" mode="uml_switch" />
 
  <net name="mur-val" mode="uml_switch" />
 
  <net name="and-val" mode="uml_switch" />
 
  <net name="and-ext" mode="uml_switch" />
 
  <net name="and-pal" mode="uml_switch" />
 
  <net name="and-mur" mode="uml_switch" />
 
  <net name="pal-tef" mode="uml_switch" />
 
 
 
  <vm name="AST">
 
      <if id="1" net="ast-gal">
 
        <ipv4>&PFX;.0.1/30</ipv4>
 
      </if>
 
      <if id="2" net="ast-can">
 
        <ipv4>&PFX;.0.5/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="CAN">
 
      <if id="1" net="ast-can">
 
        <ipv4>&PFX;.0.6/30</ipv4>
 
      </if>
 
      <if id="2" net="can-pvc">
 
        <ipv4>&PFX;.0.9/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="PVC">
 
      <if id="1" net="can-pvc">
 
        <ipv4>&PFX;.0.10/30</ipv4>
 
      </if>
 
      <if id="2" net="gal-pvc">
 
        <ipv4>&PFX;.0.13/30</ipv4>
 
      </if>
 
      <if id="3" net="ix-pvc">
 
        <ipv4>&PFX;.0.17/30</ipv4>
 
      </if>
 
      <if id="4" net="nav-pvc">
 
        <ipv4>&PFX;.0.21/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="NAV">
 
      <if id="1" net="nav-pvc">
 
        <ipv4>&PFX;.0.22/30</ipv4>
 
      </if>
 
      <if id="2" net="ara-nav">
 
        <ipv4>&PFX;.0.25/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="GAL">
 
      <if id="1" net="ast-gal">
 
        <ipv4>&PFX;.0.2/30</ipv4>
 
      </if>
 
      <if id="2" net="gal-pvc">
 
        <ipv4>&PFX;.0.14/30</ipv4>
 
      </if>
 
      <if id="3" net="cyl-gal">
 
        <ipv4>&PFX;.0.29/30</ipv4>
 
      </if>
 
      <if id="4" net="gal-ix">
 
        <ipv4>&PFX;.0.33/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="CYL">
 
      <if id="1" net="cyl-gal">
 
        <ipv4>&PFX;.0.30/30</ipv4>
 
      </if>
 
      <if id="2" net="cyl-rio">
 
        <ipv4>&PFX;.0.37/30</ipv4>
 
      </if>
 
      <if id="3" net="cyl-ix">
 
        <ipv4>&PFX;.0.41/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="RIO">
 
      <if id="1" net="ara-rio">
 
        <ipv4>&PFX;.0.45/30</ipv4>
 
      </if>
 
      <if id="2" net="cyl-rio">
 
        <ipv4>&PFX;.0.38/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="ARA">
 
      <if id="1" net="ara-nav">
 
        <ipv4>&PFX;.0.26/30</ipv4>
 
      </if>
 
      <if id="2" net="ara-rio">
 
        <ipv4>&PFX;.0.46/30</ipv4>
 
      </if>
 
      <if id="3" net="ara-cat">
 
        <ipv4>&PFX;.0.49/30</ipv4>
 
      </if>
 
      <if id="4" net="ara-ix">
 
        <ipv4>&PFX;.0.53/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="MAD">
 
      <if id="1" net="ix-mad">
 
        <ipv4>&PFX;.0.57/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="IX">
 
      <if id="1" net="ix-mad">
 
        <ipv4>&PFX;.0.58/30</ipv4>
 
      </if>
 
      <if id="2" net="gal-ix">
 
        <ipv4>&PFX;.0.34/30</ipv4>
 
      </if>
 
      <if id="3" net="cyl-ix">
 
        <ipv4>&PFX;.0.42/30</ipv4>
 
      </if>
 
      <if id="4" net="ix-pvc">
 
        <ipv4>&PFX;.0.18/30</ipv4>
 
      </if>
 
      <if id="5" net="ara-ix">
 
        <ipv4>&PFX;.0.54/30</ipv4>
 
      </if>
 
      <if id="6" net="cat-ix">
 
        <ipv4>&PFX;.0.61/30</ipv4>
 
      </if>
 
      <if id="7" net="ix-val">
 
        <ipv4>&PFX;.0.65/30</ipv4>
 
      </if>
 
      <if id="8" net="clm-ix">
 
        <ipv4>&PFX;.0.69/30</ipv4>
 
      </if>
 
      <if id="9" net="and-ix">
 
        <ipv4>&PFX;.0.73/30</ipv4>
 
      </if>
 
      <if id="10" net="ext-ix">
 
        <ipv4>&PFX;.0.77/30</ipv4>
 
      </if>
 
      <if id="11" net="ix-tef">
 
        <ipv4>&PFX;.0.81/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="CAT">
 
      <if id="1" net="ara-cat">
 
        <ipv4>&PFX;.0.50/30</ipv4>
 
      </if>
 
      <if id="2" net="cat-val">
 
        <ipv4>&PFX;.0.85/30</ipv4>
 
      </if>
 
      <if id="3" net="cat-ix">
 
        <ipv4>&PFX;.0.62/30</ipv4>
 
      </if>
 
      <if id="4" net="bal-cat">
 
        <ipv4>&PFX;.0.89/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="CLM">
 
      <if id="1" net="clm-ix">
 
        <ipv4>&PFX;.0.70/30</ipv4>
 
      </if>
 
      <if id="2" net="and-clm">
 
        <ipv4>&PFX;.0.93/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="VAL">
 
      <if id="1" net="ix-val">
 
        <ipv4>&PFX;.0.66/30</ipv4>
 
      </if>
 
      <if id="2" net="cat-val">
 
        <ipv4>&PFX;.0.86/30</ipv4>
 
      </if>
 
      <if id="3" net="bal-val">
 
        <ipv4>&PFX;.0.97/30</ipv4>
 
      </if>
 
      <if id="4" net="mur-val">
 
        <ipv4>&PFX;.0.101/30</ipv4>
 
      </if>
 
      <if id="5" net="and-val">
 
        <ipv4>&PFX;.0.105/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="EXT">
 
      <if id="1" net="ext-ix">
 
        <ipv4>&PFX;.0.78/30</ipv4>
 
      </if>
 
      <if id="2" net="and-ext">
 
        <ipv4>&PFX;.0.109/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="BAL">
 
      <if id="1" net="bal-cat">
 
        <ipv4>&PFX;.0.90/30</ipv4>
 
      </if>
 
      <if id="2" net="bal-val">
 
        <ipv4>&PFX;.0.98/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="AND">
 
      <if id="1" net="and-pal">
 
        <ipv4>&PFX;.0.113/30</ipv4>
 
      </if>
 
      <if id="2" net="and-ext">
 
        <ipv4>&PFX;.0.110/30</ipv4>
 
      </if>
 
      <if id="3" net="and-mur">
 
        <ipv4>&PFX;.0.117/30</ipv4>
 
      </if>
 
      <if id="4" net="and-ix">
 
        <ipv4>&PFX;.0.74/30</ipv4>
 
      </if>
 
      <if id="5" net="and-clm">
 
        <ipv4>&PFX;.0.94/30</ipv4>
 
      </if>
 
      <if id="6" net="and-val">
 
        <ipv4>&PFX;.0.106/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="MUR">
 
      <if id="1" net="and-mur">
 
        <ipv4>&PFX;.0.118/30</ipv4>
 
      </if>
 
      <if id="2" net="mur-val">
 
        <ipv4>&PFX;.0.102/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="TEF">
 
      <if id="1" net="ix-tef">
 
        <ipv4>&PFX;.0.82/30</ipv4>
 
      </if>
 
      <if id="2" net="pal-tef">
 
        <ipv4>&PFX;.0.121/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
  <vm name="PAL">
 
      <if id="1" net="and-pal">
 
        <ipv4>&PFX;.0.114/30</ipv4>
 
      </if>
 
      <if id="2" net="pal-tef">
 
        <ipv4>&PFX;.0.122/30</ipv4>
 
      </if>
 
  </vm>
 
 
 
</vnuml>
 
</pre>
 
 
 
== Download ==
 
 
 
* VNUML specification file: [http://jungla.dit.upm.es/~vnuml/doc/examples/rediris/rediris.xml Rediris.xml]
 

Latest revision as of 21:06, 30 January 2009