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

[Xen-users] xen 3.4.2 networkings - multiple nics to multiple VMs

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen 3.4.2 networkings - multiple nics to multiple VMs
From: fpt stl <fptstl@xxxxxxxxx>
Date: Wed, 6 Oct 2010 17:08:40 -0500
Delivery-date: Fri, 08 Oct 2010 08:42:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=CRsov3RBeIiyg8cD2oWtk7BrW0PSF6m90in57OjeoVo=; b=qHHRmRdOYmbvI4eL68q5uCV6BmjZ/WddWH7Vvsq1rljxR96GWO0dpEjPyNZHb/pn3f +T33Q1/V+/n9XCvm2QW5w+kEGXSMprakl2/sG4KM+9rfyZAu88OpEmORJSHpgvAIkc7k +QKuw3fBoWCMtm+CK45nEI1YocHmSp1G/dX28=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iZKHhVHWuyfA2y8+eXHBsU3GbJM1jisJdImtLRN2g4kE0aOb0c+h3WK5qgj7BbIcIZ iOpNmSvQ5f1wJNHvwfLGq4dACjHUqqlGHLGJiqZVEYwwsMe7042TN90f7P3bGphNl3QD gpQG92RGMYkI6DJLKzy2aQgkaqrVZr8vE0XUE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Greetings all,

I do have some "basic" Xen networking questions, and please help me clarify some misunderstandings.

I have a system with 2 built-in nics (Broadcom) and an add-on network card (Intel) with another 4 nics.
Dom0 is CentOS 5.5 64bit with Xen 3.4.2 installed with the default settings (minus cpu pinning to Dom0 and memory setup for 2GB).
I have 2 guest VMs - VM1 and VM2 - [HVMs] both being CentOS 64bit.
Currently eth4 (Broadcom) is used for all 3 VMs because of the default bridge in xend-config.sxp:

(network-script network-bridge)

(vif-script vif-bridge)
 
I would really appreciate if anyone of the smart people here can indicate how one can obtain a configuration with Dom0 using eth4 on one bridge, VM1 using eth0 on another bridge and VM2 using eth1 on another bridge.

Here is an example of a config file I used with "xm create":

[root@Dom0 xen]# more VM1 
name = "VM1"
maxmem = 4096
memory = 4096
vcpus = 2
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 1
apic = 1
localtime = 0
>
>
>
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
keymap = "en-us"
disk = [ "phy:/dev/mapper/VG1-VM1_volume1,hda,w" , ",hdc:cdrom,r" ]
vif = [ "mac=00:12:34:56:78:90,bridge=xenbr0,script=vif-bridge" ]
parallel = "none"
serial = "pty"

The sole reason for multiple bridges and each one with its dedicated nic is to obtain separation between VMs.
All the Ethernet connections will end in one switch. 


I have looked all over the net and I could not find a clear howto for this issue.

Please give me some examples because I am very new to this issue.


Frank
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>