I'm having trouble configuring BGP session in VRF. For testing purposes, I'm recieving on 0.0.0.0/0 and it says that it is invalid, unreachable. Same config in main VRF works just fine.
I had the same problem with version v7.1 but then I saw that it should be fixed in v7.1rc6
*) bgp - fixed connection establishment if peer is in VRF;
Currently running on v7.1rc7
BGP config:
Code: Select all
/routing bgp connection
add as=65500 connect=yes disabled=no listen=yes local.address=10.77.202.230 \
.role=ebgp-peer name=ISP_RC01 output.network=bgp-networks .redistribute=\
connected remote.address=10.77.202.229/32 .as=65001 router-id=10.77.202.230 \
routing-table=vrf_ISP vrf=vrf_ISP
VRF config:
Code: Select all
/ip vrf
add interfaces="Lo0,vlan10 - ISP" name=vrf_ISP
Route:
Code: Select all
DIbH dst-address=0.0.0.0/0 routing-table=vrf_ISP gateway=10.77.202.229
distance=20 scope=40 target-scope=10 suppress-hw-offload=no
BGP Session:
Code: Select all
0 E remote.address=10.77.202.229@vrf_ISP .as=65001 .id=10.90.0.1
.refused-cap-opt=no .capabilities=mp,rr,as4,err .hold-time=20s
.messages=91 .bytes=1766 .eor=ip
local.role=ebgp-peer .address=10.77.202.230@vrf_ISP .as=65500
.id=10.77.202.230 .capabilities=mp,rr,gr,as4 .messages=90 .bytes=1764
.eor=""
output.procid=21 .network=bgp-networks
input.procid=21 ebgp
routing-table=vrf_ISP hold-time=20s keepalive-time=6s670ms
Am I doing something wrong?
Thanks in advance!