On Sep 29, 2010, at 7:23 AM, "mattias" <mj at mjw.se> wrote: > I have it work now a ip from my isps dhcp server > But verry slow > Xen are much faster > > > -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On > Behalf Of Eduardo Grosclaude > Sent: Wednesday, September 29, 2010 1:20 PM > To: CentOS mailing list > Subject: Re: [CentOS] qemu > > > 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 & Look for the kqemu kernel module. Even with that kvm and xen are much faster. I'd only use qemu if I needed to emulate a different architecture like PPC and even then only to test endianness. -Ross