OSPFConfig.xml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. <Area id="0.0.0.3">
  10. <AddressRange address="10.30.0.0" mask="255.255.0.0" status="Advertise" />
  11. </Area>
  12. <Router name="RA1" RFC1583Compatible="true">
  13. <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" interfaceOutputCost="10" />
  14. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  15. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.168.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  16. </Router>
  17. <Router name="RA2" RFC1583Compatible="true">
  18. <PointToPointInterface ifName="ppp0" areaID="0.0.0.1" interfaceOutputCost="10" />
  19. <PointToPointInterface ifName="ppp1" areaID="0.0.0.1" interfaceOutputCost="10" />
  20. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.169.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  21. </Router>
  22. <Router name="A" RFC1583Compatible="true">
  23. <PointToPointInterface ifName="ppp2" areaID="0.0.0.1" interfaceOutputCost="10" />
  24. <PointToPointInterface ifName="ppp3" areaID="0.0.0.1" interfaceOutputCost="10" />
  25. </Router>
  26. <Router name="RB1" RFC1583Compatible="true">
  27. <PointToPointInterface ifName="ppp0" areaID="0.0.0.2" interfaceOutputCost="10" />
  28. <PointToPointInterface ifName="ppp1" areaID="0.0.0.2" interfaceOutputCost="10" />
  29. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.170.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  30. </Router>
  31. <Router name="RB2" RFC1583Compatible="true">
  32. <PointToPointInterface ifName="ppp0" areaID="0.0.0.2" interfaceOutputCost="10" />
  33. <PointToPointInterface ifName="ppp1" areaID="0.0.0.2" interfaceOutputCost="10" />
  34. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.171.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  35. </Router>
  36. <Router name="B" RFC1583Compatible="true">
  37. <PointToPointInterface ifName="ppp2" areaID="0.0.0.2" interfaceOutputCost="10" />
  38. <PointToPointInterface ifName="ppp3" areaID="0.0.0.2" interfaceOutputCost="10" />
  39. </Router>
  40. <Router name="RC1" RFC1583Compatible="true">
  41. <PointToPointInterface ifName="ppp0" areaID="0.0.0.3" interfaceOutputCost="10" />
  42. <PointToPointInterface ifName="ppp1" areaID="0.0.0.3" interfaceOutputCost="10" />
  43. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.172.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  44. </Router>
  45. <Router name="RC2" RFC1583Compatible="true">
  46. <PointToPointInterface ifName="ppp0" areaID="0.0.0.3" interfaceOutputCost="10" />
  47. <PointToPointInterface ifName="ppp1" areaID="0.0.0.3" interfaceOutputCost="10" />
  48. <ExternalInterface ifName="eth0" advertisedExternalNetworkAddress="192.173.0.0" advertisedExternalNetworkMask="255.255.0.0" externalInterfaceOutputCost="10" externalInterfaceOutputType="Type2" forwardingAddress="0.0.0.0" externalRouteTag="0x00" />
  49. </Router>
  50. <Router name="C" RFC1583Compatible="true">
  51. <PointToPointInterface ifName="ppp2" areaID="0.0.0.3" interfaceOutputCost="10" />
  52. <PointToPointInterface ifName="ppp3" areaID="0.0.0.3" interfaceOutputCost="10" />
  53. </Router>
  54. </OSPFASConfig>