Hi,<br><br>Is there a way to create a duplicate network/subnet for tenant in quantum. Basically for a tenant, I want to have some instances(GroupA) share a subnet and another set of instances(GroupB) share the same(duplicate) subnet but GroupA and GroupB should be isolated. I have labnet which is the flat network to which one instance from each group is assigned for external connectivity. Then I want to have two private networks private1 and private2 both sharing the same subnet but I was to assign some instances to private1 and some in private2.<br>
<br>I have the following networks in a flat network setup.<br><br>root@openstack:~# quantum subnet-list<br>+--------------------------------------+------+------------------+------------------------------------------------------+<br>
| id                                   | name | cidr             | allocation_pools                                     |<br>+--------------------------------------+------+------------------+------------------------------------------------------+<br>
| abb62a74-ad15-452c-857f-ee0a1b388ede |      | <a href="http://192.168.168.0/24">192.168.168.0/24</a> | {"start": "192.168.168.2", "end": "192.168.168.254"} |<br>| eedc0c12-c3ed-42ce-a860-692e766087a2 |      | <a href="http://10.5.12.0/24">10.5.12.0/24</a>     | {"start": "10.5.12.21", "end": "10.5.12.25"}         |<br>
+--------------------------------------+------+------------------+------------------------------------------------------+<br>root@openstack:~# <br><br><br>Now, the following gets denied.<br><br>root@openstack:~# quantum subnet-create --tenant-id 7cda178971e84c5194c8531bf4f229d7  private2 <a href="http://192.168.168.0/24">192.168.168.0/24</a><br>
Invalid input for operation: Requested subnet with cidr: <a href="http://192.168.168.0/24">192.168.168.0/24</a> for network: 64ec75d6-0c6f-44e1-a268-b573324c4160 overlaps with another subnet.<br>root@openstack:~#<br><br>I understand that a duplicate network with a tenant is not a common scenario and perhaps by design its not allowed.<br>
<br>But there could be cases like I mentioned.<br><br>Strangely, I am not allowed to create the duplicate network even across tenants. Atleast this should be allowed.<br><br>BTW, I am running a single node Devstack.<br><br>
Regards,<br>Balu<br>