[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: fpt stl <fptstl@xxxxxxxxx>
  • Date: Wed, 6 Oct 2010 17:08:40 -0500
  • Delivery-date: Fri, 08 Oct 2010 08:42:39 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.