You are not logged in.
Hi,
I've got a dedicated server at online.net with an IPv6 address. online.net says to use dhclient to request the ipv6 address:
https://documentation.online.net/en/ded … pv6/prefix
basically I used a config file with my DUID I got from my server hoster and executed dhclient.
I used this method for a few years now, but it suddenly stopped working. dhclient now says:
Internet Systems Consortium DHCP Client 4.4.2
Copyright 2004-2020 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Can't bind to dhcp address: Address already in use
Please make sure there is no other dhcp server
running and that there's no entry for dhcp or
bootp in /etc/inetd.conf. Also make sure you
are not running HP JetAdmin software, which
includes a bootp server.
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging.
exiting.
I think this is because dhcpcd is running, too. It gets my ipv4 address. If I disable it, I cannot acces smy server anymore. So I try to use dhcpcd as well to get my ipv6 address but wasn't successful the last few days. I do not know how to set ip up. I tried writing my DUID to /etc/dhcpcd.duid. This did not help. DHCPCD tells me in the logs, that it uses a completely different duid. I've then overwritten /var/lib/dhcpcd/duid. Still no success.
Can anyone tell me how to use dhcpcd with a DUID to request an IPv6 address?
Thank you.
Last edited by Shino (2020-05-11 20:04:15)
Offline
I think on Arch dhcpcd uses /var/lib/dhcpcd/duid.
However, recent arch has enabled privsep in dhcpcd-9 (check your version), so it could also be relative to the directory of the dhcpcd user.
Check /var/lib/dhcpcd/var/lib/dhcpcd/duid.
Offline
Check /var/lib/dhcpcd/var/lib/dhcpcd/duid.
Thanks. This seems to be right. I'll try it out and see if it works. Thank you!
EDIT: I tried it out for a few days and it works stable for me. Therefore, closed.
Last edited by Shino (2020-05-11 20:03:38)
Offline
rsmarples wrote:Check /var/lib/dhcpcd/var/lib/dhcpcd/duid.
Thanks. This seems to be right. I'll try it out and see if it works. Thank you!
EDIT: I tried it out for a few days and it works stable for me. Therefore, closed.
Since a dhcpcd update the file seems to be moved. dhcpcd stopped working and segfaultet until I created the file under /var/lib/dhcpcd/duid
Offline