Re: [Openstack] can two tenants create two identical network?

2013-05-17 Thread Balamurugan V G
I am assuming you are using Quantum for networking, in which case make sure
you have enable overlapping IPs by setting:

allow_overlapping_ips = True

in /etc/quantum/quantum.conf

You also need to enable namespaces:

use_namespaces = True

in /etc/quantum/l3_agent.ini

Regards
Balu

On Fri, May 17, 2013 at 3:22 PM, Liu Wenmao marvel...@gmail.com wrote:

 Hi

 Suppose there are two tenants: A and B, they can create their own
 networks, but the networks are both 100.0.0.0/24, I think it is possible
 in multi-tenant scenarios since networks of different tenants are isolated,
 But in openstack, I have a network creation error, which says there is an
 existing network already.

 I wonder is it possible to create two identical networks for two tenant?

 Liu Wenmao

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] can two tenants create two identical network?

2013-05-17 Thread Ashok Kumaran
In addition to the below changes set use_namespaces=False in dhcp_agent.ini
too.Make sure that your operating system supports network namespaces

Sent from my iPhone

On 17-May-2013, at 3:32 PM, Balamurugan V G balamuruga...@gmail.com wrote:

I am assuming you are using Quantum for networking, in which case make sure
you have enable overlapping IPs by setting:

allow_overlapping_ips = True

in /etc/quantum/quantum.conf

You also need to enable namespaces:

use_namespaces = True

in /etc/quantum/l3_agent.ini

Regards
Balu

On Fri, May 17, 2013 at 3:22 PM, Liu Wenmao marvel...@gmail.com wrote:

 Hi

 Suppose there are two tenants: A and B, they can create their own
 networks, but the networks are both 100.0.0.0/24, I think it is possible
 in multi-tenant scenarios since networks of different tenants are isolated,
 But in openstack, I have a network creation error, which says there is an
 existing network already.

 I wonder is it possible to create two identical networks for two tenant?

 Liu Wenmao

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] can two tenants create two identical network?

2013-05-17 Thread Liu Wenmao
Yes, I use namespace and quantum.

After I set the allow_overlapping_ips option, it works, thanks guys.

To Kumaran: Do you mean that namespace support should be disabled in DHCP
agent, but why? If I disable namespace in dhcp_agent.ini, is it possible
that something does not work?


On Fri, May 17, 2013 at 6:07 PM, Ashok Kumaran ashokkumara...@gmail.comwrote:

 In addition to the below changes set use_namespaces=False in
 dhcp_agent.ini too.Make sure that your operating system supports
 network namespaces

 Sent from my iPhone

 On 17-May-2013, at 3:32 PM, Balamurugan V G balamuruga...@gmail.com
 wrote:

 I am assuming you are using Quantum for networking, in which case make
 sure you have enable overlapping IPs by setting:

 allow_overlapping_ips = True

 in /etc/quantum/quantum.conf

 You also need to enable namespaces:

 use_namespaces = True

 in /etc/quantum/l3_agent.ini

 Regards
 Balu

 On Fri, May 17, 2013 at 3:22 PM, Liu Wenmao marvel...@gmail.com wrote:

 Hi

 Suppose there are two tenants: A and B, they can create their own
 networks, but the networks are both 100.0.0.0/24, I think it is possible
 in multi-tenant scenarios since networks of different tenants are isolated,
 But in openstack, I have a network creation error, which says there is an
 existing network already.

 I wonder is it possible to create two identical networks for two tenant?

 Liu Wenmao

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] can two tenants create two identical network?

2013-05-17 Thread Ashok Kumaran
Liu.  Sorry I meant to enable namespaces as true . Mistakenly I mentioned
as false . It's good that you made it worked now

Sent from my iPhone

On 17-May-2013, at 10:18 PM, Liu Wenmao marvel...@gmail.com wrote:

Yes, I use namespace and quantum.

After I set the allow_overlapping_ips option, it works, thanks guys.

To Kumaran: Do you mean that namespace support should be disabled in DHCP
agent, but why? If I disable namespace in dhcp_agent.ini, is it possible
that something does not work?


On Fri, May 17, 2013 at 6:07 PM, Ashok Kumaran ashokkumara...@gmail.comwrote:

 In addition to the below changes set use_namespaces=False in
 dhcp_agent.ini too.Make sure that your operating system supports
 network namespaces

 Sent from my iPhone

 On 17-May-2013, at 3:32 PM, Balamurugan V G balamuruga...@gmail.com
 wrote:

 I am assuming you are using Quantum for networking, in which case make
 sure you have enable overlapping IPs by setting:

 allow_overlapping_ips = True

 in /etc/quantum/quantum.conf

 You also need to enable namespaces:

 use_namespaces = True

 in /etc/quantum/l3_agent.ini

 Regards
 Balu

 On Fri, May 17, 2013 at 3:22 PM, Liu Wenmao marvel...@gmail.com wrote:

 Hi

 Suppose there are two tenants: A and B, they can create their own
 networks, but the networks are both 100.0.0.0/24, I think it is possible
 in multi-tenant scenarios since networks of different tenants are isolated,
 But in openstack, I have a network creation error, which says there is an
 existing network already.

 I wonder is it possible to create two identical networks for two tenant?

 Liu Wenmao

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp