Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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'm trying to use Aqemu and I'm trying to figure out how to just have the network in the virtual machine connected to a tap device on the real machine. How do I set this up? Do I need to make the tap device before hand? What should I set in Aqemu?

share|improve this question

You may want to see my question here:

QEMU networking problems when trying to get it to connect with the host (bridging not working)

which may include some answers to your question.

share|improve this answer
up vote 0 down vote accepted

Go to the network tab.

Pick "Basic" for "Network Settings GUI type".

For the network card "Connection Mode", pick "Open a TUN/TAP interface".

Make sure "TUN/TAP Script" is unchecked.

Put in an interface name.

After you start the VM, you need to set the TAP interface as started.

 sudo ifconfig tap1 up

You will probably also want to add IP addresses to the interface:

ip addr add dev tap1
#ipv6 example
ip -6 addr add 2001:D8B8:E89D:389C::1/64 dev tap1
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.