[SOLVED] OPNsense vtnet has no carrier when connected to Linux bridge without physical connection

kalleb64

New Member
Nov 13, 2023
2
0
1
Hi,

I have configured OPNsense as VM. The DMZ (vtnet3) is mapped to vmbr3, a Linux bridge without physical NIC and without IP address. The IP address of DMZ is 172.16.16.1/24.

I have two other VMs: 2 LMDE6 (faye) guests also mapped to vmbr3. They have the addresses 172.16.16.2/24 and 172.16.16.3/24.
The two LDMEs can ping each other, their interface status is UP.
Bildschirmfoto vom 2023-11-13 20-22-07.png

However, they cannot ping the OPNsense. vtnet3 has the status "no carrier".
Bildschirmfoto vom 2023-11-13 20-23-48.png
Bildschirmfoto vom 2023-11-13 20-21-25.png

Strange enough, netstat counters for incoming packets grow on vtnet3.
[DMZ] (vtnet3) / 172.16.16.1 [LIST] [*]name [B]:[/B] vtnet3 [*]flags [B]:[/B] 0x28963 [*]network [B]:[/B] 172.16.16.0/24 [*]address [B]:[/B] 172.16.16.1 [*]received-packets [B]:[/B] 6584 [*]received-bytes [B]:[/B] 184352 [*]sent-packets [B]:[/B] 0 [*]sent-bytes [B]:[/B] 0 [/LIST]
But because there is no physical whatsoever, FreeBSD considers the interface to be down (whereas Debian can handle this properly)
Bildschirmfoto vom 2023-11-13 20-29-15.png

Questions: is there a way to tell FreeBSD to consider vtnet3 to be up even without "carrier" ?
And yes, I have tried ifconfig vtnet3 up. It does not help nor report any error.

Thanks for your help.
K.
 
Last edited:
Silly me.
For some reason the interface was initially switched off by proxmox.
Select the Device -> advanced -> uncheck disconnected.