04-08-2020 09:46 AM - edited 04-09-2020 01:56 AM
From the R1 cannot ping to R3's loopback 192.168.5.1 although R1 have the route in routing table. And then R4 also cannot ping to R2's loopback 192.168.3.1 and R4 have no route in routing table for them. When I check R4 bgp table it show:
r i 192.168.3.0 192.168.34.2 0 100 0 100 i
r> 192.168.13.1 0 100 i
*>i 192.168.5.0 192.168.34.2 0 100 0 i
R1
router bgp 100
bgp log-neighbor-changes
neighbor 192.168.12.2 remote-as 100
neighbor 192.168.12.2 next-hop-self
neighbor 192.168.13.2 remote-as 200
R2
router bgp 100
bgp log-neighbor-changes
network 192.168.3.0
neighbor 192.168.12.1 remote-as 100
neighbor 192.168.12.1 next-hop-self
neighbor 192.168.24.2 remote-as 200
R4
router bgp 200
bgp log-neighbor-changes
neighbor 192.168.13.1 remote-as 100
neighbor 192.168.34.2 remote-as 200
neighbor 192.168.34.2 next-hop-self
R3
router bgp 200
bgp log-neighbor-changes
network 192.168.5.0
neighbor 192.168.24.1 remote-as 100
neighbor 192.168.34.1 remote-as 200
neighbor 192.168.34.1 next-hop-self
Solved! Go to Solution.
04-08-2020 11:35 AM - edited 04-08-2020 11:37 AM
Hi,
It's because R2 doesn't know how to reach 192.168.13.0 subnet between R1-R4. If you put static route for example pointing like on R2:
ip route 192.168.13.0 255.255.255.252 192.168.12.1
it will work so that R2 knows the route for return path. Same thing applies for R1 because R3 doesn't know how to route packet back because it doesn't know a route to the subnet between R1-R4.
04-08-2020 11:35 AM - edited 04-08-2020 11:37 AM
Hi,
It's because R2 doesn't know how to reach 192.168.13.0 subnet between R1-R4. If you put static route for example pointing like on R2:
ip route 192.168.13.0 255.255.255.252 192.168.12.1
it will work so that R2 knows the route for return path. Same thing applies for R1 because R3 doesn't know how to route packet back because it doesn't know a route to the subnet between R1-R4.
04-09-2020 02:15 AM
04-09-2020 01:21 AM
Hi,
A small diagram, even handmade, with how are the routers connected, which interconnects are used and what are the BGP peering would help.
Regards,
Cristian Matei.
04-09-2020 01:57 AM
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