OSPF Network Statement

From: Marcelo Rosa <MRosa_at_multirede.com.br>
Date: Wed, 28 Jul 2010 13:05:11 -0300

Hi people.

There4s a question in my lab t elling me to insert interface E0/1 in the OSPF
process, without using the "network" command under the ospf process.

My solution was this:

interface Ethernet0/1
 ip address 183.10.6.6 255.255.255.0
 ip ospf 1 area 46
 full-duplex
!
router ospf 1
 router-id 150.10.6.6
 log-adjacency-changes
 network 150.10.6.6 0.0.0.0 area 46
 network 183.10.46.6 0.0.0.0 area 46

The lab guide solution was a lot more complicated:

router ospf 1
router-id 150.1.6.6
network 150.1.6.6 0.0.0.0 area 46
network 183.1.46.6 0.0.0.0 area 46
redistribute connected route-map CONNECTED->OSPF subnets
!
ip prefix-list VLAN_6 permit 183.1.6.0/24
!
route-map CONNECTED->OSPF permit 10
match ip address prefix-list VLAN_6

So, my question is: Am I crazy? Isn4t my solution a clearly simpler and more
performing solution, without the need for a route-map? Or maybe there4s a
difference in the be haviour of the two solutions?

Thks in advance.

Blogs and organic groups at http://www.ccie.net
Received on Wed Jul 28 2010 - 13:05:11 ART

This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 19:19:15 ART