From: Richard Y. Zheng (richardzheng@xxxxxxxxx)
Date: Sun Apr 01 2001 - 12:51:32 GMT-3
   
Hi,
I have a question about OSPF to BGP redistribution. For example, router ra,
rb and rc run OSPF and IBGP. Rb is a router reflector and BGP neighbor with
Ra and Rc. Ra and Rb have redistribute OSPF to BGP. I didn't put "no sync" in
any router. I expect to see BGP table synchronized because those routes are
learnd from OSPF and all routers know them. Ra and Rb have their BGP table
synchrozined. However unless I put a "no sync" in rc, its table won't sync.
Can someone explain why?
If you have ccbootcamp 8, that's the problem I have in R2 which is Rc in this
case. I attached the config, IP routing table and BGP table, if that helps...
Thanks,
> r2-b#sh ip bgp 172.168.80.0
> BGP routing table entry for 172.168.80.0/24, version 0
> Paths: (1 available, no best path)
>   Not advertised to any peer
>   1, (received & used)
>     137.20.68.2 (metric 20) from 200.200.200.1 (137.20.60.1)
>       Origin IGP, metric 0, localpref 100, valid, internal, not
> synchronized,
> re
> f 2
>       Originator: 137.20.60.1, Cluster list: 200.200.200.1
> r2-b#sh ip bgp 172.168.70.0
> BGP routing table entry for 172.168.70.0/24, version 5
> Paths: (1 available, best #1)
>   Not advertised to any peer
>   3, (received & used)
>     137.20.17.2 (metric 20) from 200.200.200.1 (200.200.200.1)
>       Origin IGP, metric 170, localpref 100, valid, internal, synchronized,
> best
> , ref 2
> r2-b#
>
> r2-b#r
> Building configuration...
>
> Current configuration:
> !
> ! Last configuration change at 10:08:44 EST Mon Mar 1 1993
> !
> version 12.0
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> !
> hostname r2-b
> !
> logging buffered 5000 debugging
> !
> ip subnet-zero
> no ip domain-lookup
> ipx routing 0002.0002.0002
> !
> !
> !
> clock timezone EST -4
> clock summer-time EDT recurring
> !
> !
> !
> !
> interface Loopback0
>  ip address 137.20.22.1 255.255.255.0
>  no ip directed-broadcast
>  ip ospf interface-retry 0
> !
> interface Ethernet0/0
>  ip address 137.20.20.1 255.255.255.0
>  no ip directed-broadcast
>  ip ospf cost 1
>  ip ospf interface-retry 0
>  ipx network 200
>  ipx output-gns-filter 1001
> !
> interface Serial0/0
>  ip address 137.20.235.2 255.255.255.224
>  no ip directed-broadcast
>  encapsulation frame-relay
>  ip ospf network point-to-multipoint
>  ip ospf interface-retry 0
>  no ip mroute-cache
>  keepalive 15
>  ipx access-group 800 in
>  ipx network 5130
>  no fair-queue
>  frame-relay map ip 137.20.235.1 125 broadcast
>  frame-relay map ipx 5130.0003.0003.0003 125 broadcast
>  frame-relay map ip 137.20.235.3 125 broadcast
>  frame-relay map ipx 5130.0005.0005.0005 125 broadcast
>  no frame-relay inverse-arp
> !
> interface Ethernet0/1
>  no ip address
>  no ip directed-broadcast
>  shutdown
> !
> interface Serial0/1
>  no ip address
>  no ip directed-broadcast
>  shutdown
> !
> router ospf 1
>  area 1 virtual-link 137.20.235.1
>  network 137.20.20.0 0.0.0.255 area 3
>  network 137.20.22.0 0.0.0.255 area 1
>  network 137.20.235.0 0.0.0.31 area 1
>  default-information originate always
> !
> router bgp 2
>  neighbor 200.200.200.1 remote-as 2
>  neighbor 200.200.200.1 update-source Loopback0
>  neighbor 200.200.200.1 soft-reconfiguration inbound
> !
> ip classless
> !
> access-list 800 deny 700 200
> access-list 800 permit FFFFFFFF
> access-list 1001 deny FFFFFFFF 4
> access-list 1001 permit FFFFFFFF
> !
> !
> !
> ipx router eigrp 1
>  network 5130
> !
> !
> ipx router rip
>  no network 5130
> !
> !
> !
> alias exec c conf t
> alias exec ip show ip route
> alias exec ipx show ipx route
> alias exec bgp show ip bgp
> alias exec i show run int
> alias exec b show ip int brief
> alias exec o show ip ospf
> alias exec ci clear ip route *
> alias exec r show run
> alias exec cb clear ip bgp *
> alias exec cbs clear ip bgp * soft
> alias exec cp clear ipx route *
> !
> line con 0
>  exec-timeout 0 0
>  password cisco
>  login
>  transport input none
> line aux 0
>  exec-timeout 0 0
>  password cisco
>  login
> line vty 0 4
>  exec-timeout 0 0
>  password cisco
>  login
> !
> ntp master 4
> no scheduler allocate
> end
>
> r2-b#bgp
> BGP table version is 17, local router ID is 137.20.22.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
> * i137.20.15.0/24   200.200.200.1            0    100      0 ?
> *>i137.20.17.0/24   137.20.144.1            20    100      0 ?
> *>i137.20.20.0/24   137.20.15.2             50    100      0 ?
> * i137.20.30.0/24   137.20.15.2             50    100      0 ?
> * i137.20.33.1/32   137.20.15.2             50    100      0 ?
> * i137.20.60.1/32   137.20.15.2           1564    100      0 ?
> * i137.20.68.0/24   137.20.15.2             20    100      0 ?
> * i137.20.128.0/20  137.20.15.2             11    100      0 ?
> * i137.20.235.1/32  137.20.15.2              1    100      0 ?
> * i137.20.235.3/32  137.20.15.2             49    100      0 ?
> *>i160.0.0.0/4      200.200.200.1                 100      0 i
> *>i172.168.70.0/24  137.20.17.2            170    100      0 3 i
> * i172.168.80.0/24  137.20.68.2              0    100      0 1 i
> * i200.200.200.0    200.200.200.1            0    100      0 ?
> r2-b#ip
> 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
>
>      170.10.0.0/24 is subnetted, 1 subnets
> O E2    170.10.10.0 [110/1] via 137.20.235.1, 02:55:18, Serial0/0
>      200.200.200.0/32 is subnetted, 1 subnets
> O IA    200.200.200.1 [110/75] via 137.20.235.1, 02:55:18, Serial0/0
>      137.20.0.0/16 is variably subnetted, 14 subnets, 5 masks
> O       137.20.144.0/20 [110/1626] via 137.20.235.1, 02:55:28, Serial0/0
> O       137.20.128.0/20 [110/74] via 137.20.235.1, 02:55:28, Serial0/0
> O       137.20.235.3/32 [110/112] via 137.20.235.1, 15:06:16, Serial0/0
> C       137.20.235.0/27 is directly connected, Serial0/0
> O       137.20.235.1/32 [110/64] via 137.20.235.1, 15:06:17, Serial0/0
> O IA    137.20.30.0/24 [110/113] via 137.20.235.1, 02:55:18, Serial0/0
> C       137.20.20.0/24 is directly connected, Ethernet0/0
> C       137.20.22.0/24 is directly connected, Loopback0
> O E2    137.20.17.0/24 [110/20] via 137.20.235.1, 02:55:18, Serial0/0
> O IA    137.20.15.0/24 [110/74] via 137.20.235.1, 02:55:19, Serial0/0
> O       137.20.60.1/32 [110/1627] via 137.20.235.1, 02:55:29, Serial0/0
> O E1    137.20.44.0/28 [110/164] via 137.20.235.1, 02:55:19, Serial0/0
> O       137.20.33.1/32 [110/113] via 137.20.235.1, 15:06:18, Serial0/0
> O E2    137.20.68.0/24 [110/20] via 137.20.235.1, 02:55:19, Serial0/0
>      172.168.0.0/24 is subnetted, 2 subnets
> O E2    172.168.70.0 [110/1] via 137.20.235.1, 02:55:19, Serial0/0
> O E2    172.168.80.0 [110/1] via 137.20.235.1, 02:55:20, Serial0/0
>      160.10.0.0/24 is subnetted, 1 subnets
> O E2    160.10.10.0 [110/1] via 137.20.235.1, 02:55:20, Serial0/0
>      161.10.0.0/24 is subnetted, 1 subnets
> O E2    161.10.10.0 [110/1] via 137.20.235.1, 02:55:20, Serial0/0
> O E2 160.0.0.0/4 [110/1] via 137.20.235.1, 02:55:20, Serial0/0
> r2-b#
> r2-b#sh ip bgp 137.20.68.0
> BGP routing table entry for 137.20.68.0/24, version 0
> Paths: (1 available, no best path)
>   Not advertised to any peer
>   Local, (received & used)
>     137.20.15.2 (metric 74) from 200.200.200.1 (200.200.200.1)
>       Origin incomplete, metric 20, localpref 100, valid, internal, not
> synchron
> ized, ref 2
> r2-b#sh ip bgp 137.20.15.0
> BGP routing table entry for 137.20.15.0/24, version 0
> Paths: (1 available, no best path)
>   Not advertised to any peer
>   Local, (received & used)
>     200.200.200.1 (metric 75) from 200.200.200.1 (200.200.200.1)
>       Origin incomplete, metric 0, localpref 100, valid, internal, not
> synchroni
> zed, ref 2
> r2-b#sh ip route 137.20.68.0
> Routing entry for 137.20.68.0/24
>   Known via "ospf 1", distance 110, metric 20, type extern 2, forward
> metric
> 162
> 6
>   Redistributing via ospf 1
>   Last update from 137.20.235.1 on Serial0/0, 02:56:54 ago
>   Routing Descriptor Blocks:
>   * 137.20.235.1, from 137.20.60.1, 02:56:54 ago, via Serial0/0
>       Route metric is 20, traffic share count is 1
>
> r2-b#sh ip route 137.20.15.0
> Routing entry for 137.20.15.0/24
>   Known via "ospf 1", distance 110, metric 74, type inter area
>   Redistributing via ospf 1
>   Last update from 137.20.235.1 on Serial0/0, 02:56:58 ago
>   Routing Descriptor Blocks:
>   * 137.20.235.1, from 137.20.235.1, 02:56:58 ago, via Serial0/0
>       Route metric is 74, traffic share count is 1
>
> r2-b#
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:29:38 GMT-3