[c-nsp] OSPF Route Distribution
Michael K. Smith
mksmith at adhost.com
Thu Jul 27 14:55:32 EDT 2006
Hello:
On 7/27/06 11:43 AM, "John Smith" <jsmith19365 at yahoo.com> wrote:
> Greetings,
>
> I have a question on OSPF. I have the following setup.
>
> ======================================
> RouterA
> !
> interface Loopback0
> ip address 192.168.1.1 255.255.255.255
> !
> interface FastEthernet0/0
> ip address 10.10.10.2 255.255.255.0
> ip ospf cost 100
> speed 100
> full-duplex
> !
> router ospf 100
> network 10.10.10.2 0.0.0.0 area 2
> network 192.168.1.1 0.0.0.0 area 2
> !
> ======================================
> RouterB
> !
> interface Loopback0
> ip address 192.168.1.2 255.255.255.255
> !
> interface FastEthernet0/0
> ip address 10.10.10.3 255.255.255.0
> ip ospf cost 100
> speed 100
> full-duplex
> !
> router ospf 100
> network 10.10.10.3 0.0.0.0 area 2
> network 192.168.1.2 0.0.0.0 area 2
> !
> ======================================
>
> Question - Do I have to add the following network statement to OSPF config
> to distribute 10.10.10.0/24?
>
> network 10.10.10.0 0.255.255.255 area 2
>
> Or can I just get away with the above config?
I think you will need to add:
router ospf 100
redistribute connected-subnets
to your OSPF router config and
loopback0
ip ospf network point-to-point
Mike
More information about the cisco-nsp
mailing list