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

RE: [Xen-users] Dedicate NIC's to DomU's

To: 'Hans Pfeil' <HPfeil@xxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Dedicate NIC's to DomU's
From: "Joseph L. Casale" <JCasale@xxxxxxxxxxxxxxxxx>
Date: Tue, 10 Jun 2008 09:57:57 -0600
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Tue, 10 Jun 2008 08:59:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <484E4DFE.6010.00BD.0@xxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <484E4DFE.6010.00BD.0@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjLCSuV3FdT3+DAQaGeJNAmxuUKjQACTnOA
Thread-topic: [Xen-users] Dedicate NIC's to DomU's
I have never used virtmanager :)
I suspect it's the issue. stop the guest, then run 'xm create {config name}' as 
your vif statement in that file is right.
jlc

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Hans Pfeil
Sent: Tuesday, June 10, 2008 8:49 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Dedicate NIC's to DomU's

Yea,
It looks like your using a slightly older Xen than me. Thats correct...
So, start a guest or two :) What happens?

jlc


Morning Joe,  started up one of my guests.  I don't think it's working.  How do 
you tell if it's using a different NIC.  When I go to details of that guest 
server in the virt manager it shows eth0.  I'm trying to get it to use eth1.  
Here are some more outputs.


:~ # brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                        peth0
                                                        vif1.0
xenbr1          8000.feffffffffff       no              vif0.1
                                                        peth1
:~ #


Here is the config file for that guest server, /etc/xen/vm/name of server.  Is 
this the right one I should be modifying?


ostype="oes2l"
name="xxxxxxx"
memory=1024
vcpus=1
uuid="a1ee16a1-cd9b-2493-60cb-77aea298d8fa"
on_crash="destroy"
on_poweroff="destroy"
on_reboot="restart"
localtime=0
builder="linux"
bootloader="/usr/lib/xen/boot/domUloader.py"
bootargs="--entry=xvda2:/boot/vmlinuz-xenpae,/boot/initrd-xenpae"
extra="TERM=xterm "
disk=[ 'file:/var/lib/xen/images/xxxxxxx/disk0,xvda,w', ]
vif=[ 'bridge=xenbr1, mac=00:16:3e:6f:e6:6a', ]  (I put bridge=xenbr1 here.  Is 
this correct?)
vfb=["type=vnc,vncunused=1"]



Here is the xml file in the same path location as the file above.  Do I need to 
do anything here?

<domain type="xen">
  <ostype>oes2l</ostype>  <name>xxxxxxx</name>
  <memory>1048576</memory>
  <maxmemory>16777216</maxmemory>
  <vcpu>1</vcpu>
  <uuid>a1ee16a1-cd9b-2493-60cb-77aea298d8fa</uuid>
  <on_crash>destroy</on_crash>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <localtime>0</localtime>  <os>
    <type>linux</type>
    <kernel>/tmp/kernel.w0ivGt</kernel>
    <initrd>/tmp/install-initrd.fNK5FG</initrd>
    <cmdline>TERM=xterm install=http://xxx.xxx.xxx.xxx/sles10sp1 </cmdline>
  </os>
  <devices>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/var/lib/xen/images/xxxxxx/disk0'/>
      <target dev='xvda'/>
    </disk>
<interface type='bridge'><mac address='00:16:3e:6f:e6:6a'/><script 
path='/etc/xen/scripts/vif-bridge'/></interface>
<graphics type='vnc'/>
  </devices>
</domain>

Thanks
-Hans




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users