From nobody Mon Jan 06 21:14:17 2025 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YRn4P47gnz5kDv8 for ; Mon, 06 Jan 2025 21:14:29 +0000 (UTC) (envelope-from mail@souji-thenria.net) Received: from alisa.souji-thenria.net (alisa.souji-thenria.net [188.68.37.165]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YRn4N66sCz4dnd for ; Mon, 6 Jan 2025 21:14:28 +0000 (UTC) (envelope-from mail@souji-thenria.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=souji-thenria.net; s=20231116; t=1736198061; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=U4mk2H63jSAxC42ypMP5tnOfxjXmDTBiIJTNKffIfIQ=; b=K1dgeNDRcpRX03ftbOzjkFm9McJRGUdEiyFerxZA9Jyk0TGi4T6WMvsr5RbheT3JDg3kkT /55Y/Gd98bWFjLMW0IufzyVaL1NRmEKd0ImKzoJnAqS0PKqYHKeSSFy+Sj+IL6XOIePp37 Xg8VR0RV67wFCKUlE5LpxWpezc9mnPLsxVx32vLIy2QD8i8plNHx7PGQg8mWhdgQ2DUpGB PoobLn1MgWjSOW6s/y56HcVwihpB5IsO8JyIPv2tZTzo4RJoj1YhPBe2mAY9L+9O2efLnX nJFWm0nEqKUSa9m3d9fzKsy1FXC4RmB+UpWClLBp845lHdCLTApsVKTnHeWenj6qItWX9u jHt19Sh9At+H3wIKNxFYr2bGAHmOtdajiCLBv4KDu0Cc4uH7+prczTp7QbHdU15QvhkdVN e0RjL/clR9WStHNXaAA+AlbnkM8Q4WH+gCn1ee+VqgZ5UO52hg3+IxBpQlShhuk6Q+CkG+ /VvZv1h/YgDKjumIa/olDj9AeVwgN7nMwWUuYVJY6JMJVUV1Ijlt38ssUk6QBJawzfDsx0 BIg9CoaWwO9n7xi5DTBatUkXeJxIBDl32/TFn+hzuKGrli9Mj/HVHbf6gW/0MWtzZT6BaW xLXmqJs2ANZNsLVzROTgKNai0L5nUTgZFiAel4uZhtkXS2wnBINdQ= Received: by alisa.souji-thenria.net (OpenSMTPD) with ESMTPSA id 990de911 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 6 Jan 2025 22:14:19 +0100 (CET) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary=1d78e85f644715ccde29a8085bc69240dc12c19af7af4052208ae7aa6bec; micalg=pgp-sha512; protocol="application/pgp-signature" Date: Mon, 06 Jan 2025 22:14:17 +0100 Message-Id: To: "Jon Clausen" , Subject: Re: running dhclient on a statically configured interface? From: "Souji Thenria" References: In-Reply-To: X-Rspamd-Queue-Id: 4YRn4N66sCz4dnd X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:197540, ipnet:188.68.32.0/20, country:DE] --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--