10-06-2025 08:17 PM
Hi everyone, based on this diagram, how can PC3 access internet cross BGP Protocol?
10-06-2025 08:17 PM
10-07-2025 12:23 AM - edited 10-07-2025 12:23 AM
Hello @pochlikimhun
The key is that your Router 3 attached to PC3 must have the Default Route !
Your Router BGP-1 AS100 has got default route learn by OSPF! So redistribute that default route under its BGP process:
add this command on BGP-1 Router:
router bgp 100
bgp router-id 1.0.0.5
bgp log-neighbor-changes
no synchronization
neighbor 10.11.1.6 remote-as 101
redistribute ospf 1 match external 1 external 2
-- Router BGP-2 should learn now default route via BGP! And this router now has to redistribute this default route with OSPF:
BGP-2 Router:
router ospf 1
router-id 1.0.0.6
log-adjacency-changes
redistribute bgp 101 subnets
network 10.10.5.4 0.0.0.3 area 3
default-information originate
--Router-3 has got now default route and ping forme PC-3 to 8.8.8.8 is ok!
10-07-2025 12:25 AM
Thank you so much for your help, I will follow your comment.
10-07-2025 02:28 AM
You're so welcome
10-07-2025 01:04 AM
Thank you so much now PC3 can ping 8.8.8.8
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