Does MikroTik support PPPoE DHCPv6 Stateful IPv6 address Assignment?

Hello,

I am trying to set up MikroTik RouterOS (7.20.4) on a server using Proxmox. So far, so good.

I am trying to configure the PPPoE DHCPv6 server so that the MikroTik can assign an IPv6 address to a connected client through stateful DHCPv6. In the configuration, I can see that when the connection between the MikroTik and the client is established, the client requests a non-temporary address (IA_NA). However, the PPPoE DHCPv6 server replies that there are no IPv6 addresses available.

On the configuration page, in the DHCPv6 server section, I can see that the 'Address pool' is set to 'static only' and I am unable to change it to an actual pool.

The question is whether MikroTik RouterOS supports stateful address assignment for IPv6 as a DHCPv6 server in PPPoE, or if there is any other way to overcome this limitation.

Thank you in advance.

What device is it? Is one relevant information.

Since RouterOS 7.20.x seem have some problem with pppoe, for do any test use the 7.19.x

You do not see any pool, or you can not change the static-only to one already existent ipv6 pool?

Do /ipv6 export and paste the result on forum, except serial number, and anonimyze the IPs

The DHCPv6 server cannot hand out addresses, only prefixes. You can have the client request a prefix and assign an address to its interface from the received prefix. When you use a larger prefix length in the pool. you can hand out multiple prefixes and the client can use them on multiple networks (e.g. the link and an internal network).

Hello,

Thanks for the feedback. You cannot configure an IPv6 pool for stateful IPv6 assignment in PPPoE in mikrotik .

The scenario I am trying is to connect a router as client to mikrotik which supports DHCPv6 for configuring its WAN IPv6 and for assigning to its clients, it can then use the subnet retrieved by prefix delegation request which was successfully replied by mikrotik PPP server.

A MikroTik router, or any router? I don’t know the specific capabilties of other routers, but I am running a MikroTik router as client with a /62 prefix size in the pool, it gets a /62 in the client pool and I can assign the addresses from there (IPv6 address “from pool”)

Another non mikrotik router.

Do you mean that you are assigning manually in every client an IPv6?

Hello,

Yes that was my conclusion, that this was a “limitation“ in mikrotik PPP server. However I would like to stick to the stateful IPv6 assignment for my client even though it can support also SLAAC for configuring its IPv6.

So do you believe that there is no valid way to configure a DHCPv6 server for stateful IPv6 allocation to the mikrotik clients?

would it be supported any time in the future?

The dynamic DHCPv6 server instance that is automatically created for each PPPoE can handout prefixes from pool, but not individual IPv6 address. In recent versions, if you manually create a DHCPv6 server entry, then you can configure it to also handout IPv6 address (IA_NA), but for the dynamic DHCPv6 server spawned by PPPoE Server, this is not yet configurable.

But if the PPPoE client is another router, then there is no need to assign single IPv6 addresses via DHCPv6, it's much better to handout prefixes (IA_PD). And that is fully supported:

In the PPP profile associated with the PPPoE server, assign a pool to the DHCPv6 PD Pool field (dhcpv6-pd-pool). On the connected PPPoE client device, configure DHCPv6 client to request a prefix. The client will then get a prefix from the configured pool delegated to it.

1 Like