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

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


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= 2001:4ba0:fff7:82::4, mac=00:16:3e:c7:85:86,
      'ip=, mac=00:16:3e:a8:8d:01, vifname=fw1,
bridge=br141, script=vif-bridge',
      'ip=, 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

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:

    <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 type='file' device='cdrom'>
      <driver name='file'/>
      <source file='/srv/ISO/sles11/SLES-11-SP2-x86_64-DVD1.iso'/>
      <target dev='xvdb' bus='xen'/>
    <interface type='bridge'>
      <mac address='00:16:3e:a8:8d:01'/>
      <source bridge='br141'/>
      <ip address='' family='ipv4'/>
      <script path='vif-bridge'/>
      <target dev='fw1'/>
    <interface type='bridge'>
      <mac address='00:16:3e:a8:d3:01'/>
      <source bridge='br211'/>
      <ip address='' family='ipv4'/>
      <script path='vif-bridge'/>
      <target dev='fw2'/>
    <console type='pty'>
      <target type='xen' port='0'/>
    <input type='mouse' bus='xen'/>
    <input type='keyboard' bus='xen'/>
    <graphics type='vnc' port='-1' autoport='yes'/>
      <model type='xen' heads='1'/>

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


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


Xen-users mailing list



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