Example-NSF-14 1.8

From VNUML-WIKI
Jump to: navigation, search

NSF Network with 14 nodes

Authors:
Fermín Galán (galan at dit.upm.es)
version 1.8, July 1st, 2008


Scenario

NFS (National Science Foundation) is the US Research and Education Network (NREN). Although there are several incarnations of the NFS net, here we consider the one described in the |following document (also shown in the figure below) is composed of 14 network nodes connected through 21 point-to-point links (each one a /30 network).

NSFNet topology (with 14 nodes)
Figure 1: NSFNet topology (with 14 nodes)

A VNUML scenario implementing the NSF 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, tell us about :), the following enhancements could be done:

  • A IPv6 version of the scenario (using the <ipv6> tags)
  • To implement OSPF-based routing to get global connectivity (consider, for example, to adapt the OSFP example to the NSF scenario)

VNUML Description


Set the FPX entity to the proper prefix IP value for your environment (e.g., "10.10", "10.0", "192.168.", etc.)

<?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>nsf-14</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="ca1-wa" mode="uml_switch" />
   <net name="ca2-wa" mode="uml_switch" />
   <net name="il-wa" mode="uml_switch" />
   <net name="ca1-ca2" mode="uml_switch" />
   <net name="ca1-ut" mode="uml_switch" />
   <net name="ca2-tx" mode="uml_switch" />
   <net name="mi-ut" mode="uml_switch" />
   <net name="co-ut" mode="uml_switch" />
   <net name="co-ne" mode="uml_switch" />
   <net name="co-tx" mode="uml_switch" />
   <net name="il-ne" mode="uml_switch" />
   <net name="il-pa" mode="uml_switch" />
   <net name="mi-nj" mode="uml_switch" />
   <net name="mi-ny" mode="uml_switch" />
   <net name="ga-pa" mode="uml_switch" />
   <net name="ny-pa" mode="uml_switch" />
   <net name="nj-pa" mode="uml_switch" />
   <net name="dc-ny" mode="uml_switch" />
   <net name="dc-nj" mode="uml_switch" />
   <net name="dc-tx" mode="uml_switch" />
   <net name="ga-tx" mode="uml_switch" />

   <vm name="WA">
      <if id="1" net="ca1-wa">
         <ipv4>&PFX;.0.1/30</ipv4>
      </if>
      <if id="2" net="ca2-wa">
         <ipv4>&PFX;.0.5/30</ipv4>
      </if>
      <if id="3" net="il-wa">
         <ipv4>&PFX;.0.9/30</ipv4>
      </if>
   </vm>

   <vm name="CA1">
      <if id="1" net="ca1-ca2">
         <ipv4>&PFX;.0.13/30</ipv4>
      </if>
      <if id="2" net="ca1-ut">
         <ipv4>&PFX;.0.17/30</ipv4>
      </if>
      <if id="3" net="ca1-wa">
         <ipv4>&PFX;.0.2/30</ipv4>
      </if>

   </vm>
  
   <vm name="CA2">
      <if id="1" net="ca1-ca2">
         <ipv4>&PFX;.0.14/30</ipv4>
      </if>
      <if id="2" net="ca2-wa">
         <ipv4>&PFX;.0.6/30</ipv4>
      </if>
      <if id="3" net="ca2-tx">
         <ipv4>&PFX;.0.21/30</ipv4>
      </if>
   </vm>

   <vm name="UT">
      <if id="1" net="ca1-ut">
         <ipv4>&PFX;.0.18/30</ipv4>
      </if>
      <if id="2" net="mi-ut">
         <ipv4>&PFX;.0.25/30</ipv4>
      </if>
      <if id="3" net="co-ut">
         <ipv4>&PFX;.0.29/30</ipv4>
      </if>
   </vm>
        
   <vm name="CO">
      <if id="1" net="co-ut">
         <ipv4>&PFX;.0.30/30</ipv4>
      </if>
      <if id="2" net="co-ne">
         <ipv4>&PFX;.0.33/30</ipv4>
      </if>
      <if id="3" net="co-tx">
         <ipv4>&PFX;.0.37/30</ipv4>
      </if>
   </vm>

   <vm name="NE">
      <if id="1" net="co-ne">
         <ipv4>&PFX;.0.34/30</ipv4>
      </if>
      <if id="2" net="il-ne">
         <ipv4>&PFX;.0.41/30</ipv4>
      </if>
   </vm>
  
   <vm name="IL">
      <if id="1" net="il-ne">
         <ipv4>&PFX;.0.42/30</ipv4>
      </if>
      <if id="2" net="il-wa">
         <ipv4>&PFX;.0.10/30</ipv4>
      </if>
      <if id="3" net="il-pa">
         <ipv4>&PFX;.0.45/30</ipv4>
      </if>
   </vm>

   <vm name="MI">
      <if id="1" net="mi-ut">
         <ipv4>&PFX;.0.26/30</ipv4>
      </if>
      <if id="2" net="mi-nj">
         <ipv4>&PFX;.0.49/30</ipv4>
      </if>
      <if id="3" net="mi-ny">
         <ipv4>&PFX;.0.53/30</ipv4>
      </if>
   </vm>

   <vm name="PA">
      <if id="1" net="il-pa">
         <ipv4>&PFX;.0.46/30</ipv4>
      </if>
      <if id="2" net="ga-pa">
         <ipv4>&PFX;.0.57/30</ipv4>
      </if>
      <if id="3" net="ny-pa">
         <ipv4>&PFX;.0.61/30</ipv4>
      </if>
      <if id="4" net="nj-pa">
         <ipv4>&PFX;.0.65/30</ipv4>
      </if>
   </vm>

   <vm name="NY">
      <if id="1" net="mi-ny">
         <ipv4>&PFX;.0.54/30</ipv4>
      </if>
      <if id="2" net="ny-pa">
         <ipv4>&PFX;.0.62/30</ipv4>
      </if>
      <if id="3" net="dc-ny">
         <ipv4>&PFX;.0.69/30</ipv4>
      </if>
   </vm>
  
   <vm name="NJ">
      <if id="1" net="mi-nj">
         <ipv4>&PFX;.0.50/30</ipv4>
      </if>
      <if id="2" net="nj-pa">
         <ipv4>&PFX;.0.66/30</ipv4>
      </if>
      <if id="3" net="dc-nj">
         <ipv4>&PFX;.0.73/30</ipv4>
      </if>
   </vm>

   <vm name="DC">
      <if id="1" net="dc-tx">
         <ipv4>&PFX;.0.77/30</ipv4>
      </if>
      <if id="2" net="dc-ny">
         <ipv4>&PFX;.0.70/30</ipv4>
      </if>
      <if id="3" net="dc-nj">
         <ipv4>&PFX;.0.74/30</ipv4>
      </if>
   </vm>
        
   <vm name="GA">
      <if id="1" net="ga-pa">
         <ipv4>&PFX;.0.58/30</ipv4>
      </if>
      <if id="2" net="ga-tx">
         <ipv4>&PFX;.0.81/30</ipv4>
      </if>
   </vm>

   <vm name="TX">
      <if id="1" net="ca2-tx">
         <ipv4>&PFX;.0.22/30</ipv4>
      </if>
      <if id="2" net="co-tx">
         <ipv4>&PFX;.0.38/30</ipv4>
      </if>
      <if id="3" net="dc-tx">
         <ipv4>&PFX;.0.78/30</ipv4>
      </if>
      <if id="4" net="ga-tx">
         <ipv4>&PFX;.0.82/30</ipv4>
      </if>
   </vm>
 
</vnuml>

Download