FW: another BGP question

From: Frye, Gary (Gary.Frye@xxxxxxxxxxxxx)
Date: Tue Aug 15 2000 - 14:29:59 GMT-3


   
Let me have a crack at this.

1. What are your OSPF net statements? Do you have either of the following:
     network 0.0.0.0 255.255.255.255 area 0 [or]
     redistribute connected subnets
     (Either would cause those connected networks to find their way into
BGP.)

2. The match statements were definitely what was keeping the 192.68.5[10]
networks out. The were external type 2.

3. Not sure why that happened. I think your match statement is only
including E1 and E2 OSPF routes and excluding interior-ospf routes. You
might want a route map.

Example:
------------------------------
route-map ospf-dist permit 10
   match external 1 external 2

route-map ospf-dist permit 20
------------------------------

And in your routing process:

-----------------------------
router bgp 3
 redistribute ospf 1 route-map ospf-dist
 neighbor 172.16.20.1 remote-as 1
 no auto-summary
---------------------------------

I don't have my books with me (or a router handy), but I think that'll work.
And if it doesn't, try this map instead:

-------------------------------
route-map ospf-dist permit 10
   match external 1
   match external 2

route-map ospf-dist permit 20
-------------------------------

Let me know how it works out.

Gary Frye, Team34 - Network Services

-----Original Message-----
From: Gary Frye [mailto:gfrye@carolina.rr.com]
Sent: Saturday, August 12, 2000 10:43 PM
To: gary.frye@getronics.com
Subject: another BGP question

Hello Group,
I am seeing the following which seems
**********RTA********
router bgp 3
 redistribute ospf 1
 neighbor 172.16.20.1 remote-as 1
 no auto-summary
***********
RTA#sh ip ro
...
O E2 192.68.5.0/24 [110/20] via 172.16.1.2, 00:32:21, Serial0
O E2 192.68.10.0/24 [110/20] via 172.16.1.2, 00:32:22, Serial0
B 192.68.11.0/24 [20/0] via 172.16.20.1, 00:02:11
     172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
C 172.16.2.254/32 is directly connected, Loopback0
C 172.16.220.0/24 is directly connected, Ethernet0
C 172.16.20.0/24 is directly connected, Serial1
C 172.16.1.0/24 is directly connected, Serial0
O 172.16.65.0/24 [110/74] via 172.16.1.2, 00:39:37, Serial0
************
RTC#sh ip bgp
BGP table version is 7, local router ID is 192.68.11.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
*> 172.16.1.0/24 172.16.20.2 0 0 3 ?
*> 172.16.2.254/32 172.16.20.2 0 0 3 ?
*> 172.16.20.0/24 172.16.20.2 0 0 3 ?
*> 172.16.65.0/24 172.16.20.2 74 0 3 ?
*> 172.16.220.0/24 172.16.20.2 0 0 3 ?
*> 192.68.11.0 0.0.0.0 0 32768 i
************

Questions

Q1 I am only doing redistribute OSPF so why do see the 172.16.x.y
networks in BGP ?
Q2 Why are these rotues not being redistributed 192.68.5.0 and
192.68.10.0
Q3 If I change the redistribute statement
***OLD
router bgp 3
 redistribute ospf 1
 neighbor 172.16.20.1 remote-as 1
 no auto-summary
******NEW
router bgp 3
 redistribute ospf 1 match external 1 external 2
 neighbor 172.16.20.1 remote-as 1
 no auto-summary

*******Result
RTC#sh ip bgp
BGP table version is 15, local router ID is 192.68.11.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
*> 192.68.5.0 172.16.20.2 20 0 3 ?
*> 192.68.10.0 172.16.20.2 20 0 3 ?
*> 192.68.11.0 0.0.0.0 0 32768 i

Question : why do the 176.16.x.y networks vanish ?



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:26 GMT-3