From: Hunt Lee (ciscoforme3@xxxxxxxxxxxx)
Date: Thu Jun 27 2002 - 12:40:06 GMT-3
Hi ...
198.16.1.0/24 -- RTA --RTB
RTA is running both OSPF & BGP, while RTB is running OSPF.
The network 198.16.1.0/24 is being advertised by the BGP network
command at RTA.
Both routers are on Ethernet (multi-access network).
What I'm trying to do is to redistribute the 198.16.1.0/24 from BGP
into OSPF at RTA, but the BGP route didn't get redistributed into
OSPF at all :(
At RTA:
router ospf 1
redistribute bgp 1 metric 10 subnets
network 172.16.1.1 0.0.0.0 area 0
network 172.16.1.2 0.0.0.0 area 0
!
router bgp 1
network 198.16.1.0
RouterA#sh ip bgp
BGP table version is 2, local router ID is 198.16.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 198.16.1.0 0.0.0.0 0 32768 i
RouterA#sh ip ospf database
OSPF Router with ID (198.16.1.1) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link
count
172.16.1.2 172.16.1.2 1522 0x80000004 0xE93E 1
198.16.1.1 198.16.1.1 131 0x80000006 0xAF43 1
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
172.16.1.2 172.16.1.2 1522 0x80000002 0x1011
RouterA#
But if I do a "redistribute connected subnets", then everything
becomes fine. Did I miss something simple here?
RouterA#sh ip ospf database
OSPF Router with ID (198.16.1.1) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link
count
172.16.1.2 172.16.1.2 1631 0x80000004 0xE93E 1
198.16.1.1 198.16.1.1 240 0x80000006 0xAF43 1
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
172.16.1.2 172.16.1.2 1631 0x80000002 0x1011
Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
172.16.1.0 198.16.1.1 9 0x80000001 0xCC3D 0
198.16.1.0 198.16.1.1 9 0x80000001 0x7976 0
RouterA#
RouterB#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS
inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
O E2 198.16.1.0/24 [110/20] via 172.16.1.1, 00:01:08, Ethernet0
RouterB#
..... Any advice would be greatly appreciated ...
Thanks
Hunt ..
http://www.sold.com.au - SOLD.com.au
- Find yourself a bargain!
This archive was generated by hypermail 2.1.4 : Tue Jul 02 2002 - 08:12:42 GMT-3