|
|
|
|
|
|
|
|
|
|
xen-users
RE: [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
|
|
|
|
|