BGP route

From: Hung, Sing-Yu (Sing-Yu.Hung@xxxxxxxx)
Date: Fri Jun 14 2002 - 06:54:34 GMT-3


   
Dear,

R6-----12.2.0.0/16--------r8

r6 and r8 in bgp as 3
R8 have Loopback1 177.1.1.1/24 and it is in RIP and redistribute into ospf
then bgp, it is in ospf but not install in bgp.
The question is why 177.1.1.1/24 in ospf but not in bgp?

r6#sho ip r
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
       T - traffic engineered route

Gateway of last resort is not set

B 4.0.0.0/8 [20/0] via 11.1.1.5, 19:02:14
     177.1.0.0/24 is subnetted, 1 subnets
O E2 177.1.1.0 [110/800] via 12.2.1.2, 00:38:03, Serial0
B 41.0.0.0/8 [20/0] via 11.1.1.5, 20:04:06
     11.0.0.0/16 is subnetted, 1 subnets
C 11.1.0.0 is directly connected, Ethernet0
     12.0.0.0/16 is subnetted, 2 subnets
C 12.2.0.0 is directly connected, Serial0
O 12.3.0.0 [110/60] via 12.2.1.2, 00:38:03, Serial0
r6#sho proto
Global values:
  Internet Protocol routing is enabled
Ethernet0 is up, line protocol is up
  Internet address is 11.1.1.6/16
Serial0 is up, line protocol is up
  Internet address is 12.2.1.1/16
Serial1 is administratively down, line protocol is down

r8#bgp
BGP table version is 6, local router ID is 177.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*>i4.0.0.0 12.2.1.1 100 0 2 1 ?
*> 12.2.0.0/16 0.0.0.0 0 32768 ?
*> 12.3.0.0/16 0.0.0.0 0 32768 ?
*>i41.0.0.0 12.2.1.1 100 0 2 1 ?
r8#sho proto
Global values:
  Internet Protocol routing is enabled
Ethernet0 is up, line protocol is up
  Internet address is 12.3.1.1/16
Loopback0 is up, line protocol is up
  Internet address is 12.4.1.1/16
Loopback1 is up, line protocol is up
  Internet address is 177.1.1.1/24
Serial0 is up, line protocol is up
  Internet address is 12.2.1.2/16
Serial1 is administratively down, line protocol is down

r8 config:
router ospf 200
 redistribute rip metric 800 subnets
 network 12.2.0.0 0.0.255.255 area 0
 network 12.3.0.0 0.0.255.255 area 0
 area 0 authentication message-digest
 log-adjacency-changes
!
router rip
 network 177.1.0.0
!
router bgp 3
 no synchronization
 redistribute ospf 200 match internal external 1 external 2
 neighbor 12.2.1.1 remote-as 3
 neighbor 12.2.1.1 password ccie-2002
 no auto-summary
!
r8#ospf da

       OSPF Router with ID (177.1.1.1) (Process ID 200)

                Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count
12.2.1.1 12.2.1.1 297 0x8000002D 0xB3ED 2
177.1.1.1 177.1.1.1 320 0x80000028 0x7BA2 3

                Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag
177.1.1.0 177.1.1.1 320 0x80000028 0xBB46 0

Bradford Hung

 Pacific Century CyberWorks



This archive was generated by hypermail 2.1.4 : Tue Jul 02 2002 - 08:12:33 GMT-3