05-08-2011 05:47 AM - edited 03-04-2019 12:19 PM
Please review the attachments. I'm tryning to ping the loopack address from router hst_64999 to the loopback address on router remote (10.25.25.1).
I've done redistribution of ospf into bgp but still can't ping 10.25.25.1. There is full reachability inside ospf, the problem is going from bgp to ospf. What am i doing wrong? Any help youe be greatly appricaiated. Thanks.
Solved! Go to Solution.
05-08-2011 07:53 AM
Hi,
I just saw that you're using tunnel interfaces runing on OSPF. I didn't see any BGP routes on the remote router.
Please add the following commands on the gre_hst_64513 router.
!
router ospf 2020
redistribute bgp 64513 subnet
!
Please post the output of "sh ip route" and "sh ip bgp" commands on the gre_hst_64513 router.
HTH,
Toshi
05-08-2011 01:05 PM
Hi Guys,
Good question 5-Point. Actually they're independent. If you enabled a "bgp synchronization" on the router,the router-id of BGP and OSPF must be the same (it's a rule). In your case you will be fine anyway.
HTH,
Toshi
05-08-2011 06:18 AM
Hi,
Please post the out put of a "show ip route" command on the remote router.
HTH,
Toshi
05-08-2011 06:39 AM
05-08-2011 07:53 AM
Hi,
I just saw that you're using tunnel interfaces runing on OSPF. I didn't see any BGP routes on the remote router.
Please add the following commands on the gre_hst_64513 router.
!
router ospf 2020
redistribute bgp 64513 subnet
!
Please post the output of "sh ip route" and "sh ip bgp" commands on the gre_hst_64513 router.
HTH,
Toshi
05-08-2011 12:40 PM
Hi Toshi,
Here is the output per your request. Let me add the statement you wanted and see if it works. Thanks.
gre_hst_64513#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
10.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
O 10.25.26.1/32 [110/11112] via 10.10.10.5, 1d15h, Tunnel3334
C 10.11.11.0/30 is directly connected, FastEthernet0/1
O 10.10.10.0/30 [110/22222] via 10.10.10.5, 1d15h, Tunnel3334
O 10.25.25.1/32 [110/11112] via 10.10.10.5, 1d15h, Tunnel3334
C 10.10.10.4/30 is directly connected, Tunnel3334
O 10.30.30.30/32 [110/22223] via 10.10.10.5, 1d15h, Tunnel3334
C 10.29.29.29/32 is directly connected, Loopback0
B 10.44.44.44/32 [20/0] via 10.11.11.2, 20:40:23
192.168.0.0/30 is subnetted, 1 subnets
C 192.168.0.4 is directly connected, FastEthernet0/0
05-08-2011 12:55 PM
Thanks Toshi. You are the man!
One last question, if you have a router that is running both ospf and bgp, and you only have one loopback address (10.55.55.55). Can you use it for both ospf and bgp? What is the best practice. Sorry, I'm just recently learning bgp.
router ospf 2020
router-id 10.55.55.55
!
router bgp 64599
router-id 10.55.55.55
05-08-2011 01:05 PM
Hi Guys,
Good question 5-Point. Actually they're independent. If you enabled a "bgp synchronization" on the router,the router-id of BGP and OSPF must be the same (it's a rule). In your case you will be fine anyway.
HTH,
Toshi
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide