Alpine virtualbox and two network cards: NAT and host-only
- 1 week 1 day ago
I have tried to configure network in an alpine installed in a virtualbox VM. Host OS is Windows 7.
In VM I selected 2 cars: NAT and host-only.
eth0 is NAT and eth1 is host-only
eth0 is configured as:
iface eht0 inet dhcp
iface eth1 inet static
With this configuration only eht1 works, I can pint guest from host but I have no internet connection.
I must comment eth1 and reboot the vm to have internet connection using eth0.
How can I use both network card at the same time without problem?