RE: Reposted !! Defaults from OSPF into BGP

From: Hall, Keith (KHall@xxxxxxxxxxxxxxxxx)
Date: Fri Oct 13 2000 - 16:51:19 GMT-3


   
   "show ip route"
   "show ip ospf databse"
   Your default source is a static.. not OSPF.
   
   Keith T. Hall
   Sr. Network Engineer, Service Provider Accounts
   Greenwich Technology Partners
   3810 Concorde Parkway, Suite 500
   Chantilly, VA 20151
   (703) 966-1854 Cell
   (703) 222-6465 Office
   (703) 222-6424 Fax
   khall@greenwichtech.com
   http://www.greenwichtech.com
   
   -----Original Message-----
   From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
   damien
   Sent: Monday, October 09, 2000 8:53 AM
   To: ccielab@groupstudy.com
   Subject: Reposted !! Defaults from OSPF into BGP
   
   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:26 GMT-3