Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

problems with DHCP opt 61 on Raspi3 #336

@mam59

Description

@mam59

Before I begin: english is not my natural language, it maybe a bit hard for me the rather complex problem I have run into recently.

The problem could briefly be titled "NOOBs on a raspberry 3 cannot get a dhcp lease from a hardened microsoft dhcp server" (other vendors may be affected too, but are not tested)
Let us take a look into the request packet the NOOBs (1.9) sends out at boot time:
raspi3dhcp
We see that raspy with the ethernet mac address of ... AC-39-B0 sends out a request with an client id of (combined) "ebac39b0br27ebf96ce5", the first part is taken from the LAN card (Raspberry vendor stripped), the last part is the complete MAC from the WLAN card onboard.
This is a very nice and valid clientid for IPV6!, but it kills V4 if the server is configured to run in a mode with either reservations defined or with a mac filter.
If the microsoft server finds an option 61 in a packet it takes this id in favor to the mac address the packet originated from!
And, in the V4 part of the Server you have no chance to define a filter with such an id, only plain mac addresses are available!
So the admin has no chance to add this raspi to the list of allowed clients.
To let him in, he has to disable any filter mode of the server, then option 61 is ignored and the client is given a lease.
But even if he lets him in this way and then wants to freeze the given lease into a permanent reservation, it fails because the invalid (for V4) client id.

It seems to me like somebody has written the docs too deeply, NOOBs could safely drop this option 61 and everything will be fine again..

Sometimes doing less is giving more...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions