Doesn't neutron use the first available host address in the subnet as the gateway? So if your cidr is 128/25 then neutron would default to 129 as the gateway.
On Aug 22, 2016 9:54 AM, "Brian Haley" <brian.ha...@hpe.com> wrote: > On 08/21/2016 08:40 PM, Tony Breeds wrote: > >> On Sun, Aug 21, 2016 at 05:28:44PM +0530, Akilesh K wrote: >> >>> Hi, >>> I am using devstack for the first time and I see that it has created a >>> subnet like below. The cidr and gateway do not match. Because of this >>> devstack fails to run completely and fails while attaching a router to >>> this >>> subnet. Why is devstack doing this?? >>> >> >> You also need to specify NETWORK_GATEWAY in your local.conf: >> NETWORK_GATEWAY=10.4.128.1 >> should match: >> FIXED_RANGE=10.4.128.0/20 >> >> Our docs need updating as we recently switched from nova to neutron as the >> default network provider. >> > > What devstack should really be doing is defaulting the gateway to "", > neutron will automatically use the ".1" of the subnet for the gateway if > not told otherwise. > > I'll try and get a quick patch out today. > > -Brian > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac > k > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac > k >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack