[c-nsp] OSPF Route Distribution

Yuri Selivanov uri at tomsknet.ru
Thu Jul 27 23:21:34 EDT 2006


	Hi.

> both router should be :

> router ospf 100
> network 10.10.10.0 0.0.0.255 area 2

	I would use *MAY* verb here: the 'network' statement under ospf
provides a control over which interfaces will run ospf. It doesn't
deal with prefix advertisement as 'network' statement under bgp does --
these protocols have different 'network' concepts. 

	So it's possible to use:

 network 0.0.0.0 255.255.255.255 area 2 ! all ifaces will run ospf
 network 10.0.0.0 0.255.255.255 area 2  ! only 10.x.x.x ifaces 
 network 10.10.10.0 0.0.0.255 area 2    ! only 10.10.10.x ifaces 
 network 10.10.10.2 0.0.0.0 area 2      ! only iface with 10.10.10.2

> -- a.RI.r.sutan
> 
> ----- Original Message ----- 
> From: "Michael K. Smith" <mksmith at adhost.com>
> To: "John Smith" <jsmith19365 at yahoo.com>; <cisco-nsp at puck.nether.net>
> Sent: Friday, July 28, 2006 1:55 AM
> Subject: Re: [c-nsp] OSPF Route Distribution
> 
> 
> : 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
> :
> :
> : _______________________________________________
> : cisco-nsp mailing list  cisco-nsp at puck.nether.net
> : https://puck.nether.net/mailman/listinfo/cisco-nsp
> : archive at http://puck.nether.net/pipermail/cisco-nsp/
> :
> : 
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/

-- 
Best Regards,
Yuri Selivanov [URI2-RIPE]


More information about the cisco-nsp mailing list