05-23-2022 02:02 AM
Hello everyone,
I have the network diagram as follows.
As r-1 advertise its loopback 0 into BGP, i need this prefix to be reachable from r-5 and r-6. Same for r-2.
now, i would like that ASN 1.2 to see only those 2 prefixes coming from ASN 1.1.
Now i know that BGP needs full connectivity but i also would like not to extend IGP boundaries more.
Can you guys explain me a feasible way to achieve this?
I can ping r1 loopback from r4 only from the directly connected interfaces to r3.
Thank you in advance guys.
Solved! Go to Solution.
05-23-2022 02:33 AM
The routes are there, can you post a traceroute from r-5 using loopback as source IP to r-1 or r-2 ?
Jon
05-23-2022 02:10 AM - last edited on 05-23-2022 03:04 AM by Translator
Can you post a
sh ip bgp
from r-4 and r-5.
Jon
05-23-2022 02:14 AM
Network Next Hop Metric LocPrf Weight Path *> 1.1.1.1/32 20.1.1.3 0 65537 i *m 192.168.1.191 0 65537 i *> 1.1.1.2/32 20.1.1.3 0 65537 i *m 192.168.1.191 0 65537 i r>i 1.1.1.5/32 1.1.1.5 0 100 0 i r>i 1.1.1.6/32 1.1.1.6 0 100 0 i r4#
Network Next Hop Metric LocPrf Weight Path *>i 1.1.1.1/32 1.1.1.4 0 100 0 65537 i *>i 1.1.1.2/32 1.1.1.4 0 100 0 65537 i *> 1.1.1.5/32 0.0.0.0 0 32768 i r5#
05-23-2022 02:33 AM
The routes are there, can you post a traceroute from r-5 using loopback as source IP to r-1 or r-2 ?
Jon
05-23-2022 02:48 AM
jon indeed you are a legend.
you opened my eyes and made me realize my stupidity, and that the traffic i was generating was sourced from outgoing interface of r5 not from loopback as desired. and ofc those routes are not advertised into bgp, silly me....
god bless you.
05-23-2022 02:56 AM
No problem, glad you got it sorted.
Jon
05-23-2022 02:56 AM - last edited on 05-23-2022 03:07 AM by Translator
Hello
From R3
Possibly advertise a default route into opsf for both r1-2 and then advertise OSPF or just OSPF specific routes into bgp towards r4-5-6
ip prefix-list 10 permit 1.1.1.1/32
ip prefix-list10 permit 1.1.1.2/32
route-map OSPF_PF
match ip address prefix-list 10
router ospf 1
default-information originate always
router bgp 65537
redistribute ospf 1 match internal external
or
redistribute ospf 1 route-map OSPF_PF 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