<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    When enable_dhcp is False, Config drive or metadata service can be
    used to assign static IP addresses to the deployed VM if the image
    has cloud_init or something equivalent.<br>
    <br>
    On 12/17/2014 2:15 AM, Padmanabhan Krishnan wrote:<br>
    <blockquote
cite="mid:1517147686.131964.1418804134592.JavaMail.yahoo@jws106138.mail.bf1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:13px">
        <div style="" id="yui_3_16_0_1_1418803625386_1482" class=""
          role="presentation">
          <div id="yui_3_16_0_1_1418803625386_3008" style="" class=""
            role="gridcell" tabindex="0">
            <div id="yui_3_16_0_1_1418803625386_3007" style="" class="">
              <div style="" class="" id="yiv1681302319">
                <div id="yui_3_16_0_1_1418803625386_3006" style=""
                  class="">
                  <div id="yui_3_16_0_1_1418803625386_3016" style=""
                    class="">Hello,</div>
                  <div id="yui_3_16_0_1_1418803625386_3011" style=""
                    class="">I have a question regarding the enable_dhcp
                    option when creating a network. <br>
                  </div>
                  <div id="yui_3_16_0_1_1418803625386_3010" style=""
                    class=""><br style="" class="">
                  </div>
                  <div id="yui_3_16_0_1_1418803625386_3009" style=""
                    class="">When a VM is attached to  a network where
                    enable_dhcp is False, I understand that the DHCP
                    namespace is not created for the network and the VM
                    does not get any IP address after it boots up and
                    sends a DHCP Discover.</div>
                  <div id="yui_3_16_0_1_1418803625386_3005" style=""
                    class="">But, I also see that the Neutron port is
                    filled with the fixed IP value from the network pool
                    even though there's no DHCP associated with the
                    subnet. </div>
                  <div id="yui_3_16_0_1_1418803625386_3320" style=""
                    class="">So, for such VM's, does one need to
                    statically configure the IP address with whatever
                    Neutron has allocated from the pool?</div>
                  <div id="yui_3_16_0_1_1418803625386_3162" style=""
                    class=""><br style="" class="">
                  </div>
                  <div id="yui_3_16_0_1_1418803625386_3163" style=""
                    class="">What exactly is the use case of the above? </div>
                  <div id="yui_3_16_0_1_1418803625386_3164" style=""
                    class=""><br style="" class="">
                  </div>
                  <div id="yui_3_16_0_1_1418803625386_3165" style=""
                    class="">I do understand that for providing public
                    network access to VM's, an external network is
                    generally created with enable-dhcp option set to
                    False. Is it only for this purpose?</div>
                  <div id="yui_3_16_0_1_1418803625386_3167" style=""
                    class=""><br style="" class="">
                  </div>
                  <div id="yui_3_16_0_1_1418803625386_3166" style=""
                    class="">
                    <div id="yui_3_16_0_1_1418803625386_3411">I was
                      thinking of a case of external/provider DHCP
                      servers from where VM's can get their IP addresses
                      and when one does not want to use L3 agent/DVR. In
                      such cases, one may want to disable DHCP when
                      creating networks.  Isn't this a use-case?</div>
                    <div id="yui_3_16_0_1_1418803625386_3519"><br>
                    </div>
                    <div id="yui_3_16_0_1_1418803625386_3520" dir="ltr">Appreciate
                      any response or corrections with my above
                      understanding.<br>
                    </div>
                  </div>
                  <div id="yui_3_16_0_1_1418803625386_3229" style=""
                    class=""><br style="" class="">
                  </div>
                  <div id="yui_3_16_0_1_1418803625386_3216" style=""
                    class="">Thanks,</div>
                  <div id="yui_3_16_0_1_1418803625386_3228" style=""
                    class="">Paddu </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div id="yui_3_16_0_1_1418803625386_3217" style="" class=""
          dir="ltr"><br style="" class="">
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
John Kasperski</pre>
  </body>
</html>