Zend certified PHP/Magento developer

Why the VM windows 7 can’t access internet?

This is the ipv4 configuration in the virtual machine of Windows 7 pro

Ip address: 192.168.100.40
Subnet mask: 255.255.255.0
Gateway: 192.168.100.1

I used static addressing.
The network parameters are correct. Since, This is the configuration of the host
IP address: 192.168.100.33
Subnet mask: 255.255.255.0
Gateway: 192.168.100.1

I just don’t understand why the host machine can access internet and the VM can’t.

The network adapter configured in VMware workstation is bridge. I am working in VMware workstation 15.5.

Despite the fact I also tried in other networks modes. It keeps without connection. I’d really appreciate any help
Thanks for reading