From: John Do (mcseccnp03@yahoo.com)
Date: Fri Jul 08 2005 - 13:12:40 GMT-3
Leigh,
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 5.0.0.0 0.255.255.255 area 1
network 6.0.0.0 0.255.255.255 area 0
default-information originate
ip route 0.0.0.0 0.0.0.0 6.0.0.3
Leigh Harrison <leigh.harrison@azzu.co.uk> wrote:
All,
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.
LH
Leigh Harrison
Technical Consultant
Azzurri Communications
Castleton Mill,
Castleton Close,
Leeds,
LS12 2DS
Email: Leigh.Harrison@azzu.co.uk
Mobile: 07989 605 806
Office: 0870 410 5868
Fax: 0870 410 0003
Web: www.azzu.co.uk
"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"
This archive was generated by hypermail 2.1.4 : Sun Sep 04 2005 - 17:00:29 GMT-3