[Bug 264908] It does not work to obtain an IP address via DHCP simultaneously for multiple interfaces

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Jun 2022 07:01:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264908

--- Comment #1 from Vladislav V. Prodan <admin@support.od.ua> ---
I need a mechanism to maintain availability in a virtual machine and not only
when network settings are not set on network interfaces.
Many network interfaces can be added to the virtual machine template, since
Proxmox has one of the popular methods of vlan isolation.

I find a mechanism for solving my problem - in rc.conf:
ifconfig_DEFAULT="SYNCDHCP"

But! Between reading rc.conf and starting dhclient, which tries network
settings on all available network interfaces, it takes some time.
During this time, tunnel services manage to start up and add their network
interfaces to the system.

Specifically, in my case, you need to set exceptions through the settings
ifconfig_ygg0="NOAUTO"

My old kernel from 12.2-STABLE on r369446 didn't have this situation.
Reboot took place regularly and the correct network settings were issued via
DHCP on the em0 interface.

-- 
You are receiving this mail because:
You are on the CC list for the bug.