Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using netcfg to configure two interfaces in my archlinux VM. In VirtualBox I have set two active interfaces. The first (eth0) is the NAT interface to provide the VM with Internet access. The second (eth1) is a host-only network so I can access the VM directly from the host.

I have tried to configure eth0 with dhcp since it doesnt matter what IP-address it gets from the NAT. And I have tried to configure eth1 with a static IP in the host-only network.

Everything seems to work fine, but here is the thing. If I activate the eth1 interface (host-only) I am able to ping it from the host (as expected), but if I then enable the eth0 interface (nat) I am not able to access the Internet (tried to ping But, if I then disable eth1, eth0 suddenly works fine. Long story short: The NAT interface wont work simultaneously with the host-only interface. The host-only interface seem to always work.

It is because of this I thought the problem existed in the configuration of eth1, since it obviously hindered eth0 to work properly. The configurations are very simplistic, but I have been unsuccessfull to identify the error.

Configuration of eth0 (nat)

DESCRIPTION="DHCP (NAT for Internet access"

Configuration of eth1 (host-only)

DESCRIPTION="Static IP (development)"
share|improve this question

I was unable to identify the source of the problem, and therefore moved to try Vagrant.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.