DHCP vs. SYNCDHCP in rc.conf

Patrick M. Hausen hausen at punkt.de
Tue Aug 7 08:07:26 UTC 2018


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 at punkt.de	http://punkt.de
AG Mannheim 108285		Gf: Juergen Egeling



More information about the freebsd-net mailing list