← Back to team overview

openstack team mailing list archive

Re: One Openstack attached to many existing networks?

 

On Tue, Mar 19, 2013 at 9:02 AM, Markku Tavasti <markku.tavasti@xxxxxxxxxxxx
> wrote:

> Hi!
>
> We are trying to create setup where one opestack cluster is connected to
> many existing networks. Networks are each assigned to some specific
> customer, and every network can have different ip range available.
>
> For example;
>  * cust1 has network 10.26.3.0/24, and has available ip's on 10.26.3.144
> - 10.26.3.151 ( /29 mask)
>  * cust2 has network 10.35.168.0/24 and has available ip's on
> 10.35.168.128 - 10.35.168.192
>
> I've tried to setup this environment wit nova-network, but with not too
> much success.
> Tried something like:
>
> nova-manage network create --label TUNK --fixed_range_v4=10.26.3.0/24--vlan=1506 --multi_host='T' --dns1=10.131.38.201 --dns2=10.231.52.2
> --gateway=10.26.3.1 --fixed_cidr=10.26.3.144/29 --num_networks=1
> --network_size=8
>
> I've tried many different combinations, but haven't still got setup where:
>  * network is /24
>  * there is network_size 8
>  * fixed ip's start from .144
>
> Preferably we would put virtual machines directly to that network, but if
> that is not possible, then even floating ip's on every network is ok.
>
> What you think, is this even possible with nova-network? And what about
> quantum?
>

this should be possible with quantum, as it separates out the cidr for a
subnet (i.e., 10.26.3.0/24) from the allocation_pools, from which IPs are
allocated.  See:
http://docs.openstack.org/trunk/openstack-network/admin/content/api_abstractions.html

dan



>
> --Tavasti
>
>
>
>
>
>
>
>
>
>
>
> ______________________________**_________________
> Mailing list: https://launchpad.net/~**openstack<https://launchpad.net/~openstack>
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~**openstack<https://launchpad.net/~openstack>
> More help   : https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~

References