dhcpcd-discuss

Re: dhcpcd and static IPv6 addresses

Nicholas Williams

Fri Feb 05 21:38:33 2016

On Fri, Feb 5, 2016 at 3:06 PM, Roy Marples <roy@xxxxxxxxxxxx> wrote:

> Hi List!
>
> So over the years, several people have asked for dhcpcd to support
> static IPv6 addresses - I even have an open ticket for it. Now, IPv6 is
> designed around many addresses, whereas IPv4 is designed around a
> singular address. So some questions :)
>
>   *  Is there a need to configure >1 static IPv6 address?
>

I can imagine a whole host of reasons for needing >1 static IPv6 addresses,
as I can also imagine many reasons for >1 static IPv4s (none of them for
VyOS, because we use a different mechanism for static addresses). I'm
guessing you'd also need static v6 routers, like with IPv4?


>   *  Should a static IPv6 address disable IPv6RS and DHCPv6?
>

It seems invalid for an interface to have both static and dynamic
addresses, and I can't imagine a reason  why one would need it. Disabling
RS and DHCPv6 would also be consistent with static IPv4 support's disabling
DHCPv4, wouldn't it?

  *  Should it have it's own reason for dhcpcd-run-hooks(8)?
>

I'm not familiar enough with this to have an opinion.


> My thoughts are yes, no and yes. But please, let me know yours and your
> rationale for it.


I wasn't going to bug the list with this question until you sent an email
about it, but now that the subject has been breached, I'm quite curious:
Why does a program designed to be a DHCP client have support for static
addresses at all? Seems counter-intuitive.

Thanks,

Nick

Follow-Ups:
Re: dhcpcd and static IPv6 addressesRoy Marples
References:
dhcpcd and static IPv6 addressesRoy Marples
Archive administrator: postmaster@marples.name