Community discussions

MikroTik App
 
mafiosa
Member Candidate
Member Candidate
Topic Author
Posts: 266
Joined: Fri Dec 09, 2016 8:10 pm
Location: Kolkata, India
Contact:

BGP for IPv6 not working in vultr

Mon Feb 27, 2023 1:14 pm

Hello! I am trying to set up bgp for IPv6 on vultr. However all the routes are marked as unreachable or invalid. Is there any way to resolve this? Using v7.8RC3.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: BGP for IPv6 not working in vultr

Mon Feb 27, 2023 1:17 pm

Check if "stable" 7.8 fix the problem.
 
mafiosa
Member Candidate
Member Candidate
Topic Author
Posts: 266
Joined: Fri Dec 09, 2016 8:10 pm
Location: Kolkata, India
Contact:

Re: BGP for IPv6 not working in vultr

Mon Feb 27, 2023 1:36 pm

Check if "stable" 7.8 fix the problem.
No it doesn't has any fix related to this. Is CHR not supposed to work with Vultr for BGP?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: BGP for IPv6 not working in vultr

Mon Feb 27, 2023 1:38 pm

not enough information. If it is multihop bgp then probably you need to adjust scopes to recursively resolve the gateways of BGP routes.
 
mafiosa
Member Candidate
Member Candidate
Topic Author
Posts: 266
Joined: Fri Dec 09, 2016 8:10 pm
Location: Kolkata, India
Contact:

Re: BGP for IPv6 not working in vultr

Mon Feb 27, 2023 2:02 pm

not enough information. If it is multihop bgp then probably you need to adjust scopes to recursively resolve the gateways of BGP routes.
Yes it is multihop BGP. I have two queries:
1. What should I set the next hop to for the BGP peer route as default gateway is leant via RA? Should it be the link local address or the interface ipv6 address?
2. What should I set the scope and target scope for the BGP routes using routing filters?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: BGP for IPv6 not working in vultr

Mon Feb 27, 2023 2:04 pm

 
mafiosa
Member Candidate
Member Candidate
Topic Author
Posts: 266
Joined: Fri Dec 09, 2016 8:10 pm
Location: Kolkata, India
Contact:

Re: BGP for IPv6 not working in vultr

Mon Feb 27, 2023 2:06 pm

 
mafiosa
Member Candidate
Member Candidate
Topic Author
Posts: 266
Joined: Fri Dec 09, 2016 8:10 pm
Location: Kolkata, India
Contact:

Re: BGP for IPv6 not working in vultr

Tue Feb 28, 2023 7:32 am

No complete answers as usual. Just like their incomplete routing stack.
 
User avatar
tutugreen
just joined
Posts: 13
Joined: Fri Oct 06, 2017 3:14 pm

Re: BGP for IPv6 not working in vultr

Mon Mar 13, 2023 4:19 pm

Hi bgp players, just saw this, and I can tell you good news.

It works, solid establised bgp session on Vultr + RouterOS (Both v6 and v7).

Answer your question:

1.

Q: What should I set the next hop to for the BGP peer route as default gateway is leant via RA? Should it be the link local address or the interface ipv6 address?

A:
Case1: before you use dd command to write raw image, take a note your ipv6 gateway address.

Case2: you already in RouterOS:
Get your gateway mac-address, from Winbox -> IP -> ARP.
Convert that to IPv6 local-address. For example, use this online tools. https://ben.akrin.com/mac-address-to-ip ... converter/

ADD a ipv6 route, NO NEED to add default router (I mean no ::/0). dst.address is your bgp peer address (get it from vultr panel https://my.vultr.com/subs/?id=your-inst ... id#subsbgp, Vultr's ipv6 addres, not your instance address. ), gateway is that link-local address your found with your interface name, for example: "fe80::fc00:aaa:aaaa:aaaa%ether1"

2.

Q: What should I set the scope and target scope for the BGP routes using routing filters?

A: If i remember it correctly, you don't need to adjust that to make it works. as bgp with vultr works with Routeros v6, at that time mikrotik does not support recursive routes on IPv6, maybe I just rewrite to link-local or use default.

I current have it default as :
To vultr peer address: (scope:30, target scope:10, gateway: gw-link-local-address-you-found-in-q1)
Router received from BGP: Scope 40, target scope: 30 gateway: vultr-bgp-address)

From now, you shoud success ping your peer address.
Add bgp peers, enable multihop, like normal.
I forget if I configure that, or if it's a best practice, but it works on version 7.7rc5(and before, except some buggy version I don't remember)

If you have more question on this, you can contact bgp players (like, from dn42 unofficial telegram group/ others), thay have master experience on BGP @ RouterOS @ Vultr.

Who is online

Users browsing this forum: No registered users and 15 guests