<?xml version="1.0" encoding="ISO-8859-1" ?>

<NetML xmlns="http://www.xmlnetwork.org"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.xmlnetwork.org
                                          netml.xsd">

   <Networks>
      <n id="n-A">
         <networkAddress>100.1.1.0/24</networkAddress>
         <CollisionDomains>
            <c id="A">
               <iface r_id="r_1" if="eth0"/>
            </c>
         </CollisionDomains>
      </n>
      <n id="n-C">
         <networkAddress>100.1.3.0/24</networkAddress>
         <CollisionDomains>
            <c id="C">
               <iface r_id="r_3" if="eth0"/>
            </c>
         </CollisionDomains>
      </n>
      <n id="n-G">
         <networkAddress>100.1.0.8/30</networkAddress>
         <CollisionDomains>
            <c id="G">
               <iface r_id="r_1" if="eth1"/>
               <iface r_id="r_3" if="eth1"/>
            </c>
         </CollisionDomains>
      </n>
   </Networks>

   <Routers>

      <RouterConf id="r_1" Hostname="r1">
         <Interface name="eth0">
            <ipAddress>100.1.1.1/24</ipAddress>
         </Interface>
         <Interface name="eth1">
            <ipAddress>100.1.0.9/30</ipAddress>
         </Interface>
         <Policy name="redist-conn">
            <Redistribution>
               <from_protocol>connected</from_protocol>
               <to_protocol>rip</to_protocol>
            </Redistribution>
         </Policy>
         <RipConf>
            <neighbour>
               <address>100.1.0.8/30</address>
            </neighbour>
            <policy type="export" name="redist-conn"/>
         </RipConf>
      </RouterConf>

      <RouterConf id="r_3" Hostname="r3">
         <Interface name="eth0">
            <ipAddress>100.1.3.1/24</ipAddress>
         </Interface>
         <Interface name="eth1">
            <ipAddress>100.1.0.10/30</ipAddress>
         </Interface>
         <Policy name="redist-conn">
            <Redistribution>
               <from_protocol>connected</from_protocol>
               <to_protocol>rip</to_protocol>
            </Redistribution>
         </Policy>
         <RipConf>
            <neighbour>
               <interface>eth1</interface>
            </neighbour>
            <policy type="export" name="redist-conn"/>
         </RipConf>
      </RouterConf>
   </Routers>
   


</NetML>



