OSPFConfig.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0"?>
  2. <OSPFASConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="OSPF.xsd">
  3. <Area id="0.0.0.1">
  4. <AddressRange address="10.10.0.0" mask="255.255.0.0" status="Advertise" />
  5. </Area>
  6. <Area id="0.0.0.2">
  7. <AddressRange address="10.20.0.0" mask="255.255.0.0" status="Advertise" />
  8. </Area>
  9. <Router name="RA1" RFC1583Compatible="true">
  10. <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" interfaceOutputCost="10" />
  11. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  12. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.168.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  13. </Router>
  14. <Router name="RA2" RFC1583Compatible="true">
  15. <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" interfaceOutputCost="10" />
  16. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  17. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.169.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  18. </Router>
  19. <Router name="A" RFC1583Compatible="true">
  20. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  21. <PointToPointInterface ifName="ppp2" areaID="0.0.0.1" interfaceOutputCost="10" />
  22. </Router>
  23. <Router name="RB1" RFC1583Compatible="true">
  24. <PointToPointInterface ifName="ppp0" areaID="0.0.0.2" interfaceOutputCost="10" />
  25. <PointToPointInterface ifName="ppp1" areaID="0.0.0.2" interfaceOutputCost="10" />
  26. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.170.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  27. </Router>
  28. <Router name="RB2" RFC1583Compatible="true">
  29. <PointToPointInterface ifName="ppp0" areaID="0.0.0.2" interfaceOutputCost="10" />
  30. <PointToPointInterface ifName="ppp1" areaID="0.0.0.2" interfaceOutputCost="10" />
  31. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.171.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  32. </Router>
  33. <Router name="B" RFC1583Compatible="true">
  34. <PointToPointInterface ifName="ppp1" areaID="0.0.0.2" interfaceOutputCost="10" />
  35. <PointToPointInterface ifName="ppp2" areaID="0.0.0.2" interfaceOutputCost="10" />
  36. </Router>
  37. </OSPFASConfig>