Questions tagged [dhcpv6]

DHCPv6 is a protocol for advanced host auto configuration features on IPv6

DHCPv6 is a protocol used for auto configuration of hosts when more features than those offered by SLAAC are needed. DHCPv6 is used in combination with router advertisements such as those produced by . For simple network setups DHCPv6 is not needed and using alone will be sufficient.

20 questions
4
votes
0 answers

Obtaining an IPv6 prefix via Prefix Delegation in Xenial

I want to configure an Ubuntu (Xenial) box as an IPv4 and IPv6 router. (I have IPv4 working already.) I intend to use dnsmasq to distribute globally routable IPv6 addresses via RA. However, to do that, I first need to get the Ubuntu box acting as…
hsivonen
  • 2,667
3
votes
1 answer

DUID for wired and wireless adapters are the same. Ubuntu 16.04.2

So, I have already looked at this post and it has only partially answered my question, but added just as much confusion. I looked at both of the dhclient6-* files, one for the wired adapter, and the other for the wireless. They appear to be the…
user436183
3
votes
1 answer

How to retrieve the duid used in the dhcpv6 client

I m using odhcp6c as DHCPv6 client I want to know the DUID used by the my interface in the DHCPv6. How to retrieve the DUID?
2
votes
1 answer

Get IPv6 on PPPoE in Ubuntu

I have a strange situation here. If anyone can help, please do so. We're talking about a Linux Box running as Router using Ubuntu 18.04.3 LTS, with 2 interfaces: "lan" - which connects to my internal LAN and "wan" - which connects to my…
Adam
  • 61
2
votes
0 answers

How do I get Ubuntu 16.04 to generate a type 3 DUID instead of a Type 1 DUID?

I'm trying to get IPv6 set up on a client (no GUI) using DHCPv6. It appears that Ubuntu by default configures dhclient to generate a Type 1 DUID (LLT) - an ID based on the mac address and the time of boot. Instead I'd like it to generate a Type 3…
1
vote
1 answer

Get dynamic and static IPv6 address

I'm trying to make my Ubuntu 16.04.1 home server have (at least) two IPv6 addresses for its bonding interface of two physical network interfaces: A static local one from the fd:: range (for a Samba4 primary domain controller). A dynamic global one,…
1
vote
0 answers

Ubuntu server 20.04 IPv6 DUID

on an Ubuntu server acting as an DHCPv6 client with netplan set like this renderer: networkd dhcp6: true I received an IPv6 address but I need the DUID to create a static lease on a router. I did a lot of research on the internet but I found no…
clorant
  • 11
1
vote
2 answers

Cannot disable IPv6 Autoconf and Privacy Extensions, but sysctl values are set to disable it

Why I cannot disable IPv6 autoconfiguration even if the sysctl values are set to this? net.ipv6.conf.default.autoconf = 0 net.ipv6.conf.default.accept_ra = 0 net.ipv6.conf.all.accept_ra = 0 net.ipv6.conf.all.autoconf =…
Seolh
  • 11
1
vote
0 answers

DHCPv6 timeout preferred valid

Can someone tell me what this means, and how to fix it? Ubuntu 18.04. Dec 4 14:37:16 myserver systemd-networkd[28369]: enp2s0: DHCPv6 address xxxx:xxxx:xxxx:xxxx::49/128 timeout preferred 3600 valid 3600 Lots of these in the log.
1
vote
0 answers

How to connect to ipv6?

My server is connected to a network which supports ipv6, however, it can't connect to any ipv6 address. Ping6 returns a message "network is unreachable." and curl ipv6 don't work as well. How to check whether my network really supports ipv6 and if…
1
vote
1 answer

wide-dhcpv6 is failing to start because its using an interface that does not exist

I and trying to restart wide-dhcpv6 and I get this in the journalctl Feb 03 12:09:49 router sudo[1285]: ciaran : TTY=pts/0 ; PWD=/home/ciaran ; USER=root ; COMMAND=/bin/systemctl restart wide-dhcpv6-client Feb 03 12:09:49 router sudo[1285]:…
1
vote
0 answers

How are IAID's calculated?

I am troubleshooting DHCPv4 queries and trying to understand how the IAID values are calculated. According to the code in dhclient (dhc6.c - line 1715 to 2971) the IAID should be the last 4 (least significant) digits of the network card's MAC…
Ben
  • 111
1
vote
0 answers

Lost ipv6 address after trying to setup ipv6 forwarding

I have built a router based on Ubuntu server 16.04 LTS, which also acts as my home server. Right after fresh installation when I use ip addr, it successfully gave me the global ipv6 (not the local link that looks like fe80::) that Comcast assigns…
0
votes
1 answer

DHCPv6 assigned 64 prefix instead of 112 prefix

I'm trying to setup my DHCPv6 on ubuntu to assign an address with a 112 prefix. My configuration looks like this: subnet6 2001:db8:a0b::640a:0/112 { range6 2001:db8:a0b::6464:640a 2001:db8:a0b::6464:640d; default-lease-time 600; …
ocp1000
  • 101
0
votes
1 answer

Not able to run isc-dhcp-server6, getting error "PID Permission denied." for IPv6 server

Not able to run isc-dhcp-server6, getting error "Can't create PID file /run/dhcp-server6/dhcpd6.pid: Permission denied." I have added a isc-dhcp-server and configured IPv4 and IPv6 conf files. Once service started, I am getting the service status as…
1
2