RE: Injecting EBGP route into IGP router's routing table

From: FATHALLAH (sfathallah@mail.cbi.net.ma)
Date: Mon Jun 02 2003 - 13:25:09 GMT-3


There is no metric in your rip redistribution nor default-metric!!!
EIGRP, IGRP and RIP must have this.

Let me know.
Said

-----Message d'origine-----
De : nobody@groupstudy.com [mailto:nobody@groupstudy.com]De la part de
Jeongwoo Park
Envoyi : lundi 2 juin 2003 12:48
@ : lab
Objet : Injecting EBGP route into IGP router's routing table

Hi all,
While I was playing with BGP, I got stuck in this problem.
Here is the layout;

50.50.50.0/24---R5------ebgp---R4-------rip----R1

R5 in AS 5 is running EBGP with R4 in AS1
R1 is running only rip

Let's say I am not supposed to use "no syn"

I see the 50.50.50.0/24 network in R4's routing table, but not in R1's
routing table.
In order for me to see this network, would redistributing bgp into rip be
the one of the right ways to do this?
I tried it. However, somehow I still don't see the route 50.50.50.0/24 in
R1's routing table.

R4'bgp table;
r4#sh ip b
BGP table version is 2, local router ID is 192.168.4.4
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
*> 50.50.50.0/24 192.168.5.5 0 0 5 i

r4#sh ip rou
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

     50.0.0.0/24 is subnetted, 1 subnets
B 50.50.50.0 [20/0] via 192.168.5.5, 00:53:46

R4's config;
router rip
 redistribute bgp 1
 passive-interface default
 no passive-interface Ethernet0/0
 no passive-interface Serial0/0.14
 no passive-interface Loopback0
 network 140.40.0.0
 network 172.16.0.0
 network 192.168.4.0
 no auto-summary
!
router bgp 1
 bgp router-id 192.168.4.4
 bgp log-neighbor-changes
 neighbor 192.168.5.5 remote-as 5
 neighbor 192.168.5.5 ebgp-multihop 2
 neighbor 192.168.5.5 update-source Loopback0

Can someone point out what I am doing wrong?

Thanks,

JP



This archive was generated by hypermail 2.1.4 : Fri Jul 04 2003 - 11:10:51 GMT-3