I have two virtual machines (host machine is on Windows):
- One DHCP server(on Debian)
- One Client(on Debian)
The problem is that the client receives an IP address and both machines can ping each other, but the client cannot access internet. (ping 8.8.8.8 never returns)
- My DHCP server is connected to Internet through "enp0s3" in NAT.
- My DHCP server is connected in Host-Only through "enp0s9".
- My Client is connected in Host-Only through "enp0s3".
Am I wrong in the network types that I chose?
ifconfig -a on the DHCP server :
ifconfig -a && ip route show on the client :

I deactivated Windows's firewall and iptables --flush on Debian. In the future I would like to replace the virtual machine client by a real machine plugged in on the Ethernet.
I give my client an IP address, a mask, a gateway. I think it is a gateway problem, but I don't know what to do to get Internet, on the client.

