You may need to setup the VM to get those parameters or set up an external DHCP server.
http://opennebula.org/documentation:rel2.0:cong On Thu, Dec 16, 2010 at 1:35 PM, Prakhar Srivastava <prakhar....@gmail.com> wrote: > Hi, > I am trying to install a opennebula cloud. I have one front end with ubuntu > installed. I have successfully installed opennebula. I am able to run > instances but cannot access them using the IP given in the network template > file.. Following is my VM template file. > > NAME = test-vm > MEMORY = 256 > CPU = 1 > > OS = [ KERNEL = "/boot/vmlinuz-2.6.32-5-xen-amd64", > INITRD = "/boot/initrd.img-2.6.32-5-xen-amd64", > ROOT = "/dev/xvda", > KERNEL_CMD = "ro xencons=tty console=tty1"] > > # OS image, mapped to sda. > DISK = [ IMAGE = "Debian Lenny", > TARGET = "xvda", > DRIVER = "file:", > READONLY = "no" ] > > # First DATABLOCK image, mapped to sde > #DISK = [ IMAGE = "Debian" ] > > # Second DATABLOCK image, mapped to sdf > #DISK = [ IMAGE = "Experiment scripts" ] > > # swap, sdd > DISK = [ TYPE = swap, > SIZE = 1024, > TARGET = "sdb", > READONLY = "no", > DRIVER = "file:" ] > > #DISK = [ TYPE = fs, > # SIZE = 4096, > # FORMAT = ext3, > # SAVE = yes, > # TARGET = sdg ] > > NIC=[NETWORK="Public1"] > > -------------------------------------------------------------- > The network file is as follows > NAME = "Public1" > TYPE = FIXED > > BRIDGE = eth0 > > LEASES = [IP=192.168.145.68] > > --------------------------------------------------------------- > In opennebula , there is no option for specifying gateway, broadcast, > netmask and dns server. How these values are communicated to the instance at > boot time. I would like to know how networking is managed by opennebula > front-end. > > Prakhar > > > > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- Javier Fontan, Grid & Virtualization Technology Engineer/Researcher DSA Research Group: http://dsa-research.org Globus GridWay Metascheduler: http://www.GridWay.org OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org