Community discussions

MikroTik App
 
fflo
newbie
Topic Author
Posts: 46
Joined: Wed Jan 02, 2019 7:59 am

howto setup static ipv6 prefix from ipv6 pool

Mon Nov 18, 2019 3:17 am

Hi

how can I set up static subnet prefixes for connected interfaces from a provider DHCPv6 assigned IPv6 pool with RouterOS?

Using this configuration does not work on RouterOS:
[admin@mikrotik-labdemo] /ipv6 pool> print
Flags: D - dynamic
 #   NAME                                    PREFIX                                      PREFIX-LENGTH EXPIRES-AFTER
 0 D DSL-IPV6-POOL                          2001:beef:cafe:ff00::/56                                 64 1h46m45s
[admin@mikrotik-labdemo] /ipv6 pool> /ipv6 address
[admin@mikrotik-labdemo] /ipv6 address> export
add address=::a:0:0:0:feed from-pool=DSL-IPV6-POOL interface=vlan10
add address=::b:0:0:0:feed from-pool=DSL-IPV6-POOL interface=vlan11
add address=::c:0:0:0:feed from-pool=DSL-IPV6-POOL interface=vlan12
RouterOS is ignoring the subnet prefix part which results in random (up counting) subnet assignments from the ipv6 pool.

Using the same configuration with Cisco IOS works perfectly fine:
interface Dialer0
 description DSL
 ...
 ipv6 enable
 no ipv6 redirects
 no ipv6 unreachables
 ipv6 verify unicast reverse-path
 ipv6 dhcp client pd DSL-IPV6-POOL rapid-commit
 ...
!
interface Vlan10
 ip address ...
 ipv6 address DSL-IPV6-POOL ::A:0:0:0:FEED/64
 ...
!
interface Vlan11
 ip address ...
 ipv6 address DSL-IPV6-POOL ::B:0:0:0:FEED/64
 ...
 !
 interface Vlan12
 ip address ...
 ipv6 address DSL-IPV6-POOL ::C:0:0:0:FEED/64
 ...
Any hints on how to fix this issue on Mikrotik RouterOS?

Thanks
-fflo
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: howto setup static ipv6 prefix from ipv6 pool

Mon Nov 18, 2019 10:59 am

There is a "bug" in ROS: the wildcard size is not equal the pool size, but the prefixes it hand out.
There was a topic about that not long ago:
viewtopic.php?f=1&t=153437&p=757885
 
fflo
newbie
Topic Author
Posts: 46
Joined: Wed Jan 02, 2019 7:59 am

Re: howto setup static ipv6 prefix from ipv6 pool

Fri Nov 22, 2019 2:16 am

Ack.
@Mikrotik: any hint when this issue will be fixed?

Who is online

Users browsing this forum: deejay2, Google [Bot], GSULLCA, kakiharaNL and 148 guests