On 2016-09-20, Theodore Wynnychenko <[email protected]> wrote:
> First, I can't get the isc-dhcp-client to assign an alias to the interface,
> despite the documentation that states it should.
It seems to work if you preset the alias address on the interface
before running dhclient.
> Second, I (apparently) don't understand how to replace the base dhclient with
> the isc dhclient at boot.
>
> I tried modifying /etc/hostname.em0 from:
> ---
> dhcp NONE NONE NONE description "Uplink"
> ---
>
> To:
> ---
> ! /usr/local/sbin/dhclient -cf /etc/isc-dhclient.conf em0
> ---
>
> But this did not work.
Please define "did not work". What output did you get ("dmesg -s" might
help), what shows up in logs, etc?
> I now see in the hostname.if manpage that the command
> needs to be available in the single-user environment (/bin or /sbin)
AFAIK this is mostly for systems with /usr/local on NFS. I certainly
have some ports things successfully started from ! lines in hostname.if
files.