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

"Patrick M. Hausen" <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]>
Hi all,

> Am 22.08.2025 um 17:16 schrieb Zhenlei Huang <[email protected]>:
> 
> So vxlan interface is created and brought up prior to the usb ethernet.
> 
> Another approach to overcome this is preloading the driver via `/boot/loader.conf` since
> your usb ethernet is always plugged in.

Works, but looks weird. :-)

/boot/loader.conf:

if_smsc_load="YES"

kldstat:

Id Refs Address                Size Name
 1   11 0xffff000000000000  1340800 kernel
 3    1 0xffff00000136b000    25440 umodem.ko
 4    2 0xffff000001391000    28878 ucom.ko
 5    1 0xffff0000a9800000    2a000 if_vxlan.ko
 6    1 0xffff0000a982a000    22000 mac_ntpd.ko

So where is if_smsc.ko? If it's compiled into the kernel, then why the /boot/loader.conf entry?

Kind regards,
Patrick
-- 
punkt.de GmbH
Patrick M. Hausen
.infrastructure

Sophienstr. 187
76185 Karlsruhe

Tel. +49 721 9109500

https://infrastructure.punkt.de
[email protected]

AG Mannheim 108285
Geschäftsführer: Daniel Lienert, Fabian Stein
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.