ipvtap is similar to macvtap, but works over wifi too, since it uses the same mac address as the wifi interface.
libvirt doesn't support ipvtap, so we have to configure everything manually. Important data we need before we start:
- the name of the wifi interface,
wlan0
in my case (it's already connected - use NM or networkd+iwd). - the mac address of the wifi interface (it must be the same in the guest too)
On the host: