dhcpcd icon indicating copy to clipboard operation
dhcpcd copied to clipboard

dhcpcd not able to send the proper vendorclassid and clientid in Ipv6

Open fgrillo64 opened this issue 4 months ago • 2 comments

on Ipv6 neither from config nor from command line arguments '-i', -'I' , dhcpdc sends the proper clientid and vendor class as specified instead sends

default values like:

vendorclassid "dhcpcd-10.0.6:Linux-6.6.69-yocto-standard:x86_64:GenuineIntel" clientid "0001000130285fbc006cbc5bef91"

dhcpcd -6 -1 -I '00:02:00:00:00:09:43:41:54:32:31:30:37:42:30:4d:44:00' -i 'PXEClient:Arch:00009:UNDI:003010:PID:NCS1001-K9' brXRmgmt1

======================================

dhcpcd -6 -1 -f /etc/kea/dhcpcd6.conf brXRmgmt1

/etc/kea/dhcpcd6.conf userclass "iPXE" clientid 00:02:00:00:00:09:43:41:54:32:31:30:37:42:30:4d:44:00 vendorclassid 9 47 "PXEClient:Arch:00009:UNDI:003010:PID:NCS1001-K9" # This specifies list of options that client will request. option dhcp6_name_servers option dhcp6_domain_search option dhcp6_bootfile_url option dhcp6_fqdn option dhcp6_vivso

Image

any suggestion about how solve this issue ? maybe i did any mistake ?

fgrillo64 avatar Aug 08 '25 20:08 fgrillo64

You are using DHCPv4 options. Try using duid instead of clientid. Try using vendclass rather than vendorclassid.

rsmarples avatar Sep 13 '25 12:09 rsmarples

@fgrillo64 Has the above suggestion fixed the issue?

perkelix avatar Nov 16 '25 11:11 perkelix