cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
447
Views
0
Helpful
5
Replies

Can't access internet cross BGP Route

pochlikimhun
Level 1
Level 1

Hi everyone, based on this diagram, how can PC3 access internet cross BGP Protocol?

Capture.PNG

5 Replies 5

pochlikimhun
Level 1
Level 1

Here is my file.

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!

M02rt37_0-1759821649449.png

 

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Thank you so much for your help, I will follow your comment.

You're so welcome

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Thank you so much now PC3 can ping 8.8.8.8

pochlikimhun_0-1759824299492.png