<p dir="ltr">Thanks Brian for your reply and your contributions.  </p>
<div class="gmail_extra"><br><div class="gmail_quote">On Aug 22, 2016 2:09 PM, "Brian Haley" <<a href="mailto:brian.haley@hpe.com">brian.haley@hpe.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, it uses the lowest for the gateway, I was using ".1" to denote this but realize it might not have been the best example.  I'm testing a patch now to remove the '--gateway a.b.c.d' if it's not explicitly set since it isn't necessary.<br>
<br>
-Brian<br>
<br>
On 08/22/2016 01:57 PM, Brent Troge wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Doesn't neutron use the first available host address in the subnet as the<br>
gateway? So if your cidr is 128/25 then neutron would default to 129 as the<br>
gateway.<br>
<br>
<br>
On Aug 22, 2016 9:54 AM, "Brian Haley" <<a href="mailto:brian.haley@hpe.com" target="_blank">brian.haley@hpe.com</a><br>
<mailto:<a href="mailto:brian.haley@hpe.com" target="_blank">brian.haley@hpe.com</a>>> wrote:<br>
<br>
    On 08/21/2016 08:40 PM, Tony Breeds wrote:<br>
<br>
        On Sun, Aug 21, 2016 at 05:28:44PM +0530, Akilesh K wrote:<br>
<br>
            Hi,<br>
            I am using devstack for the first time and I see that it has created a<br>
            subnet like below. The cidr and gateway do not match. Because of this<br>
            devstack fails to run completely and fails while attaching a router<br>
            to this<br>
            subnet. Why is devstack doing this??<br>
<br>
<br>
        You also need to specify NETWORK_GATEWAY in your local.conf:<br>
            NETWORK_GATEWAY=10.4.128.1<br>
        should match:<br>
            FIXED_RANGE=<a href="http://10.4.128.0/20" rel="noreferrer" target="_blank">10.4.128.0/20</a> <<a href="http://10.4.128.0/20" rel="noreferrer" target="_blank">http://10.4.128.0/20</a>><br>
<br>
        Our docs need updating as we recently switched from nova to neutron as the<br>
        default network provider.<br>
<br>
<br>
    What devstack should really be doing is defaulting the gateway to "",<br>
    neutron will automatically use the ".1" of the subnet for the gateway if not<br>
    told otherwise.<br>
<br>
    I'll try and get a quick patch out today.<br>
<br>
    -Brian<br>
<br>
    ______________________________<wbr>_________________<br>
    Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
    <<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cg<wbr>i-bin/mailman/listinfo/opensta<wbr>ck</a>><br>
    Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
    <mailto:<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openst<wbr>ack.org</a>><br>
    Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
    <<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cg<wbr>i-bin/mailman/listinfo/opensta<wbr>ck</a>><br>
<br>
</blockquote>
<br>
</blockquote></div></div>