Today I have installed VirtualBox on Debian 12 and using wifi bridge work, I can ping the vm using the same ip class of wlan0 wifi (88x2bu driver), but ip addr and ip link sh don't report interface
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether ******** brd ******
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether ************ brd ********** permaddr *******
, where is the bridge?
With other applications like kvm/qemu libvirt I ever failed to set any bridge with wlan (with ethernet is ok), how is possible that VirtualBox can use bridge and libvirt not? For libvirt I ever use the virbr solution: create a virbr interface that "point" to wlan something like this
<name>wifibr</name>
<uuid>***</uuid>
<forward dev='wlan0' mode='route'>
<interface dev='wlan0'/>
</forward>
<bridge name='virbr5' stp='on' delay='0'/>
<mac address='****'/>
<domain name='rosso.priv'/>
<ip address='192.168.201.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.201.128' end='192.168.201.254'/>
</dhcp>
</ip>
<dnsmasq:options>
<dnsmasq:option value='dynamic-host=rosso.priv,0.0.0.0,wlan0'/>
</dnsmasq:options>
</network>
Trying a bridge fail
brctl addif br0 wlan0
can't add wlan0 to bridge br0: Operation not supported
Question: how virtualbox bridge work? Is possible to make something similar with libvirt? I prefer to use my wlan0 ip class