[one-users] network problem with VMWare ESXi
Tino Vazquez
tinova at fdi.ucm.es
Fri Sep 18 06:57:59 PDT 2009
Hi,
comments inline,
On Fri, Sep 18, 2009 at 3:50 PM, Shi Jin <jinzishuai at gmail.com> wrote:
> Interesting. I thought the OpenNebula code actually modifies the vmx
> files, doesn't it?
No, it doesn't. It uses it as the template to register the virtual
machine, and then modifies it via the VI API, so only the ESX
hypervisor modifies the "vmx" file. I couldn't find a method in the
API to set the check MAC address flag to false, although it may be
there.
> But anyway, if that line is in the original vmx, it won't be removed, right?
Exactly, it will be honored.
> So I guess we can work around it.
> Thanks.
>
> Shi
>
> On Fri, Sep 18, 2009 at 7:40 AM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>> Hi Shi Jin,
>>
>> Glad this worked. I cannot include that in the code since it is a
>> paramenter set in the ".vmx" file descriptor of the VM. Instead, I've
>> updated the documentation (see last lines of [1]) to warn users about
>> this issue.
>>
>> Regards,
>>
>> -Tino
>>
>> [1] http://opennebula.org/doku.php?id=documentation:rel1.4:vmwareg
>>
>> --
>> Constantino Vázquez, Grid Technology Engineer/Researcher:
>> http://www.dsa-research.org/tinova
>> DSA Research Group: http://dsa-research.org
>> Globus GridWay Metascheduler: http://www.GridWay.org
>> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>>
>>
>>
>> On Thu, Sep 17, 2009 at 7:52 PM, Shi Jin <jinzishuai at gmail.com> wrote:
>>> Thank you very much.
>>> This line does solve the problem.
>>> Could you please add this to the code?
>>>
>>> Thanks.
>>> Shi
>>>
>>> On Thu, Sep 17, 2009 at 11:49 AM, Javier Fontan <jfontan at gmail.com> wrote:
>>>> Hello,
>>>>
>>>> I don't know much about VMWare but in the webpage you linked there is
>>>> a way to enable the use of any mac address:
>>>>
>>>> ethernet0.checkMACAddress = "FALSE"
>>>>
>>>> Perhaps you can solve the issue with this parameter.
>>>>
>>>> The prefix for mac addresses must be 2 bytes as the other 4 bytes are
>>>> filled with the ip address in hexadecimal.
>>>>
>>>> Bye
>>>>
>>>> On Thu, Sep 17, 2009 at 7:42 PM, Shi Jin <jinzishuai at gmail.com> wrote:
>>>>> Thank you Tino. This is very helpful.
>>>>>
>>>>>>
>>>>>> 1) Create a Virtua Network in OpenNebula name "myNW" with
>>>>>> BRIDGE="one-net", and network address XX.XX.XX.XX
>>>>>> 2) Add to the VM template a NIC line like
>>>>>>
>>>>>> NIC=[NETWORK="myNW", MAC="XX:XX:XX:XX:XX:XX"]
>>>>>>
>>>>> However, I followed your instruction and got a problem starting the VM:
>>>>> 00:03:c0:a8:01:81 is not allowed as a static ethernet address. Invalid
>>>>> MAC address specified. Failed to configure ethernet0.
>>>>> I then found out that for static MAC address, VMWare only allows the
>>>>> range of 00:50:56:xx:xx:xx (see
>>>>> http://www.sanbarrow.com/vmx/vmx-network-advanced.html)
>>>>> This raises the problem that we can only specify the first two
>>>>> segments in MAC_PREFIX. When I set MAC_PREFIX = "00:50:56", the
>>>>> resulting vnet is not functioning properly. For example, it gives
>>>>> MAC=00:01:b7:d4:92:81, which is not as expected.
>>>>>
>>>>> Is there a solution to this?
>>>>> Thank you very much.
>>>>>
>>>>> Shi
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at 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
>>>>
>>>
>>>
>>>
>>> --
>>> Shi Jin, Ph.D.
>>>
>>
>
>
>
> --
> Shi Jin, Ph.D.
>
More information about the Users
mailing list