01-19-2023
09:39 AM
- last edited on
01-23-2023
10:24 PM
by
Translator
Hi everyone,
I hopw you are all well.
I have this network and i am using OSPF and GBP but i feel there is a missing configration on the router CiscoC. Instade of R22 there is a PC, so no need for summurization and the swich (net 12) is off
R11 knows CiscoA and CiscoB only
CiscoA knows R11 and CiscoB only
CiscoB Knows all
CiscoC knows all
R21 knows CiscoC and CiscoB only
I would appriciate your help.
Cisco C
router ospf 40
router-id 10.0.0.42
redistribute bgp 40
network 10.41.42.2 0.0.0.0 area 0
!
router bgp 40
bgp log-neighbor-changes
network 10.0.0.42 mask 255.255.255.255
redistribute ospf 40
neighbor 172.30.20.21 remote-as 20
!
Cisco B
!
router ospf 40
router-id 10.0.0.41
redistribute bgp 40
network 10.0.0.41 0.0.0.0 area 0
network 10.41.42.1 0.0.0.0 area 0
!
router bgp 40
bgp log-neighbor-changes
network 10.0.0.41 mask 255.255.255.255
redistribute ospf 40
neighbor 10.0.34.1 remote-as 30
!
Solved! Go to Solution.
01-19-2023
11:19 AM
- last edited on
01-23-2023
10:25 PM
by
Translator
Hi @abduljwad.higaig ,
By default, only intra area and inter area routes are redistributed from OSPF to BGP and as both CiscoB and CiscoC redistribute BGP routes in OSPF, these routes will be learned as external routes on the other side. You need to configure the following on both CiscoB and CiscoC:
router bgp 40
redistribute ospf 40 match internal external 1 external 2
Regards,
01-19-2023
11:19 AM
- last edited on
01-23-2023
10:25 PM
by
Translator
Hi @abduljwad.higaig ,
By default, only intra area and inter area routes are redistributed from OSPF to BGP and as both CiscoB and CiscoC redistribute BGP routes in OSPF, these routes will be learned as external routes on the other side. You need to configure the following on both CiscoB and CiscoC:
router bgp 40
redistribute ospf 40 match internal external 1 external 2
Regards,
01-20-2023 12:50 AM
01-19-2023 12:15 PM
can you share the all config I will check
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