Docker Desktop runs its backend as isolated process inside the docker-desktop wsl distribution. The interface that mirrors network traffic is not available inside the isolated docker backend.
Other wsl distros access the docker engine from Docker Desktop through a socket communication. Whatever you do in your Ubuntu distro does not affect the isolated docker engine that run inside the docker-desktop distro.
Neither Ipvlan, nor macvlan work with Docker Desktop.
Last time I tried, it didn’t even work if docker-ce was directly installed in a wsl2 distro: Macvlan, transparent, and host netowork types? - #3 by meyay .