wg-ip, a tool to assign automatic ip addresses to wireguard interfaces

mikma.wg at m7n.se mikma.wg at m7n.se
Thu Apr 12 15:21:15 CEST 2018



On 04/12/2018 01:42 PM, Christophe-Marie Duquesne wrote:

> Long story short, you need a proper central server that will find the
> next ip address, or you need to stick to ipv6 (and in that case the
> address space makes it pointless to do that check).

I think one option is to use the DHCPv4-over-DHCPv6 (DHCP 4o6) Transport 
defined in RFC 7341. In that case you would need a link-local IPv6 
address which is used with DHCPv6. Via DHCPv6 you will be able to 
receive the DHCP 4o6 server address option. And then request an IPv4 
address using the DHCP 4o6 server.

https://datatracker.ietf.org/doc/rfc7341/

/Mikma


More information about the WireGuard mailing list