09-12-2020 08:51 PM - last edited on 05-30-2022 02:14 AM by Translator
Hi,
Im new in networking. Im doing a lab where Im trying to see bgp loopback ip ( i.e 3.3.3.3 ) in eigrp. I m not able see.
But while im adding a static route at Null 0 and adding 3.3.3.3 in eigrp network statement then its showing.
in R2 ( whoich is border router between R1 & R3 )
TOPOLOGY
==========
EIGRP 12 BGP 23
R1 ==========> R2=============>R3
Please find the config:-
R2
===
R2#sh run | s r bgp
router bgp 23
no synchronization
bgp log-neighbor-changes
network 200.200.200.200 mask 255.255.255.255
neighbor 10.10.23.3 remote-as 23
neighbor 10.10.23.3 next-hop-self
no auto-summary
R2#sh run | sec r eigrp
router eigrp 12
redistribute bgp 23 metric 100000 1 255 1 1500
network 192.168.12.0
network 202.202.202.0
distribute-list 1 in Ethernet1/0
distance eigrp 12 20
no auto-summary
R2#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM administratively down down
Ethernet1/0 192.168.12.2 YES NVRAM up up
Ethernet1/1 10.10.23.2 YES NVRAM up up
Ethernet1/2 unassigned YES NVRAM administratively down down
Ethernet1/3 unassigned YES NVRAM administratively down down
Loopback0 200.200.200.200 YES NVRAM up up
Loopback1 202.202.202.202 YES NVRAM up up
R1
==
R1#sh ip int br | ex down|unass
Interface IP-Address OK? Method Status Protocol
Ethernet1/0 192.168.12.1 YES NVRAM up up
Loopback0 101.1.0.1 YES NVRAM up up
Loopback2 102.1.0.1 YES NVRAM up up
R1#
R1#sh run | sec r bgp
R1#
R1#sh run | sec r eig
router eigrp 12
network 101.1.0.1 0.0.0.0
network 102.1.0.1 0.0.0.0
network 192.168.12.0
no auto-summary
R3
==
Router#sh ip int br | ex down|unass
Interface IP-Address OK? Method Status Protocol
Ethernet1/0 10.10.23.3 YES NVRAM up up
Loopback0 3.3.3.3 YES NVRAM up up
Router#sh run | sec r bgp
router bgp 23
no synchronization
bgp log-neighbor-changes
network 3.3.3.3 mask 255.255.255.255
neighbor 10.10.23.2 remote-as 23
neighbor 10.10.23.2 next-hop-self
no auto-summary
Pls suggest me how to get the 3.3.3.3 route in R1 and the reason.
Thanks,
Arka
Solved! Go to Solution.
09-13-2020 03:04 AM - last edited on 05-30-2022 02:13 AM by Translator
Actually, you need
bgp redistribute-internal
on R2.
The following rule applies:
iBGP routes are not redistributed into an IGP unless the router BGP process has the command bgp redistribute-internal
09-12-2020 10:20 PM - last edited on 05-30-2022 02:08 AM by Translator
I think the problem may be that you need to include the following on router 3
router bgp 23
bgp redistribute-internal
Here is a link from our friends at Cisco providing BGP OSPF example
09-13-2020 03:12 AM
hello
@pmckenzie good call I didn’t notice it was an ibgp peering
09-13-2020 01:00 AM - last edited on 05-30-2022 02:09 AM by Translator
Hello,
on R2, you have:
distribute-list 1 in Ethernet1/0
What is the content of this access list ?
09-13-2020 01:19 AM - last edited on 05-30-2022 02:09 AM by Translator
Hello
Also why are you changing admin distances for eigrp and what is the distribution list filtering on?
lastly advertise r2 192.x.xx in both routing processes
rtr2
router xxx
network 192.168.12.0 mask 255.255.255.0
09-13-2020 03:04 AM - last edited on 05-30-2022 02:13 AM by Translator
Actually, you need
bgp redistribute-internal
on R2.
The following rule applies:
iBGP routes are not redistributed into an IGP unless the router BGP process has the command bgp redistribute-internal
11-24-2020 09:41 AM
Once I given the command you said now I can see BGP routers in OSPF as E2 routes.
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