Hi, You can add a a certain lease (IP and MAC) via "onevnet addlease"
* addleases <vnetid> <ip> [<mac>] for instance $ onevnet addleases 1 10.150.0.150 00:50:56:3f:ff:ff Hope it helps, -Tino -- Constantino Vázquez Blanco, MSc Project Engineer OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Fri, Jun 15, 2012 at 10:06 AM, 张光鹏 <zhan...@neusoft.com> wrote: > ** > Hi, > I use opennebula3.4 manage esx4.1 , > vmware requires a virtual machine mac address "00:50:56:00:00:00 > " and "00:50:56:3f:ff:ff", > > If you do not meet this requirement, the migration will be a warning, cause > migration to fail . > In this file-ONE/etc/one.conf I > defines the virtual machine mac address prefix "00:50", but it is not > enough. > Now , Mac address of my virtual machine like that > LEASE=[ IP="10.150.0.1", MAC="00:50:0a:96:00:01", USED="0", VID="-1" ] > LEASE=[ IP="10.150.0.2", MAC="00:50:0a:96:00:02", USED="0", VID="-1" ] > LEASE=[ IP="10.150.0.3", MAC="00:50:0a:96:00:03", USED="0", VID="-1" ] > LEASE=[ IP="10.150.0.4", MAC="00:50:0a:96:00:04", USED="0", VID="-1" ] > LEASE=[ IP="10.150.0.5", MAC="00:50:0a:96:00:05", USED="0", VID="-1" ] > LEASE=[ IP="10.150.0.6", MAC="00:50:0a:96:00:06", USED="0", VID="-1" ] > LEASE=[ IP="10.150.0.7", MAC="00:50:0a:96:00:07", USED="0", VID="-1" ] > LEASE=[ IP="10.150.0.8", MAC="00:50:0a:96:00:08", USED="0", VID="-1" ] > LEASE=[ IP="10.150.0.9", MAC="00:50:0a:96:00:09", USED="0", VID="-1" ] > > How can I get mac address limit between the "00:50:56:00:00:00 " and > "00:50:56:3f:ff:ff". > > Thanks. > ------------------------------ > 张光鹏 > tel: 13718913184 > mail: zhan...@neusoft.com > 移动互联网事业部 > 东软集团股份有限公司 > http://www.neusoft.com > > > --------------------------------------------------------------------------------------------------- > Confidentiality Notice: The information contained in this e-mail and any > accompanying attachment(s) > is intended only for the use of the intended recipient and may be > confidential and/or privileged of > Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader > of this communication is > not the intended recipient, unauthorized use, forwarding, printing, > storing, disclosure or copying > is strictly prohibited, and may be unlawful.If you have received this > communication in error,please > immediately notify the sender by return e-mail, and delete the original > message and all copies from > your system. Thank you. > > --------------------------------------------------------------------------------------------------- > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org