the IP allocation pool can be a subset of the overal subnet range, if for example, you want to limit the set of IP addresses that Quantum will hand out to a sub-range of the total IPs in the subnet.  This can be useful if a quantum network is shared with hosts outside of openstack (e.g., with physical hosts provisioned outside of openstack). <div>

<br></div><div>dan<br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 5:09 PM, Ahmed Al-Mehdi <span dir="ltr"><<a href="mailto:ahmedalmehdi@gmail.com" target="_blank">ahmedalmehdi@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you very much for the explanation.  However, I am still a bit confused.  In the command "quantum subnet-create ..." for external network, I am already providing start/end allocation pool IP addr.  What is the need for the "<a href="http://192.168.50.100/24" style="font-family:arial,sans-serif;font-size:13px" target="_blank">192.168.50.100/24</a>" option?  In this case, is this option redundant  OR  not needed (as in not used by Quantum)  OR not correctly specified?<div>


<br></div><div>You mentioned "<a href="http://192.168.50.100/30" target="_blank">192.168.50.100/30</a>", how did you get "/30"?  Is that an example?  Or is that based on the start/end IP allocation pool?<br>

<div><br></div>
<div>Thank you,</div><div>Ahmed.</div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Wed, Nov 28, 2012 at 4:44 PM, gong yong sheng <span dir="ltr"><<a href="mailto:gongysh@linux.vnet.ibm.com" target="_blank">gongysh@linux.vnet.ibm.com</a>></span> wrote:<br>


</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><div><div class="im">
    <div>On 11/29/2012 07:56 AM, Ahmed Al-Mehdi
      wrote:<br>
    </div>
    </div><blockquote type="cite"><div class="im">
      <div style="font-family:arial,sans-serif;font-size:13px">Hello,</div>
      <div style="font-family:arial,sans-serif;font-size:13px"><br>
      </div>
      <div style="font-family:arial,sans-serif;font-size:13px">I have a
        few questions related to private and external network in
        Quantum.  I am running into some odd behavior with networking
        related to my VM instance that I am trying to resolve.</div>
      <div style="font-family:arial,sans-serif;font-size:13px"><br>
      </div>
      <div style="font-family:arial,sans-serif;font-size:13px"><br>
      </div>
      </div><div class="im"><div style="font-family:arial,sans-serif;font-size:13px"># quantum net-create --tenant-id $put_id_of_service_tenant
          ext_net --router:external=True<br></div></div></blockquote></div><div class="im"><div><blockquote type="cite"><div style="font-family:arial,sans-serif;font-size:13px">
        <div>
          # quantum subnet-create --tenant-id $put_id_of_service_tenant
          --allocation-pool start=192.168.50.102,end=192.168.50.126
          --gateway 192.168.50.1 ext_net<a href="http://192.168.50.100/24" target="_blank">192.168.50.100/24</a> --enable_dhcp=False
           (step b)</div>
      </div>
      <div style="font-family:arial,sans-serif;font-size:13px"><br>
      </div>
      <div style="font-family:arial,sans-serif;font-size:13px"><br></div></blockquote></div></div><div class="im"><div><blockquote type="cite">
      <div style="font-family:arial,sans-serif;font-size:13px">-  <a href="http://192.168.50.100/24" target="_blank">192.168.50.100/24</a>:  Is 192.168.50.100
        assigned (reserved) for any purpose?  What is this cidr
        represent?<br>
      </div>
    </blockquote></div>
    It should be a wrong cidr. <br>
    I think if you are using <a href="http://192.168.50.100/30" target="_blank">192.168.50.100/30</a>, the 192.168.59.101 will
    be reserved.<div><br>
    <blockquote type="cite">
      <div style="font-family:arial,sans-serif;font-size:13px">
      </div>
      </blockquote></div></div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br>
</div>