Bojana Petrovic
2009-Nov-01 14:47 UTC
[Xen-users] creating multiple domU interfaces+xen full virtualization FAILED
Hi, I recently used paravirtualization on CentoOS 5.4 and I managed to make multiple DomU interfaces with network-bridge-custom script like this: #!/bin/sh /etc/xen/scripts/network-bridge $1 netdev=eth0 bridge=xenbr0 vifnum=0 /etc/xen/scripts/network-bridge-noifup $1 netdev=eth1 bridge=xenbrBC vifnum=1 /etc/xen/scripts/network-bridge-noifup $1 netdev=eth2 bridge=xenbrBD vifnum=2 I changed the line in *xend-config.sxp* to look like this (network-script network-bridge-custom), and I changed in DomU config files like this: vif = [ "mac=00:16:3e:50:82:63,bridge=virbr0", "mac=00:16:3e:50:82:67,bridge=xenbrBC, rate=15KB/s", "mac=00:16:3e:50:82:69,bridge=xenbrBD, rate=15KB/s" ] Now I need full virtualization and xen-config.sxp doesn''t read and apply what is written in network-bridge-custom file. It doesn''t bring up defined xen-bridges! What is the reason? Do I have to make bridges manually with /etc/sysconfig./network-scripts and why this method for paravirtulazation doesn''t work here? Regards, Bojana _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Nov-02 05:41 UTC
Re: [Xen-users] creating multiple domU interfaces+xen full virtualization FAILED
On Sun, Nov 1, 2009 at 9:47 PM, Bojana Petrovic <bojanap@gmail.com> wrote:> Now I need full virtualization and xen-config.sxp doesn''t read and apply > what is written in network-bridge-custom file. It doesn''t bring up defined > xen-bridges!the bridges (if it works) should be brought up even without any guest. So it should have nothing to do with PV or full virtualization.> What is the reason?If it worked before, then probably the network-bridge script you''re using has changed. The thing with hacks is that you''re usually left trying to figure out things on your own.> Do I have to make bridges manually with /etc/sysconfig./network-scriptsIt''s the official method to create bridges on RHEL/Centos. So yeah, I''d highly recommend it.> and > why this method for paravirtulazation doesn''t work here?Again, it should have nothing to do with PV or full virtualization. Either you''re successfully create bridges that you can use for both PV and HVM, or you''re unable to create bridges at all. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users