Guys,

I found an issue when configuring OSPF via the interface as opposed to using 
the network command.  Can someone explain why this happened and how we should 
know when to use the "interface OSPF config" vs. the "network cmd OSPF config"?
Summary: When using the interface OSPF cmd, the OE2 route did not show up on 
R5, it showed as an IA route.  When I changed my advertisting of R9's connected 
networks (netw 172.16.69.0 0.0.0.255 area 9), it showed up as an OSPF OE2 route 
on R6 and R5.

Here was the test:

//Went through the task, configured my route map, redistributing Loopback 0 
into OSPF (At this point, I am using "ip ospf 1 area 9" on S0/2/0 & lo0)
R9(config-if)#do sh run | s ospf|inter
interface Loopback0
 ip address 192.168.9.9 255.255.255.255
 ip ospf 1 area 9
interface FastEthernet0/0
 ip address 172.16.90.9 255.255.255.240
 ip ospf 1 area 9
 duplex auto
 speed auto
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
interface Serial0/2/0
 ip address 172.16.69.2 255.255.255.252
 encapsulation ppp
 ip ospf 1 area 9
 no fair-queue
 ppp authentication chap
 ppp chap password 7 030D4B0E1E1F245E5A
interface Serial0/2/1
 no ip address
 shutdown
router ospf 1
 router-id 192.168.9.9
 log-adjacency-changes
 redistribute connected subnets route-map RedistL0
 match interface Loopback0
R9(config-if)#do sh ip ospf nei
Neighbor ID     Pri   State           Dead Time   Address         Interface
192.168.6.6       0   FULL/  -        00:00:36    172.16.69.1     Serial0/2/0


R5(config-router)#do sh ip ro os
     192.168.9.0/32 is subnetted, 1 subnets
O IA    192.168.9.9 [110/66] via 172.16.200.6, 00:00:03, FastEthernet0/0        
   //shows up as an IA route
     172.16.0.0/16 is variably subnetted, 5 subnets, 5 masks
O IA    172.16.90.0/28 [110/66] via 172.16.200.6, 00:00:03, FastEthernet0/0
O IA    172.16.69.0/30 [110/65] via 172.16.200.6, 00:00:03, FastEthernet0/0
     192.168.6.0/32 is subnetted, 1 subnets
O IA    192.168.6.6 [110/2] via 172.16.200.6, 00:12:25, FastEthernet0/0
     192.168.7.0/32 is subnetted, 1 subnets
O       192.168.7.7 [110/2] via 172.16.200.7, 00:12:45, FastEthernet0/0
     192.168.2.0/32 is subnetted, 1 subnets
O IA    192.168.2.2 [110/65] via 172.16.0.2, 00:11:55, Serial0/1/0


R6(config-router)#do sh ip ro os
     192.168.9.0/32 is subnetted, 1 subnets
O       192.168.9.9 [110/65] via 172.16.69.2, 00:02:06, Serial0/2/0             
 //R6 shows it as an internal route
     172.16.0.0/16 is variably subnetted, 6 subnets, 6 masks
O       172.16.25.0/24 [110/65] via 172.16.200.5, 00:14:32, FastEthernet0/0
O       172.16.90.0/28 [110/65] via 172.16.69.2, 00:02:06, Serial0/2/0
     192.168.5.0/32 is subnetted, 1 subnets
O IA    192.168.5.5 [110/2] via 172.16.200.5, 00:14:32, FastEthernet0/0
     192.168.7.0/32 is subnetted, 1 subnets
O       192.168.7.7 [110/2] via 172.16.200.7, 00:14:32, FastEthernet0/0
     192.168.2.0/32 is subnetted, 1 subnets
O IA    192.168.2.2 [110/65] via 172.16.0.2, 00:14:02, Serial0/1/0

//Changed my config as it is presented in the DSG
R9(config-if)#int lo0
R9(config-if)#no ip ospf 1 area 9
R9(config-if)#int s0/2/0
R9(config-if)#no ip ospf 1 area 9
R9(config-if)#
*Jun 26 07:52:18.991: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.6.6 on Serial0/2/0 
from FULL to DOWN, Neighbor Down: Interface down or detached
R9(config-if)#router ospf 1
R9(config-router)#netw 172.16.69.0 0.0.0.255 area 9
*Jun 26 07:52:34.575: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.6.6 on Serial0/2/0 
from LOADING to FULL, Loading Done
R9(config-router)#netw 172.16.90.0 0.0.0.255 area 9
R9(config-router)#do sh ip ospf nei                                             
                    //Showing my adjacency after the change
Neighbor ID     Pri   State           Dead Time   Address         Interface
192.168.6.6       0   FULL/  -        00:00:33    172.16.69.1     Serial0/2/0

//Now R6 shows R9's Lo0 as an E2 route
R6(config-router)#do sh ip ro os
     192.168.9.0/32 is subnetted, 1 subnets
O E2    192.168.9.9 [110/20] via 172.16.69.2, 00:00:52, Serial0/2/0             
 //Now R6 & R5 show the route to R9's loopback as OE2 & redistributed
     172.16.0.0/16 is variably subnetted, 6 subnets, 6 masks
O       172.16.25.0/24 [110/65] via 172.16.200.5, 00:16:08, FastEthernet0/0
O       172.16.90.0/28 [110/65] via 172.16.69.2, 00:03:42, Serial0/2/0
     192.168.5.0/32 is subnetted, 1 subnets
O IA    192.168.5.5 [110/2] via 172.16.200.5, 00:16:08, FastEthernet0/0
     192.168.7.0/32 is subnetted, 1 subnets
O       192.168.7.7 [110/2] via 172.16.200.7, 00:16:08, FastEthernet0/0
     192.168.2.0/32 is subnetted, 1 subnets
O IA    192.168.2.2 [110/65] via 172.16.0.2, 00:15:38, Serial0/1/0
//Therefore, R5 shows it as an E2 route as well

R5(config-router)#do sh ip ro os
     192.168.9.0/32 is subnetted, 1 subnets
O E2    192.168.9.9 [110/20] via 172.16.200.6, 00:01:35, FastEthernet0/0     
//Now R6 & R5 show the route to R9's loopback as OE2 & redistributed
     172.16.0.0/16 is variably subnetted, 5 subnets, 5 masks
O IA    172.16.90.0/28 [110/66] via 172.16.200.6, 00:04:24, FastEthernet0/0
O IA    172.16.69.0/30 [110/65] via 172.16.200.6, 00:04:24, FastEthernet0/0
     192.168.6.0/32 is subnetted, 1 subnets
O IA    192.168.6.6 [110/2] via 172.16.200.6, 00:16:46, FastEthernet0/0
     192.168.7.0/32 is subnetted, 1 subnets
O       192.168.7.7 [110/2] via 172.16.200.7, 00:17:06, FastEthernet0/0
     192.168.2.0/32 is subnetted, 1 subnets
O IA    192.168.2.2 [110/65] via 172.16.0.2, 00:16:16, Serial0/1/0


Thank you,
Chris

[https://webmail.blackbox.com/owa/attachment.ashx?id=RgAAAABX%2bzrAOIhhTKsGfsmsKM%2fWBwB2C4ufLoSBRKYuefQ4bb5VA1mZRBowAADfnGilB%2fyFQqNTYxhm11nnACriB%2beYAAAJ&attcnt=1&attid0=EADDdQVcpz%2fuS4ZJKn0f1Fuw]<http://www.facebook.com/home.php#!/pages/Black-Box-Network-Services-Long-Island-Voice/117226961676137>
  
[https://webmail.blackbox.com/owa/attachment.ashx?id=RgAAAABX%2bzrAOIhhTKsGfsmsKM%2fWBwB2C4ufLoSBRKYuefQ4bb5VA1mZRBowAADfnGilB%2fyFQqNTYxhm11nnACriB%2beYAAAJ&attcnt=1&attid0=EAD9HumqwrBlQJ9uJ5SBtEr3]
 <http://linkd.in/gxJOgY>   
[https://webmail.blackbox.com/owa/attachment.ashx?id=RgAAAABX%2bzrAOIhhTKsGfsmsKM%2fWBwB2C4ufLoSBRKYuefQ4bb5VA1mZRBowAADfnGilB%2fyFQqNTYxhm11nnACriB%2beYAAAJ&attcnt=1&attid0=EADvORIBrgGcT5wWn7hGQlLs]
 <http://twitter.com/bbnslivoice>   
[https://webmail.blackbox.com/owa/attachment.ashx?id=RgAAAABX%2bzrAOIhhTKsGfsmsKM%2fWBwB2C4ufLoSBRKYuefQ4bb5VA1mZRBowAADfnGilB%2fyFQqNTYxhm11nnACriB%2beYAAAJ&attcnt=1&attid0=EAAXlrLorBo2SZm9%2fk1QYSJt]
 <http://blackboxnetw
 orkslivoice.wordpress.com/>
______________________________
Christopher Lemish, CCNP/ MCSE
Network Engineer
Blackbox Network Services
Long Island Voice
6000 New Horizons Boulevard
Amityville, NY 11701
Mobile: 516-790-1525
Email: [email protected]<mailto:[email protected]>
HTTP: www.blackbox.com<http://www.blackbox.com/>

________________________________
This email and any files transmitted with it are confidential and are intended 
for the sole use of the individual to whom they are addressed. Black Box 
Corporation reserves the right to scan all e-mail traffic for restricted 
content and to monitor all e-mail in general. If you are not the intended 
recipient or you have received this email in error, any use, dissemination or 
forwarding of this email is strictly prohibited. If you have received this 
email in error, please notify the sender by replying to this email.
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Reply via email to