[openstack-dev] [neutron]CIDR overlapping

joehuang joehuang at huawei.com
Tue Feb 14 02:56:59 UTC 2017


Hello,

During the regression test, I find that Neutron allows CIDR overlapping in same project.

neutron --os-region-name RegionOne net-create dup-net1
neutron --os-region-name RegionOne net-create dup-net2
neutron --os-region-name RegionOne subnet-create dup-net1 20.0.1.0/24
neutron --os-region-name RegionOne subnet-create dup-net2 20.0.1.0/24

all commands can be executed successfully, and after then the project has two subnets with same CIDR: 20.0.1.0/24

Should it be allowed? Or it's just because it's too difficult to address the race condition.

Best Regards
Chaoyi Huang (joehuang)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170214/d7e48528/attachment.html>


More information about the OpenStack-dev mailing list