<?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>195.14.10.0/24</networkAddress>
         <CollisionDomains>
            <c id="A">
               <iface r_id="r_1" if="eth0"/>
            </c>
         </CollisionDomains>
      </n>
      <n id="n-B">
         <networkAddress>193.10.11.0/30</networkAddress>
         <CollisionDomains>
            <c id="B">
               <iface r_id="r_1" if="eth1"/>
               <iface r_id="r_2" if="eth1"/>
            </c>
         </CollisionDomains>
      </n>
      <n id="n-C">
         <networkAddress>200.1.1.0/24</networkAddress>
         <CollisionDomains>
            <c id="C">
               <iface r_id="r_2" if="eth0"/>
            </c>
         </CollisionDomains>
      </n>
   </Networks>

   <Routers>

      <RouterConf id="r_1" Hostname="r1">
         <Interface name="eth0">
            <ipAddress>195.14.10.1/24</ipAddress>
         </Interface>
         <Interface name="eth1">
            <ipAddress>193.10.11.1/30</ipAddress>
         </Interface>
         <BGPConf as="1">
            <StaticRoutes>
               <s address="195.14.10.0/24"/>
            </StaticRoutes>
            <PeerGroup name="EBGP">
               <Neighbor address="193.10.11.2">
                  <Description>Peering with router2</Description>
                  <Peer-AS name="2"/>
               </Neighbor>
            </PeerGroup>
         </BGPConf>
      </RouterConf>

      <RouterConf id="r_2" Hostname="r2">
         <Interface name="eth0">
            <ipAddress>200.1.1.1/24</ipAddress>
         </Interface>
         <Interface name="eth1">
            <ipAddress>193.10.11.2/30</ipAddress>
         </Interface>
         <BGPConf as="2">
            <StaticRoutes>
               <s address="200.1.1.0/24"/>
            </StaticRoutes>
            <!-- <Policy type="export">redistConn</Policy> -->
            <PeerGroup name="EBGP">
               <Neighbor address="193.10.11.1">
                  <Description>Peering with router1</Description>
                  <Peer-AS name="1"/>
               </Neighbor>
            </PeerGroup>
         </BGPConf>
      </RouterConf>
   </Routers>

</NetML>



