As a warning, changes directly on DB can be pretty dangerous. Apache CloudStack does not allocate IPs in ascending order within the configured range. I am not sure if there is an order. So, when shrinking the range, make sure that you are not removing anything that you use.
On Wed, Sep 21, 2016 at 10:23 AM, Makrand <makrandsa...@gmail.com> wrote: > Gian, > > I am not sure if this will work for sure, but if you can locate the tables > which defines the start and end ip of public IP and then edit (update) the > end IP to what you want may do trick. Just undo update querry if it doesn't > work. > > I am not sure if below is the table, but run select query on see for > youself. > > portable_ip_range > > Note:- you can see the already assigned public IPs to existing resources in > user_ip_address table. > > > -- > Makrand > > > On Wed, Sep 21, 2016 at 6:20 PM, Gian Paolo Buono < > gianpaolo.bu...@gesca.it> > wrote: > > > Hi Makrand, > > > > I would leave the public ip assigned, but I would shrink the ip range > > Thanks > > On 09/21/2016 02:41 PM, Makrand wrote: > > > > Gian, > > > > The already assigned IP (to VR (source NAT) or VM (static NAT)) from > > initial range would cause you the issues in case you decide to get rid of > > original range. > > > > BTW, is the new range colliding with range that already exist there? If > > not, you can introduce the new range as add on range. > > > > -- > > Makrand > > > > > > On Wed, Sep 21, 2016 at 5:56 PM, Gian Paolo Buono < > > gianpaolo.bu...@gesca.it><mailto:gianpaolo.bu...@gesca.it> > > wrote: > > > > > > > > Hi, > > I have advanced but can not change the range, but only add new range or > > delete the old. > > Thanks > > On 09/21/2016 02:15 PM, Gabriel Beims Bräscher wrote: > > > > Yes, it is possible. > > > > Do you have an advanced network or basic? > > > > For example, in basic network you can change the IP range of a zone by: > > > > Home > Infrastructure > Zones > "Zone name" > PhysicalNetworkInBasicZone > > > > Guest > IP Ranges > > > > Cheers, > > Gabriel. > > > > 2016-09-21 7:24 GMT-03:00 Gian Paolo Buono <gianpaolo.bu...@gesca.it > ><mai > > lto:gianpaolo.bu...@gesca.it>< > > mailto:gianpaolo.bu...@gesca.it><mailto:gianpaolo.bu...@gesca.it>: > > > > > > > > Hi all, > > > > is it possible to change the range of public ip addresses ? If not from > > gui, can i to do from cli ? > > > > Thanks > > > > > > > > > > > > > > > > > > > > > > > > > -- Rafael Weingärtner