Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2018 10:01:18 +0200
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        freebsd-net@freebsd.org
Subject:   DHCP vs. SYNCDHCP in rc.conf
Message-ID:  <2E43A157-FFA5-47E8-92DF-21986AF89487@punkt.de>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2E43A157-FFA5-47E8-92DF-21986AF89487>