Update.
Now the connection is ok but I don't know what exactly I have done for this append because I have tried many things. But I remember those 3 lasts things.
1
Modification in the registry editor
https://www.elevenforum.com/t/change-ne ... ws-11.955/
2
Commands
Run Command Prompt Commands
Manually resetting the network stack can often clear "No Internet" errors:
Search for Command Prompt, right-click it, and select Run as administrator.
Enter the following commands one by one, pressing Enter after each:
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
3
Manual ip configuration on the guest machine
IPV4 adress 10.0.2.15
Default gateway adress IPV4 10.0.2.2
Subnet mask 255.255.255.0
server DNS IPV4 10.0.2.3
viewtopic.php?t=49066#:~:text=Okay%2C%2 ... 20resolver
I don't know if I did the right things but now I can access internet