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

Ionut Popovici ionut at hackaserver.com
Mon Oct 28 10:58:52 PDT 2013


Yes but you start contextualization on startup ? If your are on debina 
just install rcconf and put'it on startup the contextualization daemon.
On 10/28/2013 7:27 PM, Documented Facts wrote:
> But I have already installed Context DEB packages and 
> contextualization ISO through the template by using sun stone. disk.2 
> is the Contexulization ISO
>
> 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',
> ]
>
>
>
> On Mon, Oct 28, 2013 at 10:32 PM, Carlos Martín Sánchez 
> <cmartin at opennebula.org <mailto:cmartin at opennebula.org>> wrote:
>
>     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 <http://www.OpenNebula.org> |
>     cmartin at opennebula.org <mailto:cmartin at opennebula.org> |
>     @OpenNebula <http://twitter.com/opennebula>
>
>
>     On Mon, Oct 28, 2013 at 5:13 PM, Documented Facts
>     <documentedfacts at gmail.com <mailto: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 <mailto:cmartin at opennebula.org>> wrote:
>
>             Hi,
>
>             On Sun, Oct 27, 2013 at 11:10 AM, Ionut Popovici
>             <ionut at hackaserver.com <mailto: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 <http://www.OpenNebula.org> |
>             cmartin at opennebula.org <mailto:cmartin at opennebula.org> |
>             @OpenNebula <http://twitter.com/opennebula>
>
>
>             On Sun, Oct 27, 2013 at 11:10 AM, Ionut Popovici
>             <ionut at hackaserver.com <mailto: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 list
>>                 Users at lists.opennebula.org  <mailto:Users at lists.opennebula.org>
>>                 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>                 _______________________________________________
>                 Users mailing list
>                 Users at lists.opennebula.org
>                 <mailto:Users at lists.opennebula.org>
>                 http://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/757e9719/attachment-0001.htm>


More information about the Users mailing list