Fr 20. Feb 20:04:37 CET 2009

Static ip assignment with libvirt

I just started to use libvirt and needed to have static ip assignment for some of the systems. Libvirt supports this but there is no documentation for this, a patch with documentation has just been send to the mailing list, but thats all (except the documentation in the *.c files ;-)

A simple example which assigns to the host with the mac AA:BB:CC:DD:EE:FF:
  <bridge name='intbr0' />
  <ip address='' netmask=''>
      <range start='' end='' />
      <host mac='AA:BB:CC:DD:EE:FF' ip='' name='foobar'/>

Posted by Ulrich Dangel | Permanent Link | Categories: Stuff