I have discovered a strange behavior in my IPv6 configuration and would like to understand if there is some wrong configuration on my side or if this is a regular behavior.
My network is splitted up in three vlans on the ether2 interface. On ether2 a Wi-Fi Access point is connected.
/interface vlan
add interface=ether2 name=vlan7-other vlan-id=7
add interface=ether2 name=vlan9-iot vlan-id=9
add interface=ether2 name=vlan16-office vlan-id=16
Depending on the SSID, my AP is linking a related vlan:
SSID Other = vlan 7
SSID IOT = vlan 9
SSID Office = vlan 16
To get an /56 Prefix Pool, I have added a dhcp-client to my pppoe interface:
/ipv6 dhcp-client
add add-default-route=yes default-route-tables=main interface=pppoe-telekom pool-name=pppoe-telekom-dhcpv6-pool request=prefix use-peer-dns=no
Only clients von vlan16-office shall get an IPv6 via SLAAC. I added an IPv6 address and activated ND:
/ipv6 address
add comment=pppoe-ipv6-adr address=::/64 eui-64=yes from-pool=pppoe-telekom-dhcpv6-pool interface=vlan16-office
/ipv6 nd
add advertise-dns=no advertise-mac-address=no disabled=no hop-limit=unspecified interface=vlan16-office managed-address-configuration=no mtu=unspecified other-configuration=no ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m ra-preference=medium reachable-time=unspecified retransmit-interval=unspecified
All clients on vlan 16 are getting IPv6 addresses.
But the strange thing is, also some clients on the other vlan 7 and vlan 9 are also getting IPv6 addresses from the prefix range. IPv6 routing for vlan 7 and vlan 9 is broken.
My assumption was that with ND configuration, I can control the IPv6 delegation to the clients.
Is there a misconfiguration in my setup or is this intentional behavior on the part of IPv6?
And an additional question:
Do I need an IPv6 address (/ipv6 address comment=vlan16-ipv6-adr) on my vlan16-office interface or can I activate SLAAC on the vlan 16 without adding an IPv6 address to the interface=vlan16-office?
