- A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
Re: OSPF into BGP - Default route posted 07/08/2005
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]



For the default-information originate command to work you must make sure that they is a default route in the routing table. Also, you can use the default-information originate always command which does not follow the rule of default route in the table.


router ospf 10
network area 1
network area 0
default-information originate

ip route

Leigh Harrison <leigh.harrison@xxxxxxxxxx> wrote:

I'm having a little trouble sending a default route into bgp from ospf.

I have my ospf network (ospf ip 10) and my bgp network (bgp as 102).

My redistribution line in the bgp config is:-

router bgp 102
redistribute ospf 10 metric 1234 match internal external 1 external 2

I've got some loopbacks on one router going into ospf as E2 routes and
they redistribute just fine. I've put the "default-information
originate" command in to pass out the default gateway, but it does not
appear in the routing table of the bgp only routers.

Do I need to add in "nssa-external 2" into the ospf redist ?

Many thanks in advance.

Leigh Harrison
Technical Consultant
Azzurri Communications
Castleton Mill,
Castleton Close,
LS12 2DS

Email: Leigh.Harrison@xxxxxxxxxx 
Mobile: 07989 605 806
Office: 0870 410 5868
Fax: 0870 410 0003

"Any opinions expressed in this mail are those of the individual and not
necessarily the company. This e-mail and any files transmitted with it
are confidential and solely for the use of the intended recipient. If
you are not the intended recipient or the person responsible for
delivering it to the intended recipient, please be advised that you have
received this email in error and that any use is strictly prohibited.
Please either notify a member of Azzurri Communications Leeds' Internal
IT support by telephone +44 (0)870 4442838 or by replying to this mail
and advising accordingly. Thank you for your co-operation"

Subscription information may be found at:

 Sell on Yahoo! Auctions  - No fees. Bid on great items.