Re: [Hampshire] KQEMU bridge for multiple VM's performance p…

Top Page

Reply to this message
Author: Damian Brasher
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] KQEMU bridge for multiple VM's performance problem
Jonathan Hudson wrote:
> You still need the documented qemu network setup. tunctl just make taps
> work at the kernel level. It doesn't matter if you're using kqemu or
> not.
>
> My (non-bridged) sudoed qemu script looks like:
>
> chmod a+rw /dev/net/tun
> tunctl -t $1 -u jrh
> ifconfig $1 10.0.0.1 netmask 255.255.255.0 up
> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> sysctl -w net.ipv4.ip_forward=1
>
>
> without tunctl the tap device is unresponsive.


I'm not sure this will help me, the tunctl command is enabling user mode
operation which in this case is not as relevant. The tun and bridge
modules are loaded in the kernel I'm using - unless I have missed
something.

Damian

--
Damian Brasher
www.interlinux.co.uk
All mail scanned by clam-av http://www.clamav.net/