From: Huan Pham (huan.pham@valuenet.com.au)
Date: Wed Apr 23 2008 - 12:01:30 ART
Hi Noor,
Most likely your second static route is not installed in the routing table,
because the next hop 10.10.10.1 is not on directly connected subnet.
In that case router will do recursive lookup for next hop 10.10.10.1 (which
may be via routes installed by static or other routing protocol) for any
packets in 101.101.101.0/24. You may be able to reach that subnet
101.101.101.0/24, but you do not see that static route in your routing
table. Therefore you will not see it in BGP table, to be able to be
redistributed to OSPF.
The following commands will help to narrow down your problem.
show ip route static
show ip bgp
Cheers,
Huan
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Noor.Yousuf@shell.com
Sent: Wednesday, 23 April 2008 11:55 PM
To: ccielab@groupstudy.com
Subject: bgp to ospf redistribution question
Gurus,
I'm trying to redistribute from bgp into ospf,
I have one network in bgp advertise with directly connected static route
and other with next hop static route
router bgp 100
no sync
no auto-summary
network 100.100.100.0 mask 255.255.255.0
network 101.101.101.0 mask 255.255.255.0
ip route 100.100.100.0 255.255.255.0 null 0
ip route 101.101.101.0 255.255.255.0 10.10.10.1
router ospf 1
redistribute bgp 100 subnets metric 100
the only one I can see in ospf after redistribution is directly connected
static (null0)
Can some1 explain why?
Thanks,
Pass the CCIE in six weeks, Guaranteed!
http://www.certscience.com/CCIE
This archive was generated by hypermail 2.1.4 : Thu May 01 2008 - 08:25:51 ART