[Openstack] Internet connectivity to a new user's VM

Priyanka ppnaik at cse.iitb.ac.in
Tue Jul 21 05:00:16 UTC 2015


Hi Sam,

I will create different routers for different users as the router I had 
created initially was a demo tenant router and so cannot be used by a 
new user. Also, it might sound silly but I have a doubt. For the new 
user created I have to create a new tenant too and the private network 
and router I will create will be for that tenant? According to the 
openstack setup guide the new user created should be added to the demo 
tenant itself. Doing this I cannot create a private network for the new 
user.

Sorry for asking such doubts but please help me clear my queries.

Thanks a lot,

Priyanka

On Monday 20 July 2015 02:43 PM, Priyanka wrote:
> Hi,
>
> Thanks a lot for a quick response. The network shared is the external 
> network right?
>
> Adding the points below just to confirm:
>
> 1. external_network is shared (example ext-net).
> 2. demo user network demo-net subnet demo-subnet (gateway 192.168.1.1 
> range 192.168.1.0/24)
> 3. user1 user network user1-net subnet user1-subnet (gateway 
> 192.168.2.1 range 192.168.2.0/24)
> 4. I already have a router demo-router with demo-subnet interface 
> added. Also router-gateway-set to ext-net.
> 5. I need to add user1-subnet interface to this router using:
>         neutron router-interface-add demo-router user1-subnet
>
> Are these steps correct?
>
> Thanks,
>
> Priyanka
>
> On Monday 20 July 2015 02:35 PM, Sam Stoelinga wrote:
>> There are several ways to do it.
>>
>> #. You have a single router with external gateway your physical 
>> external network. Create another private network and add an interface 
>> of this private network to this router. Make this network shared 
>> accross tenants.
>> #. For each tenant create a router with external gateway your 
>> physical external network.
>>
>> For reference:
>> http://docs.openstack.org/admin-guide-cloud/content/tenant-provider-networks.html
>> http://docs.openstack.org/icehouse/training-guides/content/operator-network-node.html#operator-openstack-networking-use-cases
>>
>> On Mon, Jul 20, 2015 at 4:32 PM, Priyanka <ppnaik at cse.iitb.ac.in 
>> <mailto:ppnaik at cse.iitb.ac.in>> wrote:
>>
>>     Hi Sam,
>>
>>     Thanks. So once the external network is shared I need to add an
>>     interface to the existing router to add the new subnet I will 
>>     create for the new user similar to demo-subnet for demo user?
>>
>>     Thanks,
>>
>>     Priyanka
>>
>>
>>     On Monday 20 July 2015 11:51 AM, Sam Stoelinga wrote:
>>>     You can do this by making the network that you want to be shared
>>>     between tenants shared.
>>>
>>>     Both the UI or via CLI support this:
>>>     neutron net-create --shared public-net
>>>     or for existing network
>>>     neutron net-update --shared public-net
>>>
>>>     Sam Stoelinga
>>>
>>>     On Mon, Jul 20, 2015 at 12:30 PM, Priyanka
>>>     <ppnaik at cse.iitb.ac.in <mailto:ppnaik at cse.iitb.ac.in>> wrote:
>>>
>>>         Hi,
>>>
>>>         I want to add a new user other than the demo user in
>>>         openstack juno. But I want the same external network to be
>>>         used by its VM for internet connectivity. How can I do this?
>>>
>>>         Thanks ,
>>>
>>>         Priyanka
>>>
>>>         _______________________________________________
>>>         Mailing list:
>>>         http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>         Post to     : openstack at lists.openstack.org
>>>         <mailto:openstack at lists.openstack.org>
>>>         Unsubscribe :
>>>         http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>
>>>
>>
>>
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150721/9f80aab5/attachment.html>


More information about the Openstack mailing list