I'm making a hackers lab, so I downloaded Kali Linux and Metasploitable and set them on VirtualBox running on a Windows 10 host machine. The host system is using a wired connection, which both guests also must use. The host has full internet access.
When I configure the VM network interfaces in NAT mode, they get IP addresses and access to the internet, but the lab requires using a Bridged network. When I configure them as bridged adapters, For Bridged connection I select "Realtek PCIe GbE Family Controller" with promiscuous mode set to "deny" and "Cable connected" ticked. In both systems
ifconfig shows eth0 doesn't even get an IP address.
Metasploitable doesn't have a GUI. Kali does not change to wired network and show me the available networks because I also use a WIFI adapter, it says wired connection 1, but does not work and the network symbol is spinning and it cannot connect to the internet.
I tried changing the adapter types to all the types there are with promiscous mode: allow VMs, but still nothing worked.