ipv6 help please

Hello!

I’m at the beginning and I’m trying to learn to use mikrotik.
I installed mikrotik 7.14 chr on a vps, and the provider assigns my ips statically.
With ipv4 it was a game, but the problem comes when I add ipv6, I add routes and it doesn’t work in any way.
No route to host…
/ipv6 address add address=ip::/64 inteface=ether1 advertise=yes
ipv6 route add dst-address=ip::/64 gateway=my-gatewayIpv6
Please, if you can help me with the commands, I will reset it from scratch and I want to be able to configure it. Thank you!

Is “inteface” a typo here on the forum, there on the CHR, or both?

Secondly, you don’t speak of having a peer VPS on the same virtual network at your hosting provider, so who are you “advertising” to? If this virtual “ether1” is connected to the hosting provider’s network directly, you’re offering IPv6 addresses within your /64 prefix to all of their other customers by setting this.


ipv6 route add dst-address=ip::/64 gateway=my-gatewayIpv6

That’s implicit. You can prove it to yourself by saying “/ipv6/route/print” after the first command.

What I think you mean to say instead is:


/ipv6 route add dst-address=::/0 gateway=ether1

That sets the default route through ether1, where you put the IPv6 prefix in the first command.

I reset the router, and added the following:
/ipv6/address/add address=2a12:bec0:540:10c::/64 advertise=yes interface=ether1
ipv6/route/ add dst-address=::/0 gateway=ether1

Now I have ping with the gateway, but only with the gateway


[admin@MikroTik] > ipv6/address/ print
Flags: G - GLOBAL
Columns: ADDRESS, INTERFACE, ADVERTISE

ADDRESS INTERFACE ADVERTISE

0 G 2a12:bec0:540:10c::/64 ether1 yes

[admin@MikroTik] > ipv6/route/ print
Flags: D - DYNAMIC; A - ACTIVE; c - CONNECT, s - STATIC
Columns: DST-ADDRESS, GATEWAY, DISTANCE

DST-ADDRESS GATEWAY DISTANCE

0 As ::/0 ether1 1
DAc 2a12:bec0:540:10c::/64 ether1 0

“/tool/traceroute” works for IPv6 as well. What do you get with a well-known address like “2606:4700:4700::1111”? (Cloudflare DNS.)

Also, be careful posting public IPs. Are you sure you want to publish the link between this forum account and your VPS’s public address?

Gateway is wrong. You need to set it not just interface. Two options: link-local-addr%ether1 or global addres without %ether1

https://www.youtube.com/watch?v=Rx2YfFW1TtM&t=46s

Regarding routing: the proper thing to do is to allow ROS to accept RAs. Unfortunately the setting is global for all interfaces:

/ipv6/settings/set accept-router-advertisements=yes

So you don’t have to set default route by hand (it seems you’re setting it wrong anyway).


And, by all means, stop advertising IPv6 address on WAN interface, it may distract other devices in same L2 broadcast domain.

Hello!
I tried all the options that I received from you and that I found in different tutorials on the Internet or in the mikrotik documentation, and no result… just a ping response as a reply echo that goes empty.
After 3 days in which I tried all the options, in parallel the one on the vps and the physical one that I own, I tried a tunnel from he.net.. and that one works, but my ips don’t.

I can’t understand why I don’t succeed, either I’m wrong or it’s too complicated or…