Vagrant can't seem to provision bridged networking

I tried with config v1 and v2. None of them has worked so far.

# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
  config.vm.network "public_network"
  #config.vm.network "bridged"
  config.vm.provider "virtualbox" do |vb|
     vb.gui = true
     vb.memory = "3333"
     vb.cpus = "1"
  end
  config.vm.define "rockyVM" do |subconfig|
    subconfig.vm.box = "rockylinux/9"
    subconfig.vm.hostname = "rockyVM"
  end
  config.vm.provision "shell", path: "provision.sh"
end

This is how my Vagrantfile looks like. I think vagrant is perhaps not the right tool for the job on Windows machine to create VMs inside virtualbox.