<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1418831515084_8076"><span></span></div> <div id="yui_3_16_0_1_1418831515084_8094" class="yiv9783512778qtdSeparateBR"><br><div style="" class="" id="yui_3_16_0_1_1418831515084_6665" dir="ltr"><font style="" class="" id="yui_3_16_0_1_1418831515084_6664" size="2"><font style="" class="" id="yui_3_16_0_1_1418831515084_6663" face="Arial">Thanks for the response, i saw the other thread in the morning. Will use that thread, if i have further questions.</font></font></div><div style="" class="" dir="ltr" id="yiv9783512778yui_3_16_0_1_1418831515084_4215"><br style="" class="" clear="none"></div><font style="" class="" id="yui_3_16_0_1_1418831515084_6682" size="2"><font style="" class="" id="yui_3_16_0_1_1418831515084_6683" face="Arial">-Paddu</font></font><br clear="none"><br clear="none"></div><div id="yui_3_16_0_1_1418831515084_8092" style="display: block;" class="yahoo_quoted"><div id="yui_3_16_0_1_1418831515084_8091" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"><div id="yui_3_16_0_1_1418831515084_8090" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"><div id="yui_3_16_0_1_1418831515084_8089" class="y_msg_container"><div id="yiv9783512778"><div id="yui_3_16_0_1_1418831515084_8088"><div id="yui_3_16_0_1_1418831515084_8087" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div class="yiv9783512778yqt8984448576" id="yiv9783512778yqt45469"><div class="yiv9783512778yahoo_quoted" id="yiv9783512778yui_3_16_0_1_1418831515084_4193" style="display:block;"><div id="yiv9783512778yui_3_16_0_1_1418831515084_4192" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div id="yiv9783512778yui_3_16_0_1_1418831515084_4191" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><br clear="none"> <div class="yiv9783512778y_msg_container" id="yiv9783512778yui_3_16_0_1_1418831515084_4190"><div id="yiv9783512778"><div id="yiv9783512778yui_3_16_0_1_1418831515084_4189"><div id="yiv9783512778yui_3_16_0_1_1418831515084_4200"><br clear="none">
</div>
<span id="yiv9783512778OLK_SRC_BODY_SECTION">
</span><div id="yiv9783512778yui_3_16_0_1_1418831515084_4198" style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt;">
<span id="yiv9783512778yui_3_16_0_1_1418831515084_4209" style="font-weight:bold;">From: </span>Pasquale Porreca <<a rel="nofollow" shape="rect" id="yiv9783512778yui_3_16_0_1_1418831515084_4199" ymailto="mailto:pasquale.porreca@dektech.com.au" target="_blank" href="mailto:pasquale.porreca@dektech.com.au">pasquale.porreca@dektech.com.au</a>><br clear="none">
<span id="yui_3_16_0_1_1418831515084_8118" style="font-weight:bold;">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a rel="nofollow" shape="rect" ymailto="mailto:openstack-dev@lists.openstack.org" target="_blank" href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br clear="none">
<span id="yiv9783512778yui_3_16_0_1_1418831515084_4210" style="font-weight:bold;">Date: </span>Wednesday, December 17, 2014 12:37 AM<br clear="none">
<span id="yiv9783512778yui_3_16_0_1_1418831515084_4211" style="font-weight:bold;">To: </span>"<a rel="nofollow" shape="rect" id="yiv9783512778yui_3_16_0_1_1418831515084_4197" ymailto="mailto:openstack-dev@lists.openstack.org" target="_blank" href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a id="yui_3_16_0_1_1418831515084_8126" rel="nofollow" shape="rect" ymailto="mailto:openstack-dev@lists.openstack.org" target="_blank" href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br clear="none">
<span style="font-weight:bold;">Subject: </span>Re: [openstack-dev] [Neutron][Nova][DHCP] Use case of enable_dhcp option when creating a network<br clear="none">
</div>
<div id="yiv9783512778yui_3_16_0_1_1418831515084_4196"><br clear="none">
</div>
<div id="yiv9783512778yui_3_16_0_1_1418831515084_4188">
<div id="yiv9783512778yui_3_16_0_1_1418831515084_4187">Just yesterday I asked a similar question on ML, this is the answer I got:<br clear="none">
<br clear="none">
In Neutron IP address management and distribution are separated concepts.
<div id="yiv9783512778yui_3_16_0_1_1418831515084_4195">IP addresses are assigned to ports even when DHCP is disabled. That IP address is indeed used to configure anti-spoofing rules and security groups.</div>
<br clear="none">
<a rel="nofollow" shape="rect" class="yiv9783512778moz-txt-link-freetext" id="yiv9783512778yui_3_16_0_1_1418831515084_4194" target="_blank" href="http://lists.openstack.org/pipermail/openstack-dev/2014-December/053069.html">http://lists.openstack.org/pipermail/openstack-dev/2014-December/053069.html</a><br clear="none">
<br clear="none">
<div class="yiv9783512778moz-cite-prefix" id="yiv9783512778yui_3_16_0_1_1418831515084_4213">On 12/17/14 09:15, Padmanabhan Krishnan wrote:<br clear="none">
</div>
<blockquote id="yiv9783512778yui_3_16_0_1_1418831515084_4217" type="cite">
<div id="yiv9783512778yui_3_16_0_1_1418831515084_4216" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;">
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_1482" style="">
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3008" style="">
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3007" style="">
<div class="yiv9783512778" id="yiv9783512778" style="">
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3006" style="">
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3016" style="">Hello,</div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3011" style="">I have a question regarding the enable_dhcp option when creating a network.
<br clear="none">
</div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3010" style=""><br class="yiv9783512778" style="" clear="none">
</div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3009" style="">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 class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3005" style="">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 class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3320" style="">So, for such VM's, does one need to statically configure the IP address with whatever Neutron has allocated from the pool?</div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3162" style=""><br class="yiv9783512778" style="" clear="none">
</div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3163" style="">What exactly is the use case of the above? </div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3164" style=""><br class="yiv9783512778" style="" clear="none">
</div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3165" style="">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 class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3167" style=""><br class="yiv9783512778" style="" clear="none">
</div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3166" style="">
<div id="yiv9783512778yui_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="yiv9783512778yui_3_16_0_1_1418803625386_3519"><br clear="none">
</div>
<div dir="ltr" id="yiv9783512778yui_3_16_0_1_1418803625386_3520">Appreciate any response or corrections with my above understanding.<br clear="none">
</div>
</div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3229" style=""><br class="yiv9783512778" style="" clear="none">
</div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3216" style="">Thanks,</div>
<div class="yiv9783512778" id="yiv9783512778yui_3_16_0_1_1418803625386_3228" style="">Paddu </div>
</div>
</div>
</div>
</div>
</div>
<div class="yiv9783512778" dir="ltr" id="yiv9783512778yui_3_16_0_1_1418803625386_3217" style=""><br class="yiv9783512778" style="" clear="none">
</div>
</div>
<br clear="none">
<fieldset class="yiv9783512778mimeAttachmentHeader"></fieldset> <br clear="none">
<pre>_______________________________________________
OpenStack-dev mailing list
<a rel="nofollow" shape="rect" class="yiv9783512778moz-txt-link-abbreviated" ymailto="mailto:OpenStack-dev@lists.openstack.org" target="_blank" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><a rel="nofollow" shape="rect" class="yiv9783512778moz-txt-link-freetext" target="_blank" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></pre>
</blockquote>
<br clear="none">
<pre class="yiv9783512778moz-signature">-- 
Pasquale Porreca

DEK Technologies
Via dei Castelli Romani, 22
00040 Pomezia (Roma)

Mobile +39 3394823805
Skype paskporr</pre>
</div>
</div>

</div>
</div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div> </div></div></div><br><br></div>  </div> </div>  </div> </div></body></html>