Re: Static vxlan configuration fails - probably because of wrong order in rc

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Fri, 22 Aug 2025 15:16:37 UTC

> On Aug 22, 2025, at 3:50 PM, Dag-Erling Smørgrav <des@freebsd.org> wrote:
> 
> "Patrick M. Hausen" <hausen@punkt.de> writes:
>> I suspect the device node for ue0 simply does not exist before it is
>> actually configured while the ones for "real" interfaces are always
>> present.
> 
> Network interfaces don't have device nodes.
> 
> Detachable interfaces are configured when detected by devd.

Yes, you're right !

So vxlan interface is created and brought up prior to the usb ethernet.

Hi Patrick,

Another approach to overcome this is preloading the driver via `/boot/loader.conf` since
your usb ethernet is always plugged in.

I managed to repeat the issue you reported, and can confirm that preload the usb ethernet
driver can workaround it.

Best regards,
Zhenlei

> 
> DES
> -- 
> Dag-Erling Smørgrav - des@FreeBSD.org