<?xml version="1.0"?>
<OSPFASConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="OSPF.xsd">

  <!-- Areas -->
  <Area id="0.0.0.0">
    <AddressRange address="R1>switch1" mask="R1>switch1" />
  </Area>

  <Area id="0.0.0.1">
    <AddressRange address="R1>R2" mask="R1>R2" />
    
    <AddressRange address="R2>R1" mask="R2>R1" />    
    <AddressRange address="R2>R3" mask="R2>R3" />   
    <AddressRange address="R2>switch2" mask="R2>switch2" />   
  </Area>
  
  <Area id="0.0.0.2">       
    <AddressRange address="R3>switch3" mask="R3>switch3" />   
  </Area>

  <!-- Routers -->
  <Router name="R1" RFC1583Compatible="true">
    <BroadcastInterface ifName="eth0" areaID="0.0.0.0" interfaceMode="Passive" />
    <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" />
    <VirtualLink endPointRouterID="R3%routerId" transitAreaID="0.0.0.1" />
  </Router>

  <Router name="R2" RFC1583Compatible="true">
    <BroadcastInterface ifName="eth0" areaID="0.0.0.1" interfaceMode="Passive" />
    <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" />
    <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" />
  </Router>
  
  <Router name="R3" RFC1583Compatible="true">
    <BroadcastInterface ifName="eth0" areaID="0.0.0.2" interfaceMode="Passive" />
    <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" />
    <VirtualLink endPointRouterID="R1%routerId" transitAreaID="0.0.0.1" />
  </Router>

</OSPFASConfig>
