Community discussions

MikroTik App
 
fivestar
newbie
Topic Author
Posts: 29
Joined: Wed Jul 05, 2017 7:46 pm

BGP VPN4 Issues

Mon Mar 02, 2020 1:03 am

Hello everyone, the question is that I have 3 Mikrotiks Routers connected to P1 connected to P2 and P3 connected to P2, and between P3 and P1 there is no direct connection through P2, the thing is that I have a BGP sharing route by VRF between P1 and P2, but I can't find the way that P2 shares those same routes to P3, here I share my settings

P1:
/routing bgp instance set default router-id=10.255.255.2
/routing bgp instance vrf add routing-mark=RB3011_QRT_wlan15
/routing bgp peer add address-families=ip,vpnv4 multihop=yes name=RB remote-address=10.255.255.1 remote-as=65530 route-reflect=yes tcp-md5-key=plpplp ttl=
default update-source=loopback

/ip route vrf add export-route-targets=20:15 import-route-targets=20:15 route-distinguisher=20:15 routing-mark=RB3011_QRT_wlan15


P2:
/routing bgp instance set default router-id=10.255.255.1
/routing bgp instance vrf add routing-mark=RB3011_QRT_wlan15
/routing bgp peer add address-families=ip,vpnv4 multihop=yes name=QRT remote-address=10.255.255.2 remote-as=65530 route-reflect=yes tcp-md5-key=plpplp ttl=default update-sou
rce=loopback use-bfd=yes
/routing bgp peer add address-families=ip,vpnv4 multihop=yes name="CHR Rey" remote-address=10.255.255.4 remote-as=65530 ttl=default update-source=loopback

/ip route vrf add export-route-targets=20:15 import-route-targets=20:15 route-distinguisher=20:15 routing-mark=RB3011_QRT_wlan15


P3:
/routing bgp instance set default router-id=10.255.255.4
/routing bgp peer add address-families=ip,vpnv4 multihop=yes name=x86 remote-addre
ss=10.255.255.1 remote-as=65530 ttl=default update-source=loopback

/ip route vrf add export-route-targets=20:15 import-route-targets=20:15 route-distinguisher=20:15 routing-mark=RB3011_QRT_wlan15

The route table I want to share is this routing-mark=RB3011_QRT_wlan15 , but it doesn't give me traffic from P3 :(
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: BGP VPN4 Issues

Mon Mar 02, 2020 11:57 am

You need either fullmesh (all peers connected to each other) or set for example R2 as route reflector.

Who is online

Users browsing this forum: No registered users and 46 guests