09-13-2022 03:41 PM - edited 09-13-2022 03:47 PM
Hello,
On eve-ng, I am unable to establish node-to-node communication in my lab (OSPF-BGP). I have five locations using Cisco IOL devices. VPCs are connected to multilayer switches.
In an attempt to ping one location VPC(Virtual PC) to another location VPC, the destination is not reachable. Redistribution of the routers has been completed (OSPF and BGP configured).
Eg config:
#router bgp 100
#redistribute ospf 65111
---
#router ospf 65111
#redistribute bgp 100 subnets
The OSPF-BGP summary shows that all are up and able to communicate within it. I'll add one location configuration here. It's the same for others as well.
Could I be missing something here? I would greatly appreciate any suggestions you may have.
ISSUE: not able to ping inside interface of multilayer switch and the Vitual PC from outside(central router(cloud))
Thanks.
Solved! Go to Solution.
09-13-2022 04:42 PM - last edited on 09-14-2022 12:58 PM by Translator
Hi @Menon ,
The external ospf routes will not redistribute in BGP by default.
You need to configuring the following on the routers redistributing ospf into bgp.
router bgp 100
redistribute ospf 65111 match internal external 1 external 2
or
you can advertise the edge subnet as an internal route on the multilayer switch as follow:
router ospf 65111
network 10.1.0.0 0.0.0.255 area 0
Regards,
09-14-2022 01:49 AM - last edited on 09-14-2022 01:05 PM by Translator
Hello
@Harold Ritter beat me to it you need to allow external prefixes as by default only intra-inter area ospf (internal) routes are allowed in bgp redistribution
router ospf 65111
redistribute bgp 100 subnets match internal external
09-13-2022 04:42 PM - last edited on 09-14-2022 12:58 PM by Translator
Hi @Menon ,
The external ospf routes will not redistribute in BGP by default.
You need to configuring the following on the routers redistributing ospf into bgp.
router bgp 100
redistribute ospf 65111 match internal external 1 external 2
or
you can advertise the edge subnet as an internal route on the multilayer switch as follow:
router ospf 65111
network 10.1.0.0 0.0.0.255 area 0
Regards,
09-13-2022 05:09 PM - edited 09-14-2022 03:28 AM
@Harold Ritter totally right the redistribute connect is learn as external which by default not redistribute into BGP.
some note:-
1- I dont suspect about redistribute connect in first time because
https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/18722-redist-conn.html
this link show that there are two behave of IOS with redistribute connect.
and I really lost here.
anyway, add external to solve this misunderstand.
2-redistirbute with auto-summary is effect the redistribute of OSPF into BGP,
as I mention before you use major same prefix so it can effect.
try no auto-summary under bgp.
09-14-2022 01:49 AM - last edited on 09-14-2022 01:05 PM by Translator
Hello
@Harold Ritter beat me to it you need to allow external prefixes as by default only intra-inter area ospf (internal) routes are allowed in bgp redistribution
router ospf 65111
redistribute bgp 100 subnets match internal external
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