How to asssign a static IP to VM?

This is a multipart message in MIME format. ------=_NextPart_000_003D_01D1F40C.5C780750 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, I searched google and found there is no way to assign a static IP to VM until 2012, in http://lists.ovirt.org/pipermail/users/2012-May/007559.html; Is there any solution to assign static IP now? Thank you Mark ------=_NextPart_000_003D_01D1F40C.5C780750 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 = (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:10.5pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} /* Page Definitions */ @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DZH-CN link=3Dblue = vlink=3Dpurple style=3D'text-justify-trim:punctuation'><div = class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US>Hi = all,<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US> = <o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US> I searched = google and found there is no way to assign a static IP to VM until 2012, = in <a = href=3D"http://lists.ovirt.org/pipermail/users/2012-May/007559.html">http= ://lists.ovirt.org/pipermail/users/2012-May/007559.html</a>;<o:p></o:p></= span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>Is there any solution to assign static IP = now?<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>Thank you<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>Mark<o:p></o:p></span></p></div></body></html> ------=_NextPart_000_003D_01D1F40C.5C780750--

On 11 August 2016 at 13:10, lifuqiong <lifuqiong@cncloudsec.com> wrote:
I searched google and found there is no way to assign a static IP to VM until 2012, in http://lists.ovirt.org/pipermail/users/2012-May/007559.html;
Is there any solution to assign static IP now?
You can use cloud-init to provision an IP address to a machine. Or integration with OpenStack Neutron would probably allow for that too (via DHCP I imagine). Any reason why you don't just use static DHCP leases?
participants (2)
-
lifuqiong
-
Ollie Armstrong