public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* binding physical interfaces to virtual interfaces
@ 2008-07-11 13:21 carlopmart
  2008-07-11 18:33 ` Freddie Cash
  0 siblings, 1 reply; 2+ messages in thread
From: carlopmart @ 2008-07-11 13:21 UTC (permalink / raw)
  To: kvm

Hi all,

  I have a linux host with three physical interfaces: br0, br1 and br2. i would 
like to setup a virtual guest with three virtual interfaces binded each one to 
each physical host interface like on vmware or xen I can do. How can I do??

Many thanks.

-- 
CL Martinez
carlopmart {at} gmail {d0t} com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: binding physical interfaces to virtual interfaces
  2008-07-11 13:21 binding physical interfaces to virtual interfaces carlopmart
@ 2008-07-11 18:33 ` Freddie Cash
  0 siblings, 0 replies; 2+ messages in thread
From: Freddie Cash @ 2008-07-11 18:33 UTC (permalink / raw)
  To: carlopmart; +Cc: kvm

On Fri, Jul 11, 2008 at 6:21 AM, carlopmart <carlopmart@gmail.com> wrote:
>  I have a linux host with three physical interfaces: br0, br1 and br2. i
> would like to setup a virtual guest with three virtual interfaces binded
> each one to each physical host interface like on vmware or xen I can do. How
> can I do??

Create three copies of /etc/kvm/kvm-ifup, where each one assigns the
tap device to a differrent bridge.

Then, just add multiple -net nic options to the kvm commandline to
create the virtual nics, and multiple -net tap options, using the
script=/path/to/custom/kvm-ifup parameter to assign each nic to a
separate bridge.

See the kvm man page for all the details.

-- 
Freddie Cash
fjwcash@gmail.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-11 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-11 13:21 binding physical interfaces to virtual interfaces carlopmart
2008-07-11 18:33 ` Freddie Cash

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox