[one-users] Network Configuration - IP assignment

Shantanu Pavgi pavgi at uab.edu
Sun Jan 15 16:50:24 PST 2012


I am not following how OpenNebula handles network configuration for the VMs. I am trying to create a virtual network using network config file as follows: 
{{{
NAME = "Test Network"
TYPE = RANGED
BRIDGE = br0
PUBLIC=" yes"
}}} 

In my test setup I have a DHCP server for IP address assignment. So I did not put NETWORK_ADDRESS and NETWORK_SIZE values, thinking OpenNebula doesn't need to know about it. However I got following error upon 'onvnet create' command. 

{{{
[VirtualNetworkAllocate] Error allocating a new virtual network. No NETWORK_ADDRESS in template for Virtual Network.
}}}

I am not sure what values should I provide in a network definition file if IP address and MAC address assignment is not going to be handled by OpenNebula. How does OpenNebula use NETWORK_ADDRESS and NETWORK_SIZE values during VM deployment? 

--
Thanks,
Shantanu


More information about the Users mailing list