Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FcbvU-0001WI-L8 for qemu-devel@nongnu.org; Sun, 07 May 2006 01:35:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FcbvR-0001W6-Oa for qemu-devel@nongnu.org; Sun, 07 May 2006 01:35:27 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FcbvR-0001W3-LF for qemu-devel@nongnu.org; Sun, 07 May 2006 01:35:25 -0400 Received: from [193.252.23.111] (helo=smtp17.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fcbvz-0000iB-2W for qemu-devel@nongnu.org; Sun, 07 May 2006 01:35:59 -0400 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1712.wanadoo.fr (SMTP Server) with ESMTP id 8E2E67000086 for ; Sun, 7 May 2006 07:35:23 +0200 (CEST) Received: from laixa (ASte-Genev-Bois-152-1-50-169.w82-121.abo.wanadoo.fr [82.121.148.169]) by mwinf1712.wanadoo.fr (SMTP Server) with ESMTP id 504647000085 for ; Sun, 7 May 2006 07:35:23 +0200 (CEST) From: wangji Subject: Re: [Qemu-devel] Re: bug reports and suggestions Date: Sun, 7 May 2006 07:40:18 +0200 References: <20060505215128.4171C1DC197@ravel.n2.net> <445BDBF2.9060605@gmx.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200605070740.18943.hoan@wanadoo.fr> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sunday 07 May 2006 01:03, Anthony Liguori wrote: > On Sat, 06 May 2006 01:12:50 +0200, Oliver Gerlich wrote: > > Another interesting thing concerning networking: I use a little script = to > > set up a bridge between eth0 and tap0; but I have give the new bridge > > interface (eg. br0) an IP address and such stuff, because eth0 doesn't > > work. This is with Linux 2.6, but I read that with Linux 2.4 it was not > > necessary to configure br0, as eth0 would still be accessible. Does > > anyone know why this changed? I think it would be much easier if an > > interface used in a bridge was still usable. > > My networking script creates a bridge (initially with no physical device > attached). My qemu-ifup always attaches the tap device to a bridge > specified by an environmental variable. I can then manage these bridges > outside of qemu. > > So far, I've added support for three "operations" on these bridges. The > bridge is initially consider a private virtual lan. You can then either > NAT the virtual lan or bridge the lan to a physical interface. When > NAT'ing or using a private lan, it also launches a DHCPD instance to > provide local DHCP services. > > So far, this is the best I've been able to come up with in terms of a > usuable method of managing virtual networking. I've included a pointer to > the script (although please note, it probably won't work on any system > other than my own) for reference. > > I really think that to do this properly would require another full project > (especially since there's so much overlap between Xen/qemu in this area). > > http://qemu.codemonkey.ws/vlan-config > > Regards, > > Anthony Liguori > > > Thanks, > > Oliver > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.2.2 (GNU/Linux) > > > > iD8DBQFEW9vwTFOM6DcNJ6cRApc8AJ9qYCEBHJqu/TsWilH5ztnx+PF8wACffVTp > > 2AbeG8IcGxMz3lO1BUeZ3gY=3D > > =3Da4mn > > -----END PGP SIGNATURE----- > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel hi anthony, I 'm developing exercices for a livecd scratchboxToolkit,could you give som= e =20 examples of how to use your vlan-config,so I can try and apply here ! for info: I have put many toolchains armeb ,mipsel-openwrt,ppc =C2=A0and a livecd ready to use ,switching among those 5 toolchains. (scratchbox base-1.0.2) http://uit.opf.slu.cz/Members/wangji =C2=A0 =C2=A0 =C2=A0 infos ,details =C2=A0 http://mirror.opf.slu.cz/scratchbox/ =C2=A0 =C2=A0for toolchains and iso-im= age