Hi everybody,<br><br>I need some VMs to have a fixed IP (and of course, a fixed MAC) . I&#39;m trying to do it this way:<br><br>1) I have created a virtual net<br>NAME           = &quot;private&quot;<br>TYPE           = RANGED<br>
BRIDGE         = eth0<br>NETWORK_SIZE   = 10<br>NETWORK_ADDRESS= 192.168.2.0<br><br>2) I have given the VM a defined MAC<br>NAME   = vm-example<br>MEMORY = 768<br>OS     = [<br>  kernel   = &quot;/boot/vmlinuz-2.6.26-2-xen-686&quot;,<br>
  initrd   = &quot;/boot/initrd.img-2.6.26-2-xen-686&quot;,<br>  root     = &quot;sda1 ro&quot;]<br><br>DISK   = [<br>  source   = &quot;/path/debian.5-0.x86.img&quot;,<br>  target   = &quot;sda1&quot;,<br>  readonly = &quot;no&quot; ]<br>
<br>NIC    = [ mac  = &quot;00:16:3e:58:82:3a&quot;, network = &quot;private&quot; ]<br><br>The VM gets the MAC correctly, but NOT the IP, which is assigned by the DHCP server at University. I have thought about installing my own DHCP server with the IP-MAC pairs needed, but there could be some conflicts between the new server and the one @University.<br>
<br>I have checked the documentation (<a href="http://www.opennebula.org/doku.php?id=documentation:howto_net">http://www.opennebula.org/doku.php?id=documentation:howto_net</a>), but don&#39;t know how to solve it. Could anyone help me?<br>
<br>Thanks in advance.<br>