WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Physical Interfaces to virtual Network Interface

To: xen-users@xxxxxxxxxxxxxxxxxxx, linuxmasterjedi@xxxxxxx
Subject: Re: [Xen-users] Physical Interfaces to virtual Network Interface
From: "Sebastian Reitenbach" <sebastia@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Dec 2007 16:39:04 +0100
Delivery-date: Thu, 20 Dec 2007 07:39:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: L00 bugdead prods.
Reply-to: Sebastian Reitenbach <sebastia@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
linuxmasterjedi@xxxxxxx wrote: 
> Hello,
> 
>   I've read a couple of docs and google a little bit, I can't see a way to
> do that. My Dom0 got 4 NICs : eth0 eth1 eth2 eth3
> 
>  I would say somewhere eth0 from DomU is eth0 from Dom0, eth1 from DomU is
> eth1 from Dom0, etc...
>  I've checked "brctl" option but I guess, it's not keep after a reboot. I
> don't even able to use it on DomU, I can't see it anyway.
> 
>  Is there a way to do that?
Just configure your bridge in dom0 with just only one interface, the 
physical one you want to use. then in the domU config file you have to 
configure sth. like this:

vif=[   'mac=00:16:11:34:a4:9f,bridge=bridge0',
        'mac=00:16:3e:34:a4:9f,bridge=bridge3',
        'mac=00:16:4e:34:a4:9f,bridge=bridge4',
        'mac=00:16:5e:34:a4:9f,bridge=bridge5',
        'mac=00:16:6e:34:a4:9f,bridge=bridge6',
        'mac=00:16:7e:34:a4:9f,bridge=bridge7',
        'mac=00:16:8e:34:a4:9f,bridge=bridge8',
        'mac=00:16:9e:34:a4:9f,bridge=bridge9',
        'mac=00:16:ce:34:a4:9f,bridge=bridge12', ]

just let xend add the interface to the bridge you want when the domU starts 
up.

Sebastian


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

<Prev in Thread] Current Thread [Next in Thread>