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

RE: [Xen-users] Can one domU use two bridges?


  • To: "Yi Wang" <wymail@xxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Thu, 28 Jun 2007 16:12:56 +0200
  • Delivery-date: Thu, 28 Jun 2007 07:11:23 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Ace5jZrZHHEBAcP9TNSrSQIEgnpgUQAAB4oQ
  • Thread-topic: [Xen-users] Can one domU use two bridges?

 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Yi Wang
> Sent: 28 June 2007 15:06
> To: Xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Can one domU use two bridges?
> 
> Hello,
> 
> My server has two NICs.  Is there a way that I could create two
> virtual interfaces in each domU such that on vif is attached to the
> bridge with NIC1 and the other vif is attached to the bridge with
> NIC2?

Sure, you can connect two different NIC's in each DomU and connect them
via the relevant bridge to the external connection. 

Assuming that xenbr0 => peth0, xenbr1 => peth1
You would configure the guest as: 
vif = [ '...., bridge=xenbr0', '...., bridge=xenbr1']
The '...' is the usual setup for a network card, such as
mac=xx:xx:xx:xx:xx and possibly "type=ioemu" if you are using HVM
guests. 

In the guest you'd obviously need to configure the network cards (or
have a DHCP server to set them up that way from the outside) so that the
network is routed the right way, but there's absolutely no problem with
the principle of this operation [the routing is of course exactly the
same problem as you'd have if you use two network card in a PHYSICAL
machine]. 

--
Mats
> 
> Thanks,
> Yi
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.