Disable DHCP Client Options

If none of the more specific forums is the right place to ask

Disable DHCP Client Options

Postby iuno » 2021-01-21 12:55

I'm looking to disable some of the DHCP options as suggested possible on the manpage below

https://manpages.debian.org/testing/isc ... .5.en.html

It says
"By default all of the options are enabled. In order to disable an option you would edit the includes/site.h file and comment out the definition for the proper RFC."

What does it mean by "includes/site.h"?

I can't seem tot find that file/path?
iuno
 
Posts: 3
Joined: 2021-01-21 12:50

Re: Disable DHCP Client Options

Postby 4D696B65 » 2021-01-21 16:00

iuno wrote:What does it mean by "includes/site.h"?

site.h is a file in the source code. You must modify the source code and compile the package yourself.
User avatar
4D696B65
 
Posts: 2525
Joined: 2009-06-28 06:09

Re: Disable DHCP Client Options

Postby iuno » 2021-01-21 16:54

4D696B65 wrote:
iuno wrote:What does it mean by "includes/site.h"?

site.h is a file in the source code. You must modify the source code and compile the package yourself.


Thanks, any idea where I could locate the source code?
iuno
 
Posts: 3
Joined: 2021-01-21 12:50

Re: Disable DHCP Client Options

Postby 4D696B65 » 2021-01-21 17:11

User avatar
4D696B65
 
Posts: 2525
Joined: 2009-06-28 06:09

Re: Disable DHCP Client Options

Postby iuno » 2021-01-21 17:53

many thanks
iuno
 
Posts: 3
Joined: 2021-01-21 12:50

Re: Disable DHCP Client Options

Postby reinob » 2021-01-22 14:56

Do you want to disable options by the DHCP server, or ignore options by a DHCP client?

If the latter -> https://manpages.debian.org/buster/isc- ... .5.en.html.
You can also replace isc-dhcp-client (and ifupdown) with systemd-networkd, which might make it easier to do what you want.
reinob
 
Posts: 900
Joined: 2014-06-30 11:42


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable