On Wed, 1 Apr 2009, Ferreira, N.L. wrote:
Hey Steven
OUt of curiosity, what is you dom0 configuration (OS and xen ver.)
I'm struggling to put 2 NICs (& 2 bridges) on a CentOS52 x64, running gitco xen
3.3.1.
Cheers,
N.
I am running Scientific Linux 5.2(x86_64), (like RedHat 5.2) which
contains
a built-in Xen 3.1.2 (although the rpm says it is Xen 3.1.2).
This configuration also worked with the xen 3.1.0 tarballs that
were available from xen.org on top of any SL5 or SL4, and we
were doing stuff like this in the Xen 3.0 days as well.
I have never tried with Xen 3.3 but it is my understanding that newer
xens have changed the bridging setup so the bridges have different
names now. Maybe others can give details. Oh--and my domains are
paravirtualized, I never did HVM.
Steve Timm
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx on behalf of Steven Timm
Sent: Wed 01-Apr-09 9:42 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] installing DomU with two network bridges viavirt-install
I have a Xen DomU configuration that was made in the days before
libvirt and virt-install. In this configuration
I have:
vif = [ 'mac=00:16:3e:05:06:01, bridge=xenbr0', 'mac=00:16:3e:05:06:0a,
bridge=xenbr1' ]
and then in xend-config.sxp I define
(network-script my-network-bridge)
where my-network-bridge is in the scripts directory and looks like this:
[root@fermigrid6 xen]# more scripts/my-network-bridge
#!/bin/sh
# start bridges on both eth0 and eth1
XENDIR="/etc/xen/scripts"
$XENDIR/network-bridge "$@" netdev=eth0 bridge=xenbr0 vifnum=0
$XENDIR/network-bridge "$@" netdev=eth1 bridge=xenbr1 vifnum=1
Is there a way to automate all or part of this with virt-install?
I'm guessing that I would still have to hack the xend-config.sxp
to get xenbr0 and xenbr1 started on dom0 in the first place,
but once that is done, would it be possible to have
two network interfaces specified via the --bridge argument
of virt-install, where one would have --bridge=xenbr0 and the other
would have --bridge=xenbr1?
Thanks
Steve Timm
--
------------------------------------------------------------------
Steven C. Timm, Ph.D (630) 840-8525
timm@xxxxxxxx http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|