On Wed, Sep 29, 2010 at 5:39 AM, mattias <mj at mjw.se>
wrote:> No i can start qemu but no network
> I have a bridge br0 with ta0 on it
> My start line
> qemu debian.5-0.x86.20100901.qcow --curses -net nic -net
> tap,ifname=tap0,script=no
I have something running along these lines, maybe it can help -
There are several things to check up when it comes to qemu networking
/usr/sbin/brctl addbr br0
/sbin/ifconfig eth0 0.0.0.0
/usr/sbin/brctl addif br0 eth0
/sbin/ifconfig br0 10.0.2.10 netmask 255.255.255.0 up
/sbin/route add -net 10.0.2.0 netmask 255.255.255.0 br0
/sbin/route add default gw 10.0.2.1 br0
/usr/sbin/tunctl -b -u $USER
/sbin/ifconfig tap0 up
/usr/sbin/brctl addif br0 tap0
/sbin/iptables -I RH-Firewall-1-INPUT -i br0 -j ACCEPT
/usr/bin/qemu -hda $DISK -no-acpi -m 2000 \
-nographic -daemonize \
-net nic,macaddr=52:54:00:11:22:33 \
-net tap,ifname=tap0,script=no &
--
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina