[one-users] XEN Assigned IP is not available in VM

Carlos Martín Sánchez cmartin at opennebula.org
Mon Oct 28 10:02:20 PDT 2013


Hi,

In OpenNebula the guests can configure their IP via contextualization, or
deploying the virtual router dhcp appliance. The previous links should get
you started.

Cheers
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Mon, Oct 28, 2013 at 5:13 PM, Documented Facts <documentedfacts at gmail.com
> wrote:

> Can I get a solution to my problem or any path to find solution for that ?
>
>
> On Mon, Oct 28, 2013 at 4:50 PM, Carlos Martín Sánchez <
> cmartin at opennebula.org> wrote:
>
>> Hi,
>>
>> On Sun, Oct 27, 2013 at 11:10 AM, Ionut Popovici <ionut at hackaserver.com>
>>  wrote:
>>
>>> Use contextualization .. if not  make and dhcp server that will use the
>>> mac address as opennebula use ..
>>> the end of max is the ip adress in hexa
>>> 10.0.0.1
>>> is like 02:00:0a:00:00:01 so u can make your own lesses :D
>>>
>>
>> I want to add to Ionut's answer that contextualization is explained here:
>> http://opennebula.org/documentation:rel4.2:context_overview
>>
>> And that we already provide a dhcp server appliance, you don't need to
>> make your own:
>> http://opennebula.org/documentation:rel4.2:router
>>
>> Best regards
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>>
>>
>> On Sun, Oct 27, 2013 at 11:10 AM, Ionut Popovici <ionut at hackaserver.com>wrote:
>>
>>>  Use contextualization .. if not  make and dhcp server that will use
>>> the mac address as opennebula use ..
>>> the end of max is the ip adress in hexa
>>> 10.0.0.1
>>> is like 02:00:0a:00:00:01 so u can make your own lesses :D
>>>
>>> On 10/27/2013 11:58 AM, Documented Facts wrote:
>>>
>>>  Hi
>>>
>>>  I have assigned vm a IP address with this form 10.*.*.163. But when I
>>> see ip by using ifconfig totally different IP is displayed.
>>>
>>>  The deployment.0 file show the correct ip which I want in vif session.
>>> if I run same image through xen by using .xen file with the bellow vif. It
>>> show the ip for that VM and it let ping from outside. Can you give me
>>> advice to overcome this problem. I don't have install VNC since I can
>>> access the XEN hosts.
>>>
>>>  name = 'one-36'
>>> #O CPU_CREDITS = 180
>>> memory  = '256'
>>> bootloader = "/usr/bin/pygrub"
>>> disk = [
>>>     'file:/var/lib/one//datastores/0/36/disk.0,xvda,w',
>>>     'file:/var/lib/one//datastores/0/36/disk.1,xvdc,w',
>>>     'file:/var/lib/one//datastores/0/36/disk.2,xvdb,r',
>>> ]
>>> vif = [
>>>     ' mac=02:00:0a:16:81:a3,ip=10.*.*.163,bridge=xenbr0',
>>> ]
>>>
>>>  Thanks
>>>
>>>
>>> _______________________________________________
>>> Users mailing listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131028/bb5c1de5/attachment-0002.htm>


More information about the Users mailing list