Setting up Tun/Tap networking for a Qemu Image
Qemu is a very useful utility to play around with your code/application environment before you are ready to package it as a virtual appliance. Though there are various wikis available to help you setup networking between qemu guest and your host machine, I found that the steps required to setup TUN/TAP networking so that the guest is accessible from your extended network was either not accurate, or was not put in simple terms. So, here goes. Assuming that you are using Debian/Ubuntu as your host OS and you have qemu and necessary qemu-managers installed.