Você está na página 1de 2

<?xml version="1.0"?

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

<Area id = 0.0.0.0>
<AddressRange address = "192.168.30.0"
mask = "255.255.255.252"
status = "Advertise" />
</Area>

<Area id = 0.0.0.0>
<AddressRange address = "192.168.30.4"
mask = "255.255.255.252"
status = "Advertise" />
</Area>

<Area id = 0.0.0.0>
<AddressRange address = "192.168.30.8"
mask = "255.255.255.252"
status = "Advertise" />
</Area>

<Router name = "R2" RFC1583Compatible = "true">

<PointToPointInterface
ifName= "eth1"
areaID= "0.0.0.0"
InterfaceOutputCost = "10"
/>

<PointToPointInterface
ifName= "eth0"
areaID= "0.0.0.0"
InterfaceOutputCost = "10"
/>

<ExternalInterface
ifName= "eth2"
advertisedExternalNetworkAddress= "10.10.30.0"
advertisedExternalNetworkMask= "255.255.255.0"
externalInterfaceOutputCost="10"
externalInterfaceOutputType="Type2"
forwardingAddress= "0.0.0.0"
externalRouteTag = "0x00"
/>

</Router>

<Router name = "R1" RFC1583Compatible = "true">

<PointToPointInterface
ifName= "eth1"
areaID= "0.0.0.0"
InterfaceOutputCost = "10"
/>

<PointToPointInterface
ifName= "eth0"
areaID= "0.0.0.0"
InterfaceOutputCost = "10"
/>

<ExternalInterface
ifName= "eth2"
advertisedExternalNetworkAddress= "172.16.30.16"
advertisedExternalNetworkMask= "255.255.255.240"
externalInterfaceOutputCost="10"
externalInterfaceOutputType="Type2"
forwardingAddress= "0.0.0.0"
externalRouteTag = "0x00"
/>

</Router>

<Router name = "R3" RFC1583Compatible = "true">

<PointToPointInterface
ifName= "eth1"
areaID= "0.0.0.0"
InterfaceOutputCost = "10"
/>

<PointToPointInterface
ifName= "eth0"
areaID= "0.0.0.0"
InterfaceOutputCost = "10"
/>

<ExternalInterface
ifName= "eth2"
advertisedExternalNetworkAddress= "172.16.30.32"
advertisedExternalNetworkMask= "255.255.255.248"
externalInterfaceOutputCost="10"
externalInterfaceOutputType="Type2"
forwardingAddress= "0.0.0.0"
externalRouteTag = "0x00"
/>

</Router>