From owner-freebsd-net@freebsd.org Tue Aug 7 08:07:26 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5D1010513E6 for ; Tue, 7 Aug 2018 08:07:26 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 361EF82989 for ; Tue, 7 Aug 2018 08:07:25 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate1.intern.punkt.de with ESMTP id w7781HJh059352 for ; Tue, 7 Aug 2018 10:01:17 +0200 (CEST) Received: from [217.29.44.49] ([217.29.44.49]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id w7781Hem075304 for ; Tue, 7 Aug 2018 10:01:17 +0200 (CEST) (envelope-from hausen@punkt.de) From: "Patrick M. Hausen" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: DHCP vs. SYNCDHCP in rc.conf Message-Id: <2E43A157-FFA5-47E8-92DF-21986AF89487@punkt.de> Date: Tue, 7 Aug 2018 10:01:18 +0200 To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2018 08:07:26 -0000 Hi all, from reading the docs I think that SYNCDHCP is supposed to wait for dhclient to finish and that there should not be another difference. But then why does ifconfig_em0_name="inet0" ifconfig_inet0="SYNCDHCP" in rc.conf lead to the desired result while ifconfig_em0_name="inet0" ifconfig_inet0="DHCP" doesn't? ifconfig_em0="DHCP" works as it should but renaming and configuring via DHCP works only if combined with SYNC. Reading /etc/rc.subr did not help ;-) I simply don't get it. Thanks Patrick -- punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling