Just restarted the VM/network, the subnet is updated (it is with dhcp) without 
losing the assigned IP, in case only the subnet was changed.

Regards,
Cristian

-----Original Message-----
From: Wei ZHOU <ustcweiz...@gmail.com> 
Sent: Sunday, September 1, 2024 11:42 AM
To: users@cloudstack.apache.org
Subject: Re: Update CIDR - Isolated network - ACS 4.18.3

If you have some running VMs, you need to manually update the netmask of the 
IPs (and routes if needed) inside the VMs as well.

-Wei

On Sun, Sep 1, 2024 at 9:36 AM <cristian.c@istream.today> wrote:

> Hello,
>
>   Just did a test, updating in db and rebuild the network. Looks fine.
>
> Thank you,
> Cristian
>
> -----Original Message-----
> From: Wei ZHOU <ustcweiz...@gmail.com>
> Sent: Friday, August 30, 2024 10:14 AM
> To: users@cloudstack.apache.org
> Subject: Re: Update CIDR - Isolated network - ACS 4.18.3
>
> Hi,
>
> I think you have to manually update the database
>
> - change "cidr" field of "network"
> - update the "netmask" field of "nics"
> - restart network with cleanup
>
> Maybe some steps are missing. Please test it with a test network first.
>
> -Wei
>
>
> On Fri, Aug 30, 2024 at 9:04 AM Cristian Ciobanu 
> <cristian.c@istream.today
> >
> wrote:
>
> > Hi Alex,
> >
> >    I'm out of IPs in this network, this is why I intended to updated 
> > the subnet, production VMs. It is a isolated network.
> >
> >
> > Regards,
> > Cristian
> >
> > On Thu, Aug 29, 2024, 16:05 Alex Mattioli 
> > <alex.matti...@shapeblue.com>
> > wrote:
> >
> > > Hi Cristian,
> > >
> > > What's the use case there?
> > > Also, which type of network are you using?
> > >
> > > Cheers
> > > Alex
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: cristian.c@istream.today <cristian.c@istream.today>
> > > Sent: Thursday, August 29, 2024 7:24 AM
> > > To: users@cloudstack.apache.org
> > > Subject: Update CIDR - Isolated network - ACS 4.18.3
> > >
> > > Hello,
> > >
> > >
> > >
> > > Is it possible to update the CIDR to a different subnet, such as 
> > > changing from /24 to /23 or a larger range? I ask this because 
> > > when I try to do this, I get an error : Invalid value of Guest VM CIDR.
> > > For IP
> > Reservation,
> > > Guest VM CIDR should be a subset of network CIDR : 10.2.1.0/24
> > >
> > >
> > > Best regards,
> > >
> > > Cristian
> > >
> > >
> > >
> >
>
>

Reply via email to