Hi Fabrice, Now back in the office so I can check our reference system, rather than rely on my memory
Yes you are right, the 'Specify VLAN' and 'Specify IP Ranges' are linked and must both be either True or False, they cannot be set to different settings. When you use the GUI there is no 'Specify IP Ranges' tick box, so when you leave the 'Specify VLAN' option un-ticked you are also effectively saying 'I do not want to specify the IP Range' When you use the API the two parameters are listed independently but must still both be set to the same value. I assume you have been creating a Guest Network from the Infrastructure/Zone/Physical Network/Guest/Network/Add Guest Network, but using this 'advanced' approach you are limited to creating Networks where the Specify VLAN & Specify IP Ranges are linked. Apologies for this as I sent you down this road However if you simply go to Network/Add Guest Network, you can add a new Guest Network, with a Specific IP Range, and as this is an end user feature, you cannot specify the VLAN, it is assigned from the Guest Network VLAN Pool. The problem with this is that you cannot specify a small range of IPs such as 10.1.1.10 – 10.1.1.50 (I am assuming you want to 'reserve' the lower range of 10.1.1.2-10.1.1.9). One option is to create the network using the 'advanced' method and specify an IP Range and VLAN (which must be outside of the VLAN Pool Range), then update the Database by editing the record created in the 'networks' table, changing VLAN ID stored in the 'broadcast_url' field to an unused VLAN from the VLAN Pool, then also update the 'vlan_id' field in the 'vlan' table for the corresponding record. The VLAN Table is where the IP Range is stored, so if ever need to tweek the range of IPs you could do it here as you cannot do it from the GUI or API. I have tested this and it works, but thoroughly yourself first, ideally with a very small VLAN Pool so you can see if you get any conflicts when the all VLANs in the pool are allocated Regards Geoff -----Original Message----- From: Fabrice Brazier [mailto:fabrice.braz...@apalia.net] Sent: 13 December 2012 10:35 To: cloudstack-users@incubator.apache.org Subject: RE: Guest IP range for the Guest CIDR of the zone Hi Geoff, When you create a new isolated network offering, the specify IP ranges parameter is set to no: https://dl.dropbox.com/u/10978633/upload/13-12-2012%2011-30-02.png And this parameter is set to yes when the parameter "specify VLAN" is set to yes. Regards, Fabrice -----Message d'origine----- De : Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] Envoyé : jeudi 13 décembre 2012 11:07 À : <cloudstack-users@incubator.apache.org> Objet : Re: Guest IP range for the Guest CIDR of the zone Hi Fabrice, You can create a new network offering for guest network which does not have the specify VLAN flag set, then use it to create a new Guest Network, while you are at id you set the specify IP Range option you can then also set custom CIDR when you create the network. Regards Geoff On 13 Dec 2012, at 09:43, "Fabrice Brazier" <fabrice.braz...@apalia.net> wrote: Hi Folks, In an Advanced Networking setup, each Account is taking a VLAN ID from the VLAN range of the zone (for the Isolated Guest Network). The default Guest IP Range is the same for all Accounts within a Zone. The subnet is by default 10.1.1.0/24. Is there a way to specify the guest IP range for the Guest CIDR of the zone (without specifying a VLAN ID for the network but using the VLAN range of the zone) ? E.g. 10.1.1.10 – 10.1.1.50 Thanks, Fabrice ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user. ________________________________ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user. ________________________________ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales.