[Openstack] How to support for multiple external networks?
Remo at Italy1.com
Thu Nov 19 23:34:32 UTC 2015
I think your gw is wrong your mask is /24 it does not match.
Just make sure you do have the right info.
Inviato da iPhone
> Il giorno 19 nov 2015, alle ore 03:38, José Riguera López <jriguera at gmail.com> ha scritto:
> You can, just tell neutron you want to have another external network. Lets say VLAN=300 is 192.168.66.0/24
> # Creating the external network type VLAN with VLAND ID == 300
> # The name of the provider physical_network "ext" is mapped to a physical
> # device on the ML2 configuration file of each network node
> neutron net-create \
> --provider:network_type vlan \
> --provider:physical_network ext \
> --router:external \
> --provider:segmentation_id 300 \
> # Define the IP range for floating IPs available on that network, the gateway,
> # DNS nameservers and CIDR, and no DHCP (in this case)
> neutron subnet-create \
> --allocation-pool start=192.168.66.10,end=192.168.66.255 \
> --ip-version 4 \
> --gateway 192.168.88.1 \
> --disable-dhcp \
> --dns-nameserver 220.127.116.11 \
> --name ext_net_300_subnet \
> ext_net_300 192.168.66.0/24
> Then the users will see 2 (or more) floating ip pools ...
> 2015-11-19 11:18 GMT+01:00 Ray Sun <xiaoquqi at gmail.com>:
>> I want to setup multiple external networks, but I don't know how to make this works.
>> Here's my user requirements:
>> There are two departments want to use my cloud, but as history problem, they wants their VMs to use original IP range. DepA wants to use floating ip in 192.168.66.0/24, DepB wants to use floating ip in 192.168.77.0/24.
>> I can create multiple subnets in my external network. But I am not quite sure if this can work in OpenStack. In my network environment, 192.168.66.0/24 and 192.168.77.0/24 are two VLANs.
>> Anybody know how to implement this kind of scenarios? If this is not possible, how can I design my architecture to meet the requirements.
>> Best Regards
>> -- Ray
>> 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
> José Riguera López <jriguera at gmail.com>
> 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...
More information about the Openstack