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

[Xen-users] xen2libvirt vif-route and other missing stuff



Hi,

now it is the first time I am stumbling over the changes of migration
from 'xen2libvirt'

In the past I were able to do this with 'vif-route':

vif=[ 'ip=5.199.133.134 2001:4ba0:fff7:82::4, mac=00:16:3e:c7:85:86,
vifname=fw0',
      'ip=192.168.141.1, mac=00:16:3e:a8:8d:01, vifname=fw1,
bridge=br141, script=vif-bridge',
      'ip=192.168.211.1, mac=00:16:3e:a8:d3:01, vifname=fw2,
bridge=br211, script=vif-bridge', ]

it was really easy to 'assign' the 'routed IP' to the VM.

but libvirt doesn't seem to support this.
There is nowhere any useful docu about the new 'XML' Layout of network
configuration.

How can I setup this with libvirt ?

BTW the result of the 'migration' of the old 'xen' config file to a
libvirt, XML-Style config is like this:

  <devices>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/var/lib/xen/images/pros-01-fw/disk0.raw'/>
      <target dev='xvda' bus='xen'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='file'/>
      <source file='/srv/ISO/sles11/SLES-11-SP2-x86_64-DVD1.iso'/>
      <target dev='xvdb' bus='xen'/>
      <readonly/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:a8:8d:01'/>
      <source bridge='br141'/>
      <ip address='192.168.141.1' family='ipv4'/>
      <script path='vif-bridge'/>
      <target dev='fw1'/>
    </interface>
    <interface type='bridge'>
      <mac address='00:16:3e:a8:d3:01'/>
      <source bridge='br211'/>
      <ip address='192.168.211.1' family='ipv4'/>
      <script path='vif-bridge'/>
      <target dev='fw2'/>
    </interface>
    <console type='pty'>
      <target type='xen' port='0'/>
    </console>
    <input type='mouse' bus='xen'/>
    <input type='keyboard' bus='xen'/>
    <graphics type='vnc' port='-1' autoport='yes'/>
    <video>
      <model type='xen' heads='1'/>
    </video>
  </devices>

as you can see ... the 'fw0 interface' is just missing.
Any help will be really apreciated.

-- 

Christian
----------------------------------------------------
   - Please do not 'CC' me on list mails.
          Just reply to the list :)
----------------------------------------------------
Der ultimative shop für Sportbekleidung und Zubehör

http://www.sc24.de
----------------------------------------------------

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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