I currently get IPv6 via dhcp from my ISP and provide IPv6 to my local interfaces with pd. What’s needed to have a connecting l2tp client be given an IPv6 address by pd also? I’ve tried the obvious but I must be missing something.
create l2tp tunnel with ipv6 enabled. Set up dhcp-pd-cleint (ipv6 dhcp-client) assign ip address from the pool you get populated by PD-client to the local interface. Set up either another PD, for internal network routers or just advertise RA. Set up ipv6 dhcp server (not really to give out addresses, so windows clients will get DNS servers.
“create l2tp tunnel with ipv6 enabled”
- already have l2tp working via ipv4
“Set up dhcp-pd-cleint (ipv6 dhcp-client) assign ip address from the pool you get populated by PD-client to the local interface”
- where is the ipv6 server? I already have an ipv6 client on my wan interface
"Set up either another PD, for internal network routers or just advertise RA. "
- ND is already working internally … do I need to do more?
“Set up ipv6 dhcp server (not really to give out addresses, so windows clients will get DNS servers.”
- i’m not serving ipv6 via dhcp - is this required for the l2tp?
I’ll add some more information:
The mikrotik (d)ynamically adds a dhcp v6 server to the interface of the connecting clients. I see in ND neighbour discovery (prefixes tab), the clients are getting IPv6 addresses but they’re red.
If you enable IPv6 it will work using LL addresses. If you want global prefixes configured you have to assign a prefix to give out. If L2TP tunnel is not created by end user host but router you have to assign a pool that will be used by DHCP-(PD-)server
Perhaps I’m not following, but I already have a /56 pool and I’ve specified this pool to the ppp profile
that is why you have DHCP-server assigned to each tunnel interface created. On the other end you have to have DHCP-PD client to receive the prefix from your router.
or, you can assign simple prefix in profile, so that end users will receive the ipv6 global address.
if you set pool then no end user host will get global address (like phones, PCs etc.)