[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] xen 3.4.2 networkings - multiple nics to multiple VMs
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |