Re: qemu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I have it work now a ip from my isps  dhcp server
But verry slow
Xen are much faster


-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
Behalf Of Eduardo Grosclaude
Sent: Wednesday, September 29, 2010 1:20 PM
To: CentOS mailing list
Subject: Re:  qemu


On Wed, Sep 29, 2010 at 5:39 AM, mattias <mj@xxxxxx> 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 _______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux