From: Chris Lewis \(chrlewis\) (chrlewis@cisco.com)
Date: Fri Jul 08 2005 - 13:22:50 GMT-3
Leigh,
You also need the default-information originate statement in the BGP
configuration. As long as you have this and the redistribute OSPF
command matches the route type that the 0.0.0.0 network appears as in
your routing table, it will work.
On router that is receiving an OSPF E2 0.0.0.0 route and redistributing
that in to BGP
!
router ospf 1
log-adjacency-changes
area 1 range 10.1.12.0 255.255.255.240
network 10.1.12.8 0.0.0.3 area 1
network 10.1.13.0 0.0.0.3 area 0
!
router bgp 10
no synchronization
bgp log-neighbor-changes
redistribute ospf 1 match external 1 external 2
neighbor 10.1.13.2 remote-as 10
default-information originate
no auto-summary
!
Chris
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Leigh Harrison
Sent: Friday, July 08, 2005 10:37 AM
To: ccielab@groupstudy.com
Subject: OSPF into BGP - Default route
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 <mailto:Leigh.Harrison@azzu.co.uk>
Mobile: 07989 605 806
Office: 0870 410 5868
Fax: 0870 410 0003
Web: www.azzu.co.uk <http://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