Community discussions

MikroTik App
 
User avatar
jprietove
Trainer
Trainer
Topic Author
Posts: 212
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Bug in ipv6 link-local address is now generated from tunnel local-address

Wed Feb 15, 2017 10:37 am

In Release 6.37 there was this improvement:
*) tunnel - ipv6 link-local address is now generated from tunnel local-address;
Now, using Release 6.38 I've found what I think is a bug:
Let's create a 6to4 tunnel with local address 10.0.0.1 and show the associated ipv6 link-local address:
[admin@MikroTik]>interface 6to4 add local-address=10.0.0.1
[admin@MikroTik]>ipv6 address print
#       ADDRESSS         FROM INTERFACE      ADV
...
6 DL  fe80::a00:1/64          6to4-tunnel1    no
a00:1 is the hexadecimal representation of 10.0.0.1
Now, let's create another 6to4 tunnel with local address 11.0.0.1 and show the associated ipv6 link-local addresses:
[admin@MikroTik]>interface 6to4 add local-address=11.0.0.1
[admin@MikroTik]>ipv6 address print
#       ADDRESSS         FROM INTERFACE      ADV
...
6 DL  fe80::a00:1/64          6to4-tunnel1    no
7 DL  fe80::a00:1/64          6to4-tunnel2    no
As you can see, it's the same local link address. I think it should be fe80::b00:1/64 instead.
As far as I have tested, it seems that the auto-generated link-local address ignores the 8th bit of the IPv4 local-address.

Is this a bug or a feature?
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: Bug in ipv6 link-local address is now generated from tunnel local-address

Thu Feb 16, 2017 2:07 am

I can confirm this behaviour with latest 6.39rc27 and it does look like bug. At least I can't come up with any good explanation what kind of feature it could be.
 
roadracer96
Forum Veteran
Forum Veteran
Posts: 730
Joined: Tue Aug 25, 2009 12:01 am

Re: Bug in ipv6 link-local address is now generated from tunnel local-address

Fri Feb 17, 2017 3:33 am

It's intentional. It used to be generated from the tunnnel name so if you created a tunnel called sitea_siteb on both routers they would have the same ll address and ospfv3 wouldn't work over them.
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: Bug in ipv6 link-local address is now generated from tunnel local-address

Fri Feb 17, 2017 5:35 am

The complaint is that it ignores one bit from address, so you can still get same LL addresses for two different IP addresses.
 
roadracer96
Forum Veteran
Forum Veteran
Posts: 730
Joined: Tue Aug 25, 2009 12:01 am

Re: Bug in ipv6 link-local address is now generated from tunnel local-address

Sun Feb 19, 2017 5:16 am

Ahh. I see. Yeah. That looks like a bug.
 
User avatar
jprietove
Trainer
Trainer
Topic Author
Posts: 212
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: Bug in ipv6 link-local address is now generated from tunnel local-address

Tue Feb 21, 2017 9:09 am

Thank you very much for your opinions. Anybody knows how to report this bug? Or maybe Mikrotik read this forum and will solve it?

Thank you again!
 
savage
Forum Guru
Forum Guru
Posts: 1263
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Re: Bug in ipv6 link-local address is now generated from tunnel local-address

Tue Feb 21, 2017 9:18 am

Thank you very much for your opinions. Anybody knows how to report this bug?
support@mikrotik.com
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Bug in ipv6 link-local address is now generated from tunnel local-address

Wed Mar 01, 2017 10:36 am

Thank you very much for the report, it seems interesting. We will try to fix it shortly.
 
User avatar
jprietove
Trainer
Trainer
Topic Author
Posts: 212
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: Bug in ipv6 link-local address is now generated from tunnel local-address

Wed Jun 14, 2017 10:10 am

This issue has been fixed in version 6.39.2. I've tested it and seems it is working fine.

Thank you very much!

Who is online

Users browsing this forum: orionren and 64 guests