IPv6 routing question/problem

Hello,

i’ve encountered strange IPv6 routing problem on my home microtik (let’s call it HomeTik)

My HomeTik acts as border router for my home LAN network. There are two IPv6 interfaces attached to brLan:

2001:470:733d:1::1/64 - this is an IP segment for devices with static IP configuration (servers in my local network etc.).
Currently i have one server with static IP in this segment and it works as expected.

2001:470:733d::1/64 - this is an IP segment with address advertisment enabled, intended for devices with no need for fixed IP.
The address advertisment workd fine, my computer in local networks auto-configures its ip to ‘2001:470:733d:0:21d:60ff:feca:4202’.

But when i try to ping from HomeTik to my PC, it cannot find the correct route and tries to send the packets via default route,
which leads to loop and ‘hop limit exceeded’ error.

My IPv6 config (sit1 is local side of huricane-electric ipv6 tunnel, brLan is bridged interface to my LAN):

# aug/14/2012 11:38:57 by RouterOS 5.2
# software id = HW8H-EQJ7
/ipv6 address
add address=2001:470:1f0a:e20::2/64 advertise=no disabled=no eui-64=no interface=sit1
add address=2001:470:733d::1/64 advertise=yes comment="Subnet with address advertisment" disabled=no eui-64=no interface=brLan
add address=2001:470:733d:1::1/64 advertise=no comment="Subnet for static-ip devices" disabled=no eui-64=no interface=brLan
/ipv6 nd
add advertise-dns=no advertise-mac-address=yes disabled=no hop-limit=unspecified interface=all managed-address-configuration=no mtu=\
    unspecified other-configuration=no ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m reachable-time=unspecified retransmit-interval=\
    unspecified
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=1w valid-lifetime=4w2d
/ipv6 route
add disabled=no distance=1 dst-address=::/0 gateway=2001:470:1f0a:e20::1 scope=30 target-scope=10

Route listing:

[admin@MikroTik] > ipv6 route print 
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, o - ospf, b - bgp, U - unreachable 
 #      DST-ADDRESS              GATEWAY                  DISTANCE
 0 A S  ::/0                     2001:470:1f0a:e20::1     1
 1 ADC  2001:470:1f0a:e20::/64   sit1                     0
 2 ADC  2001:470:733d::/64       brLan                    0
 3 ADC  2001:470:733d:1::/64     brLan                    0
[admin@MikroTik] >

Pinging 2001:470:733d:0:21d:60ff:feca:4202 (PC in my lan network):

[admin@MikroTik] > ping 2001:470:733d:0:21d:60ff:feca:4202
HOST                                    SIZE  TTL TIME  STATUS
2001:470:1f0a:e20::2                    104   64  833ms hop limit exceeded
2001:470:1f0a:e20::2                    104   64  814ms hop limit exceeded
2001:470:1f0a:e20::2                    104   64  817ms hop limit exceeded

Traceroute shows that HomeTik routes the packet wrongly via default route:

[admin@MikroTik] > /tool traceroute 2001:470:733d:0:21d:60ff:feca:4202
 # ADDRESS                                 RT1   RT2   RT3   STATUS                                  
 1 2001:470:1f0a:e20::1                    31ms  33ms  30ms                                          
 2 2001:470:1f0a:e20::2                    25ms  27ms  26ms                                          
 3 2001:470:1f0a:e20::1                    58ms  57ms  56ms                                          
 4 2001:470:1f0a:e20::2                    75ms  48ms  49ms                                          
 5 2001:470:1f0a:e20::1                    0ms   82ms  0ms                                           
 6 2001:470:1f0a:e20::2                    75ms  73ms  74ms

When i disable the default route, HomeTik can’t find any route at all:

[admin@MikroTik] > ping 2001:470:733d:0:21d:60ff:feca:4202            
HOST                                    SIZE  TTL TIME  STATUS                                       
                                                        no route to host                             
                                                        no route to host                             
                                                        no route to host

What am i doing wrong?

Upgrade to latest version. There are many ipv6 fixes.

Thanks for fast reply, after upgrading to latest version (5.19) the problem vanishes and everything works as expected.