I created a virtual machine (Centos) on VMWare workstation. The network adapter is on bridge.
My computer has the following IP address : 10.0.0.5/24
and the gateway is 10.0.0.1
,
so my virtual machine has the IP address of 10.0.0.50/24
on eth0
interface.
I have only one road, it's my default gateway 10.0.0.1
.
Destination is 0.0.0.0
gateway - 10.0.0.1
and netmask 0.0.0.0
.
I can ping my computer but I can't ping the gateway and I don't understand this behavior.
So after that, I can't ping 8.8.8.8
so I don't have any internet access.
I can access my VM from my computer.
Could you please help me to find a solution to access internet? Thanks a lot.