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] how to set each dom use one network card?

To: Jorge Armando Medina <jmedina@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] how to set each dom use one network card?
From: ma qiang <maqiang1984@xxxxxxxxx>
Date: Thu, 29 Jul 2010 10:31:59 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Jul 2010 19:33:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=bNPV8L6GTuzxYYYJnd3N3GDnXvaS6SyHSXR9SGXBSGg=; b=ghLpQ4gIZpWIUv2JaIzqBxgf6amug8a5ykBSrQFsLZ01Ns2oMZ6TMgL6xpFUC6G20e 8oaRJIYhKVg68q7TIg7LiI32453oBUL4XMDlRohQgr1LadnrXO13181lQ88VSXztIWDi B8Wjpm0x1KPAHgVTOdWyELd/1l1Dki0CmDUtI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Y51huIypgM9bSSc9LUYNt5lZz1B8S52q0UYj2W8+aMRU3sqoIdvodmjlGW0jSIMgSu D9CLtoHOkjVv3tREwWIwmyRecVLZfsmujYFLvShvUKPKPeyeDzIlme2FL02pf1Gyi/CY N1DH2TwCcvYsfcn6EztBsboDIVzJImp+uvje8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C5082D1.8040107@xxxxxxxxxxxxxxx>
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: <AANLkTinD9BhnmY=O7CBMpuxx3h_Azc6LA-ZazW3EpW3P@xxxxxxxxxxxxxx> <4C5082D1.8040107@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Yes, I did restart xend. And brctl shows as below.

# brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.00e081bb5977       no              vif3.0
                                                        tap3.0
                                                        peth0
eth1            8000.00e081bb5978       no              vif2.0
                                                        tap2.0
                                                        peth1
virbr0          8000.000000000000       yes





2010/7/29 Jorge Armando Medina <jmedina@xxxxxxxxxxxxxxx>:
> ma qiang wrote:
>> Hi all,
>>     I have create 2 guestos, and I have 2 network card, so how to set
>> each guestos use on network card?
>>
>> To be noted, I have search some information from internet, the file
>> /etc/xen/scripts/network-bridge has replaced by
>> /etc/xen/scripts/my-network-bridge
>>
>> # more /etc/xen/scripts/my-network-bridge
>> dir=$(dirname "$0")
>> "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=eth0
>> "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=eth1
>>
>
> Did you restart xend to create bridges?
>
> can you show the output of 'brctl show'? when domUs are running
>
> This is a networking problem, just be sure bridges are created and
> deine a brirdge stanza in vif parameter.
>
> I have some examples here:
>
> http://tuxjm.net/docs/Administracion_de_Servidores_Virtuales_con_Xen_y_GNU_Linux/html-multiples/ch03s08.html#id472159
>
>> and the 2 guestos boot successfully and ifconfig shows right, but
>> cannot connect to intranet.
>>
>> Who can help me?
>> Thanks a lot.
>>
>> Qiang Ma
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>
>
> --
> Jorge Armando Medina
> Computación Gráfica de México
> Web: http://www.e-compugraf.com
> Tel: 55 51 40 72, Ext: 124
> Email: jmedina@xxxxxxxxxxxxxxx
> GPG Key: 1024D/28E40632 2007-07-26
> GPG Fingerprint: 59E2 0C7C F128 B550 B3A6  D3AF C574 8422 28E4 0632
>
>
>
> _______________________________________________
> 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

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