From: Vito Trimlett (Vito.Trimlett@xxxxxxxxxxxx)
Date: Mon Oct 09 2000 - 21:10:06 GMT-3
Damien,
use the "network 0.0.0.0" command under router bgp 3 on router 1 and
that should tkae care of the problem. I use your config and added that
command and I saw the default route in BGP on router 2.
----- Original Message -----
From: Damien Buckley
To: ccielab@groupstudy.com
Sent: Monday, October 09, 2000 7:29 PM
Subject: Someone must know.........!
Is it possible to get a default route from OSPF into BGP. I can not
seem to get it to work, starting to wonder whether is it possible.....
A static default route is configured, default-info originate always
configured under ospf.......then redistributing OSPF into BGP ?
R1-e0------------e0--R2
R1 Config:
interface Ethernet0
ip address 10.1.1.1 255.255.0.0
router ospf 6
redistribute connected metric 100
passive-interface Ethernet0
network 15.0.0.0 0.0.0.0 area 0
default-information originate always metric 50
!
router bgp 3
no synchronization
redistribute ospf 6 metric 100 match internal external 1 external 2
neighbor 10.1.1.2 remote-as 2
no auto-summary
!
ip classless
ip route 0.0.0.0 0.0.0.0 6.6.1.1
The route to 6.6.1.1 is present so the static is in the table, not
that it should matter as I am using the always keyword.
R2 Config:
interface Ethernet0
ip address 10.1.1.2 255.255.0.0
router bgp 2
no synchronization
neighbor 10.1.1.1 remote-as 3
neighbor 10.1.1.1 soft-reconfiguration inbound
no auto-summary
I am not showing all of the configs here for clarity, but I can tell
you that the redistribution between OSPF and BGP is working. Its just
that the default does not get through....I can not find an example
anywhere on CCO or in Halabi etc......
The only way I can get a default to orginate from R1 is to use a
combination of "redistribute static"and "default-information
originate" under the bgp process.....both have to be present or the
route is withdrawn...........also "default-originate" with the
neighbor statement does work with or without static redistribution
configured........
Any ideas on the OSPF bit ?
Thanks
Damien
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:25 GMT-3