qemu bridged networking

My final /etc/networking/interfaces file looks like (this is for Debian)

auto lo eth0 tap0 br0

iface lo inet loopback

iface br0 inet dhcp
bridge_ports eth0 tap0
bridge_maxwait 0

iface eth0 inet manual

iface tap0 inet manual
pre-up tunctl -b -u <my_user_name> -t tap0
pre-up ifconfig tap0 up
post-down tunctl -d tap0

I stole this from the following site joost.damad.be

Beware the username enttry above needs to be changed to your username... You will also need to install uml-utilities. Once I had this running I could start my image as follows:

qemu -net nic -net tap,ifname=tap0,script=no -hda debian.img
Add to delicious Digg This Add to My Yahoo! Add to Google Add to StumbleUpon
| | Comments (0) | TrackBacks (0)

0 TrackBacks

Listed below are links to blogs that reference this entry: qemu bridged networking.

TrackBack URL for this entry: http://www.hjackson.org/mt/mt-tb.fcgi/296

Leave a comment

About this Entry

This page contains a single entry by Harry published on March 4, 2012 7:38 AM.

Mount You must specify the filesystem type was the previous entry in this blog.

Ziff Davis Spam House is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01