Development discussion of WireGuard
 help / color / mirror / Atom feed
From: mikma.wg@m7n.se
To: wireguard@lists.zx2c4.com
Subject: Re: wg-ip, a tool to assign automatic ip addresses to wireguard interfaces
Date: Thu, 12 Apr 2018 15:21:15 +0200	[thread overview]
Message-ID: <5ca6b5b4-ac07-a059-d5a0-afa7600c22ab@m7n.se> (raw)
In-Reply-To: <CAHLp1YkNypEBTK3MWN9hOgBt9p1jh1z76U0tdGTccbJ_PeA=Pw@mail.gmail.com>



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

  parent reply	other threads:[~2018-04-12 13:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10 12:32 Christophe-Marie Duquesne
2018-04-10 12:48 ` ST
2018-04-10 12:57 ` ST
2018-04-11 20:45 ` Christophe-Marie Duquesne
2018-04-12  9:01   ` ST
2018-04-12 11:42   ` Christophe-Marie Duquesne
2018-04-12 12:54     ` jens
2018-04-12 12:56     ` Matthias Urlichs
2018-04-12 13:21     ` mikma.wg [this message]
2018-04-13 22:25 ` Jason A. Donenfeld
2018-04-14  8:40   ` Christophe-Marie Duquesne
2018-04-14 11:51   ` Claude

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5ca6b5b4-ac07-a059-d5a0-afa7600c22ab@m7n.se \
    --to=mikma.wg@m7n.se \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).