cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1098
Views
0
Helpful
7
Replies

BGP route can't redistribute in ospf router

acbenny
Level 1
Level 1

Hi all, I am testing the failover fo the setup network but it seems fail.

Basically, the connection is work in normal condition. But when I try to make

Router 26 (10.1.1.2 port down ) and Router 36 ( 172.20.1.1 port down ). I expect

traffic from Router 16A will go though Router 36 and then Router 26 until to 1400 (e.g. 202.122.65.1)

But the final result is Router 26 and 36 can learn 202.122.65.0/26 route but 16A can't

learn any Ex route which seems that Router 36 can't redistribute any bgp route into 16A.

Anyone know what is wrong on my configuration?

Thanks

7 Replies 7

milan.kulik
Level 10
Level 10

Hi,

IMHO, "bgp redistribute-internal" is missing in the router 36 config.

See http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.shtml#un

fo r details.

BR,

Milan

Thanks Milan,

Got it, but how can I avoid routing loop in this case As it mentioned that it is dangerous to issue this command.

ok u can achive it by doing condational redistribution with route-maps

in the case u can install that route when ur connection is lost

in oother words when a spicific route not insstaled in ur routing table

hth

Rate if helpful

Hi,

another idea:

Tagging the iBGP prefixes while incoming and redistributing them to OSPF with higher metric than the eBGP ones.

BR,

Milan

Thanks your idea, But how to configure it by command line. I don't know how to do it.

Hi,

IMHO, modifying your configs the way presented in the 36-new.txt file might work.

route-map incoming

would add zzz community to the prefixes received from the iBGP neighbor.

Only those prefixes with community matching would be redistributed to OSPF.

On the other hand,

redistribute ospf 123 metric 100 match internal

would redistribute only OSPF internal routes to BGP (not that sent from BGP to OSPF originally).

You'd lose the possibility to redistribute static to OSPF and then to BGP, e.g., but I hope you can live without it.

BR,

Milan

Thanks your idea, But how to configure it by command line. I don't know how to do it.

Review Cisco Networking for a $25 gift card