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] 2 network devices inside a domU with one bridge

To: Rupert <linuxmls@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] 2 network devices inside a domU with one bridge
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 29 Sep 2009 13:52:56 +0700
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 28 Sep 2009 23:53:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <c3e079030909280134l3c5fac31j5b549e52a21a4c76@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <c3e079030909280134l3c5fac31j5b549e52a21a4c76@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Sep 28, 2009 at 3:34 PM, Rupert <linuxmls@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> is there a way to get eth0 and eth1 inside my VM with just one bridge in
> dom0?
> I am transfering an VPN server to a VM and would like to keep the
> configuration like
> it is on the real machine.
>
> We use CENTOS with this line in the VM configfile.
>
> vif = [ "mac=00:16:3e:45:9c:df,bridge=xenbr0" ]

using

vif = [ "mac=00:16:3e:45:9c:df,bridge=xenbr0",
"mac=00:16:3e:45:9c:e0,bridge=xenbr0" ]

should work

>
> I already tried to add another "" section, but this gave me a kernel panic
> when i started the VM.

domU panic? What does it say?
Did you use the latest kernel-xen? If not, try updating first.

-- 
Fajar

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