From: jd Subject: Re: KVM Management : Public Bridge setup Date: Tue, 12 Aug 2008 10:39:59 -0700 (PDT) Message-ID: <187398.31839.qm@web35803.mail.mud.yahoo.com> References: <200808112112.12363.alberto@byu.edu> Reply-To: jdsw2002@yahoo.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: KVM List To: =?iso-8859-1?Q?Alberto_Trevi=F1o?= Return-path: Received: from web35803.mail.mud.yahoo.com ([66.163.179.172]:29218 "HELO web35803.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751243AbYHLRkA convert rfc822-to-8bit (ORCPT ); Tue, 12 Aug 2008 13:40:00 -0400 In-Reply-To: <200808112112.12363.alberto@byu.edu> Sender: kvm-owner@vger.kernel.org List-ID: Neat.=20 Thanks /Jd --- On Mon, 8/11/08, Alberto Trevi=F1o wrote: > From: Alberto Trevi=F1o > Subject: Re: KVM Management : Public Bridge setup > To: "jdsw2002@yahoo.com" > Cc: "KVM List" > Date: Monday, August 11, 2008, 8:12 PM > On Friday 08 August 2008 08:18:26 pm jd wrote: > > The /etc/qemu-if script seems to be taking the > interface as a > > parameter, is there a way to pass the bridge name to > the script as well. > > Thus from the command line one can pass the bridge > that one whats to > > attach to. (One can potentially one script for each > bridge and pass the > > script name to qemu... but it seems bit unnecessary.) >=20 > I name my tap devices (using ifname=3D...) as follows: >=20 > tap.br0.05.1 >=20 > where > tap -- this is a tap device > br0 -- the name of the bridge > 05 -- the ID of the VM (each of my VM's has a > unique numeric ID) > 1 -- The NIC # on the VM (1, 2, 3, or 4 depending on # > of NIC's) >=20 > Then on my scripts I can extract the bridge name and use > it. This also has=20 > the advantage of helping me know just by the name what > bridge this devices=20 > is hooked up to, what VM it belongs to, and which NIC it is > inside the VM. > -- > To unsubscribe from this list: send the line > "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at=20 > http://vger.kernel.org/majordomo-info.html =20