Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jan 2025 22:14:17 +0100
From:      "Souji Thenria" <mail@souji-thenria.net>
To:        "Jon Clausen" <freebsd-questions@ymmv.dk>, <freebsd-questions@freebsd.org>
Subject:   Re: running dhclient on a statically configured interface?
Message-ID:  <D6VAUGQWCPQS.3HF5NEUUMFBG@souji-thenria.net>
In-Reply-To: <Z3wZbbtWuJyv7nEm@c02qx0.local>
References:  <Z3wZbbtWuJyv7nEm@c02qx0.local>

next in thread | previous in thread | raw e-mail | index | archive | help
--1d78e85f644715ccde29a8085bc69240dc12c19af7af4052208ae7aa6bec
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8; format=Flowed

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

--1d78e85f644715ccde29a8085bc69240dc12c19af7af4052208ae7aa6bec
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSG4/SRE6pqved9MLdAFYmA9YTsaAUCZ3xHqwAKCRBAFYmA9YTs
aGW/AQC+els6s75GCCDroARWcABV+XwgD//Z/6E0SMTrVhz07gEAohqPPu7YI0nm
BzA7LH4OqKDJ9Q/a9vv8iUimPdcFMQM=
=1J96
-----END PGP SIGNATURE-----

--1d78e85f644715ccde29a8085bc69240dc12c19af7af4052208ae7aa6bec--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D6VAUGQWCPQS.3HF5NEUUMFBG>