Re: Correct format for DHCP Options
Roy Marples
Wed Jan 01 13:15:14 2020
Hi Mark
On 31/12/2019 15:40, Mark Gannon wrote:
Hello,
I'm trying to get my Ubuntu 18 box to connect directly to my ATT Uverse
account using dhcpcd. dhcpcd --version returns:
dhcpcd 6.11.5 Copyright (c) 2006-2016 Roy Marples Compiled in features: INET
IPv4LL INET6 DHCPv6 AUTH
You should look into upgrading dhcpcd!
Everything works fine for IPv4, but while I receive an IPv6 address, it
doesn't cross the router. Per the instructions for Openbsd at https://
jcs.org/2019/03/21/uverse, I need to specify a DUID. I could use some
assistance configuring dhcpcd to replicate what a successful DHCP request
from the actually router looks like. A successful DHCP packet looks like the
one depicted in this Wireshark screen capture: https://postimg.cc/LJ5NWbwY.
What would example entries in dhcpcd.conf look like in order to recreate the
same fields as shown in the image under Client Identifier and
Vendor-specific Information?
man 8 dhcpcd
Should list where the DUID file is in the FILES section.
dhcpcd-definitions.conf has an example of how to use VI option:
##############################################################################
# Vendor-Identifying Vendor Options
# An example:
#vendopt 12345 encap frobozzco
#encap 1 string maze_location
#encap 2 byte grue_probability
Good luck!
Roy
Archive administrator: postmaster@marples.name