Re: running dhclient on a statically configured interface?

From: Souji Thenria <mail_at_souji-thenria.net>
Date: Mon, 06 Jan 2025 21:14:17 UTC
Hi Jon,

On Mon Jan 6, 2025 at 6:57 PM CET, Jon Clausen wrote:
> Is it feasible to run dhclient(8) on the uplink interface, but still 
> have
> the interface itself be statically configured?

You might be able to configure this in the dhclient.conf(5) file; 
Something like this:

interface "ep0" {
    request domain-name-servers;
}

This should only request the DNS server and not anything else. However, 
I never tested this configuration...

>
> And secondly, is there some method to propagate the options that dhclient
> receives from the server for other non-standard purposes?
>

I'm not sure what you mean by that. But DHCP supports custom options, 
and I'm sure you can configure it somehow in the dhclient.conf(5) file 
as well.

Regards,
Souji

-- 
Souji Thenria
Website: www.souji-thenria.net