Server Fault is a question and answer site for system and network administrators. 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 am trying to create tap devices on the host machine using the command:

sudo ip tuntap add mode tap br0p0

but I get the following error message:

Object "tuntap" is unknown, try "ip help". 

What should I do? I am working on Ubuntu 10.04

share|improve this question
up vote 12 down vote accepted

Your command is correct, the problem is your version of ip is lacking support for tuntap. In Ubuntu 10.04 you will need to use tunctl unfortunately, or else time for a dist-upgrade! tuntap support was added to IP from Maverick (Ubuntu 10.10).

You can verify this by doing ip help and looking at the line that looks like:

where OBJECT := { link | addr | addrlabel | route | rule | neigh | ntable | tunnel | tuntap | maddr | mroute | monitor | xfrm }

If you don't see tuntap, you're going to be needing tunctl I'm afraid!

You would use tunctl -p -t br0p0 for a TAP interface or tunctl -n -t br0p0 to create a TUN interface. Then obviously the usual ifconfig/router commands to get the interface up.

Have a scan over the tunctl man page for some worked examples.

share|improve this answer
How can I write the same command with tunctl? – Bruce Jan 9 '12 at 0:04
I;ve updated my answer to include the equivalents. – SimonJGreen Jan 9 '12 at 0:09
Thanks a lot! I appreciate your help. – Bruce Jan 9 '12 at 0:12

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.