Why doesn’t ping 8.8.8.8 work on a bridged Virtualbox version 7.1 VM?

When I try to ping 8.8.8.8 from a Virtualbox 7.1.8 VM made by Vagrant 2.4.5 it does not work. Virtualbox is hosted from Ubuntu 24.04 and the VM also uses Ubuntu 24.04. The VM uses a bridged network connection. From the host I could ping the VM and from the VM I can ping the host. The VM uses a fixed IP address.

From the VM I am also able to install and upgrade apt packages. When I ping 8.8.8.8. from the VM I do not get any error messsage and the command stays trying. The host has fixed IP address 192.168.2.7 and the VM has I address 192.68.2.13.

I have an other VM on Virtualbox which also uses Ubuntu 24.04, which I installed manually. From that VM I could ping 8.8.8.8.

Because I read that when you can’t ping 8.8.8.8 you have a network problem.

Because I have to little knowledge on networking, I like to know how can I solve my network problem on the first mentioned VM? What do I have to do to make ping 8.8.8.8 working?