Community discussions

MikroTik App
 
volga629
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 75
Joined: Tue Nov 19, 2013 6:21 am

BGP VRF broken on CHR v7 rc4

Fri Oct 08, 2021 2:18 am

Hello Everyone,
I am trying configure BGP with VRF and it use wrong source IP to establish BGP session were in BGP configuration explicitly set SOURCE IP

As you can see it following default gateway configuration and NOT vrf addressing.


Mikrotik IP
admin@MikroTik] /routing/bgp/connection> /ip/dhcp-client/print 
Columns: INTERFACE, USE-PEER-DNS, ADD-DEFAULT-ROUTE, STATUS, ADDRESS
# INTERFACE  USE-PEER-DNS  ADD-DEFAULT-ROUTE  STATUS  ADDRESS         
0 ether1     yes           yes                bound   10.41.100.154/24
[admin@MikroTik] /routing/bgp/connection> 


BGP configuration
[admin@MikroTik] /routing/bgp/connection> print detail 
Flags: D - dynamic, X - disabled, I - inactive 
 0   name="overlay-192.0.2.2" 
     remote.address=192.0.2.2 .as=65530 
     local.address=192.0.2.1 .role=ebgp 
     connect=yes listen=yes routing-table=OVERLAY vrf=OVERLAY router-id=192.0.2.1 templates=overlay as=65366 nexthop-choice=force-self multihop=yes address-families=ip 
     output.default-originate=always 
     
 admin@MikroTik] /routing/bgp/connection> /routing/bgp/template/print 
Flags: * - default; X - disabled, I - inactive 
 0 *  name="default" routing-table=main as=65530 

 1    name="overlay" routing-table=OVERLAY vrf=OVERLAY router-id=OVERLAY as=65366 nexthop-choice=force-self multihop=yes address-families=ip 
      output.default-originate=always


Connections Tracking
[admin@MikroTik] /routing/bgp/connection> /ip/firewall/connection/print 
Flags: S - SEEN-REPLY; A - ASSURED; C - CONFIRMED
Columns: PROTOCOL, SRC-ADDRESS, DST-ADDRESS, TCP-STATE, TIMEOUT, ORIG-RATE, REPL-RATE, ORIG-PACKETS, REPL-PACKETS, ORIG-BYTES, REPL-BYTES
#     PROTOCOL  SRC-ADDRESS          DST-ADDRESS       TCP-STATE    TIMEOUT    ORIG-RATE  REPL-RATE  ORIG-PACKETS  REPL-PACKETS  ORIG-BYTES  REPL-BYTES
0 SAC tcp       10.41.100.153:40512  10.41.100.154:22  established  1d         4.9kbps    6.2kbps           1 847         1 149     143 180     251 608
1   C tcp       10.41.100.154:50844  192.0.2.2:179     syn-sent     3s         480bps     0bps                  3             0         180           0
2 SAC tcp       10.41.100.153:36344  10.41.100.154:80  established  23h59m49s  0bps       0bps                 96            95       5 873       5 319
3   C tcp       10.41.100.154:57098  192.0.2.3:179     syn-sent     3s         480bps     0bps                  3             0         180           0
[admin@MikroTik] /routing/bgp/connection> 

 
stathisch
just joined
Posts: 16
Joined: Wed Oct 26, 2016 12:29 am

Re: BGP VRF broken on CHR v7 rc4

Sun Oct 24, 2021 2:35 am

Exact same issue on CCR2004.
Tested with rc2, rc3 and rc4, no difference.
 
stathisch
just joined
Posts: 16
Joined: Wed Oct 26, 2016 12:29 am

Re: BGP VRF broken on CHR v7 rc4

Thu Oct 28, 2021 2:54 pm

@volga629 have you tried with rc5?
 
volga629
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 75
Joined: Tue Nov 19, 2013 6:21 am

Re: BGP VRF broken on CHR v7 rc4

Fri Nov 12, 2021 5:33 am

@volga629 have you tried with rc5?
Yes, no go.
Off topic, Overlay ( VXLAN L3) with BGP is not coming up too.


There are release rc6 going re test, there are was fixes for vrf.
Last edited by volga629 on Fri Nov 12, 2021 5:35 am, edited 1 time in total.
 
stathisch
just joined
Posts: 16
Joined: Wed Oct 26, 2016 12:29 am

Re: BGP VRF broken on CHR v7 rc4

Fri Nov 12, 2021 5:34 am

Works with rc6 :-)
 
volga629
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 75
Joined: Tue Nov 19, 2013 6:21 am

Re: BGP VRF broken on CHR v7 rc4

Fri Nov 12, 2021 5:36 am

Works with rc6 :-)
That great news. Thank you. Happy Friday
 
stathisch
just joined
Posts: 16
Joined: Wed Oct 26, 2016 12:29 am

Re: BGP VRF broken on CHR v7 rc4

Fri Nov 19, 2021 2:01 am

Coming back to this.

Turns out, while the sessions do establish, the routes received are not placed into the correct VRF...
 
volga629
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 75
Joined: Tue Nov 19, 2013 6:21 am

Re: BGP VRF broken on CHR v7 rc4

Fri Nov 19, 2021 5:49 am

Did you report ?
Can you provide any logs output ?
 
lamaral
just joined
Posts: 3
Joined: Fri Jul 23, 2021 1:14 am

Re: BGP VRF broken on CHR v7 rc4

Tue Jan 18, 2022 7:57 pm

I reported the same issue of BGP routes getting installed into the wrong VRF about a month ago in SUP-69254 and haven't heard anything from Mikrotik so far.

Who is online

Users browsing this forum: No registered users and 23 guests