From: Peter van Oene (pvo@xxxxxxxxxxxx)
Date: Sun Jul 14 2002 - 14:26:16 GMT-3
This config seems pretty wacky to me. However, consider that only active
routes are redistributed. In this case, all the interface routes on B
would be direct routes (ie connected) and would not be posted as OSPF
routes and thus not redistributed by your redistribution command.
At 12:37 AM 7/15/2002 +1000, Hunt Lee wrote:
>150.150.150.0/24---RTA ---RTB ---RTD---RTF
> | |
> RTC RTE
>
>RTA - RTB : OSPF Process 3, OSPF Area 3
>RTB - RTC : OSPF Process 1, OSPF Area 1
>RTB - RTD : OSPF Process 5, OSPF Area 0
>RTD - RTE : OSPF Process 2, OSPF Area 2
>
>
>RTB's interface: - 172.16.0.17 (connecting to RTD)
>RTD's interface: - 172.16.0.18 (connecting back to RTB)
>
>My question is this:
>
>I have an OSPF neighbor relationship between RTB to all three RTA,
>RTC, & RTD, and RTD also has an OSPF neighbor relationship with RTE.
>But on RTE, I just can't see the interfaces between RTB & RTD
>(172.16.0.17 & 172.16.0.18) via OSPF.
>
>RouterE>sh ip route
>Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
>BGP
> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
>
> E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
> i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * -
>candidate default
>
>Gateway of last resort is not set
>
> 150.150.0.0 255.255.255.0 is subnetted, 1 subnets
>O E2 150.150.150.0 [110/11] via 172.16.0.14, 00:17:22, Serial0
> 172.16.0.0 255.255.255.252 is subnetted, 2 subnets
>C 172.16.0.12 is directly connected, Serial0
>O E2 172.16.0.0 [110/64] via 172.16.0.14, 00:17:31, Serial0
> 193.16.0.0 255.255.255.252 is subnetted, 2 subnets
>O E2 193.16.0.0 [110/10] via 172.16.0.14, 00:17:31, Serial0
>O E2 193.16.0.8 [110/20] via 172.16.0.14, 00:17:58, Serial0
>RouterE>
>
>
>RouterE>sh ip ospf database
>
> OSPF Router with ID (172.16.0.13) (Process ID 2)
>
>
> Router Link States (Area 2)
>
>Link ID ADV Router Age Seq# Checksum Link count
>172.16.0.13 172.16.0.13 1120 0x80000006 0xD2FA 2
>172.16.0.18 172.16.0.18 1121 0x80000002 0x8A1F 2
>
> AS External Link States
>
>Link ID ADV Router Age Seq# Checksum Tag
>150.150.150.0 172.16.0.18 1076 0x80000001 0x61B5 0
>172.16.0.0 172.16.0.18 1084 0x80000001 0xBE0 0
>193.16.0.0 172.16.0.18 1084 0x80000001 0xDA32 0
>193.16.0.8 172.16.0.18 1140 0x80000001 0xEE0C 0
>RouterE>
>
>
>But the config seems fine to me on RTB & RTD:-
>
>At RTB:-
>
>router ospf 5
> log-adjacency-changes
> redistribute ospf 1 subnets
> redistribute ospf 3 subnets
> network 172.16.0.16 0.0.0.3 area 0
>
>
>RouterB#sh ip ospf n
>
>Neighbor ID Pri State Dead Time Address Interface
>150.150.150.1 1 FULL/DR 00:00:36 193.16.0.2 Ethernet0
>172.16.0.2 1 FULL/ - 00:00:31 172.16.0.2 Serial0
>193.16.0.9 1 FULL/ - 00:00:31 172.16.0.18 Serial1
>
>RouterB#sh ip route
>Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
>BGP
> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
>
> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
> i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS
>inter area
> * - candidate default, U - per-user static route, o - ODR
> P - periodic downloaded static route
>
>Gateway of last resort is not set
>
> 172.16.0.0/30 is subnetted, 3 subnets
>C 172.16.0.16 is directly connected, Serial1
>O E2 172.16.0.12 [110/64] via 172.16.0.18, 00:19:57, Serial1
>C 172.16.0.0 is directly connected, Serial0
> 193.16.0.0/30 is subnetted, 2 subnets
>C 193.16.0.0 is directly connected, Ethernet0
>B 193.16.0.8 [200/0] via 172.16.0.18, 00:19:47
> 150.150.0.0/24 is subnetted, 1 subnets
>O 150.150.150.0 [110/11] via 193.16.0.2, 00:19:57, Ethernet0
>RouterB#
>
>
>At RTD:-
>
>router ospf 5
> redistribute ospf 2 subnets
> network 172.16.0.16 0.0.0.3 area 0
>
>RouterD#sh ip ospf n
>
>Neighbor ID Pri State Dead Time Address Interface
>172.16.0.13 1 FULL/ - 00:00:34 172.16.0.13 Serial0
>193.16.0.1 1 FULL/ - 00:00:37 172.16.0.17 Serial1
>
>RouterD#sh ip route
>Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
>BGP
> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
>
> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
> i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * -
>candidate default
> U - per-user static route, o - ODR
>
>Gateway of last resort is not set
>
> 172.16.0.0/30 is subnetted, 3 subnets
>C 172.16.0.16 is directly connected, Serial1
>C 172.16.0.12 is directly connected, Serial0
>O E2 172.16.0.0 [110/64] via 172.16.0.17, 00:21:57, Serial1
> 193.16.0.0/30 is subnetted, 2 subnets
>O E2 193.16.0.0 [110/10] via 172.16.0.17, 00:21:57, Serial1
>C 193.16.0.8 is directly connected, Ethernet0
> 150.150.0.0/24 is subnetted, 1 subnets
>O E2 150.150.150.0 [110/11] via 172.16.0.17, 00:21:49, Serial1
>RouterD#
>
>
>
>I thought by using "network 172.16.0.16 0.0.0.3 area 0" on both RTB &
>RTD, it should include that in OSPF, and it would progagated the
>subnet to other OSPF routers. I just couldn't understand.. am I
>missing something simple here?
>
>Also, when I checked the OSPF database on RTB & RTD, the 2 interfaces
>are not even showing up under Router Link States (Area 0)...
>
>RouterB#sh ip ospf database
>
> OSPF Router with ID (172.16.0.1) (Process ID 3)
>
> Router Link States (Area 3)
>
>Link ID ADV Router Age Seq# Checksum Link
>count
>150.150.150.1 150.150.150.1 1505 0x80000002 0x1B08 2
>172.16.0.1 172.16.0.1 1505 0x80000002 0x6D97 1
>
> Net Link States (Area 3)
>
>Link ID ADV Router Age Seq# Checksum
>193.16.0.2 150.150.150.1 1506 0x80000001 0x2002
>
> Type-5 AS External Link States
>
>Link ID ADV Router Age Seq# Checksum Tag
>172.16.0.0 172.16.0.1 1511 0x80000001 0x718B 0
>172.16.0.12 172.16.0.1 1495 0x80000001 0xF8F7 0
>172.16.0.16 172.16.0.1 1511 0x80000001 0xD01C 0
>
> OSPF Router with ID (172.16.0.17) (Process ID 1)
>
> Router Link States (Area 1)
>
>Link ID ADV Router Age Seq# Checksum Link
>count
>172.16.0.2 172.16.0.2 1508 0x80000004 0xF7E5 2
>172.16.0.17 172.16.0.17 1507 0x80000002 0x6C63 2
>
> Type-5 AS External Link States
>
>Link ID ADV Router Age Seq# Checksum Tag
>150.150.150.0 172.16.0.17 1497 0x80000001 0x67B0 0
>172.16.0.12 172.16.0.17 1497 0x80000001 0x9848 0
>172.16.0.16 172.16.0.17 1513 0x80000001 0x706C 0
>193.16.0.0 172.16.0.17 1512 0x80000001 0xE02D 0
>
> OSPF Router with ID (193.16.0.1) (Process ID 5)
>
> Router Link States (Area 0)
>
>Link ID ADV Router Age Seq# Checksum Link
>count
>193.16.0.1 193.16.0.1 1507 0x80000002 0xB9CF 2
>193.16.0.9 193.16.0.9 1510 0x80000002 0xF689 2
>
> Type-5 AS External Link States
>
>Link ID ADV Router Age Seq# Checksum Tag
>150.150.150.0 193.16.0.1 1497 0x80000001 0xA09 0
>172.16.0.0 193.16.0.1 1515 0x80000001 0xB334 0
>172.16.0.12 193.16.0.9 1565 0x80000001 0xBC8 0
>193.16.0.0 193.16.0.1 1515 0x80000001 0x8385 0
>RouterB#
>
>
>RouterD#sh ip ospf database
>
> OSPF Router with ID (172.16.0.18) (Process ID 2)
>
>
> Router Link States (Area 2)
>
>Link ID ADV Router Age Seq# Checksum Link
>count
>172.16.0.13 172.16.0.13 525 0x80000007 0xD0FB 2
>172.16.0.18 172.16.0.18 206 0x80000003 0x8820 2
>
> Type-5 AS External Link States
>
>Link ID ADV Router Age Seq# Checksum Tag
>150.150.150.0 172.16.0.18 206 0x80000002 0x5FB6 0
>172.16.0.0 172.16.0.18 206 0x80000002 0x9E1 0
>193.16.0.0 172.16.0.18 207 0x80000002 0xD833 0
>193.16.0.8 172.16.0.18 207 0x80000002 0xEC0D 0
>
> OSPF Router with ID (193.16.0.9) (Process ID 5)
>
>
> Router Link States (Area 0)
>
>Link ID ADV Router Age Seq# Checksum Link
>count
>193.16.0.1 193.16.0.1 197 0x80000003 0xB7D0 2
>193.16.0.9 193.16.0.9 249 0x80000003 0xF48A 2
>
> Type-5 AS External Link States
>
>Link ID ADV Router Age Seq# Checksum Tag
>150.150.150.0 193.16.0.1 198 0x80000002 0x80A 0
>172.16.0.0 193.16.0.1 198 0x80000002 0xB135 0
>172.16.0.12 193.16.0.9 249 0x80000002 0x9C9 0
>193.16.0.0 193.16.0.1 199 0x80000002 0x8186 0
>RouterD#
>
>
>Thanks,
>H.
>
>http://www.sold.com.au - SOLD.com.au
>- Find yourself a bargain!
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:30 GMT-3