Unable to connect to internet in Kali Linux 2024.2 after the error "Your Network is probably not using the DHCP protocol."

I can’t connect to my internet in Kali Linux. I installed Kali on a Virtual Machine using Oracle VM VirtualBox.
During the installation I encountered the error:

“Your Network is probably not using the DHCP protocol. Alternatively, the DHCP server may be slow or some network hardware is not working properly.”

Windows version:

  • Windows 11 Pro
  • Version 23H2

ifconfig output:

$ ifconfig 
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 08:00:27:19:55:3d  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 248  bytes 21632 (21.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 248  bytes 21632 (21.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Che tipo di configurazione ha la scheda di rete virtuale?