View Issue Details

IDProjectCategoryView StatusLast Update
0000108Rocky-Linux-8NetworkManagerpublic2022-05-23 20:16
ReporterWayne Johnson Assigned ToLouis Abel  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Summary0000108: How to send DHCP option 81 unencoded
DescriptionWe need to send Option 81 to the DHCP server *unencoded*. When 8.0 first came out the solution was to disable NetworkManager's internal DHCP client and use dhclient (https://bugzilla.redhat.com/show_bug.cgi?id=1684595#c8):

    # cat /etc/NetworkManager/conf.d/dhcp.conf
    [main]
    dhcp=dhclient

And set these:

    # sudo cat dhclient.conf
    send fqdn.encoded off;
    send fqdn.server-update off;


At some point (probably a point release) this quit working, at least the encoding option stop being honored (this capture shows it is encoded):

    # tcpdump -i eno1 port 67 or port 68 -e -n -vv
    (snip)
    FQDN Option 81, length 39: [E] "^Ihostname^Esome^Ndomain^Cnet^@"
    (snip)

It looks to me like dhclient is not being used anymore even though we have that set in the config file.

How does one activate Option 81 and tell it NOT to encode the FQDN?
TagsNo tags attached.

Activities

Wayne Johnson

Wayne Johnson

2022-05-23 20:15

reporter   ~0000181

Disregard, dhcp-client was not installed, so it fell back to built-in.

Issue History

Date Modified Username Field Change
2022-05-23 19:31 Wayne Johnson New Issue
2022-05-23 20:15 Wayne Johnson Note Added: 0000181
2022-05-23 20:16 Louis Abel Assigned To => Louis Abel
2022-05-23 20:16 Louis Abel Status new => closed
2022-05-23 20:16 Louis Abel Resolution open => no change required