Community discussions

MikroTik App
 
dbrgn
just joined
Topic Author
Posts: 3
Joined: Sat Nov 14, 2020 8:05 pm

IPv6 address not persistent

Sat Nov 14, 2020 8:10 pm

My internet provider provides IPv6 via prefix delegation (DHCPv6). I'm getting a /60 network.

I successfully set up an address pool (prefix size /64). From that address pool, I want to create two /64 networks.

First, I created a network for all devices that use SLAAC:

/ipv6 address add address=::1 from-pool=isp-v6-pool interface=bridge advertise=yes comment="Main IPv6 net"

Then I added a network for devices that will be configured using a static IPv6:

/ipv6 address add address=::1 from-pool=isp-v6-pool interface=bridge advertise=no comment="Server IPv6 net"

This works, both /64 networks are created. However, when I reboot the router, only the first address is still around, the second is gone. On the device with the static IP, routing stops working when rebooting the router.

The only difference is that the second net uses advertise=no. Is that the reason? Or could it be a bug? (Note that I'm still quite an IPv6 beginner, so this might be some kind of conceptual misunderstanding on my side.)

RouterOS version is v6.47.2.
 
dbrgn
just joined
Topic Author
Posts: 3
Joined: Sat Nov 14, 2020 8:05 pm

Re: IPv6 address not persistent

Sun Jan 24, 2021 1:39 pm

Does nobody know anything about this problem? It feels like a RouterOs bug to me...
 
proximus
Member Candidate
Member Candidate
Posts: 119
Joined: Tue Oct 04, 2011 1:46 pm

Re: IPv6 address not persistent

Sun Jan 24, 2021 4:59 pm

The only difference is that the second net uses advertise=no. Is that the reason?
No

I'm scratching my head over trying to assign two /64's from a pool to the same interface. Very suspect over that being a valid configuration. I get a /60 and assign to multiple physical/vlan interfaces as such:
/ipv6 address
add address=::1 advertise=no from-pool=comcast-ipv6 interface=ether2-lan
add address=::1 from-pool=comcast-ipv6 interface=ether5-dmz
add address=::1 disabled=yes from-pool=comcast-ipv6 interface=ether4-available
add address=::1 from-pool=comcast-ipv6 interface=v1003-guest
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11593
Joined: Thu Mar 03, 2016 10:23 pm

Re: IPv6 address not persistent

Sun Jan 24, 2021 5:54 pm

This works, both /64 networks are created. However, when I reboot the router, only the first address is still around, the second is gone. On the device with the static IP, routing stops working when rebooting the router.
Generally it doesn't make much sense to give device multiple addresses from different subnets on the same interface. I mean that devices from different subnets won't communicate directly with each other because they are not supposed to and traffic will pass router anyway, so why not making the right thing and separate them to two subnets (can be VLANs). OTOH just to have some device static address set it is not necessary to create a separate subnet for it...

Who is online

Users browsing this forum: No registered users and 30 guests