I want to have two network adapters in Kali through virtualbox. Adapter 1 will be NAT that can connect to the internet. Adapter 2 will be an internal ethernet adapter used to communicate with other VMs. Here's what I've done so far.
- In VirtualBox, I add a 2nd network adapter. Adapter 1 is NAT. Adapter 2 is Internal Network.
- Launch Kali and open the Network settings GUI. Two connections appear at this point--eth0 and eth1. eth0 is setup for DHCP which is perfect.
- I change eth1's IPv4 settings to assign an IP address manually. I set the address, netmask, and gateway, then click Apply.
- I click the toggle to enable eth1. At this point eth1 is connected, but it seems that by enabling eth1 eth0 is disconnected. If I click the toggle connect eth0, eth0 shows up with the IPv4 settings I configured for eth1 and eth1 is disconnected.
I'm not sure what I'm doing wrong. I just want two network adapters on separate networks. Any help is appreciated.