Hi Gabriel,

Thanks for responding, Why I wanted it to be the same because it can cause
loss of connectivity if the nic has static ips.
Also, Can you please point me exactly where these slots get assigned in
cloudstack?

Appreciate your help.

Regards,
Nick.

On Fri, Oct 3, 2025 at 1:58 PM Gabriel Santos <
[email protected]> wrote:

> Hi, Nick.
>
> As far as I know, there isn't a way to guarantee which slots are used.
> However, I did a little testing and it seems this only happens when a
> NIC is added while the VM is running. After it is stopped, following
> restarts don't change the interface slots until another device is added.
>
> Out of curiosity, could you elaborate on why you need it to be the same?
> Perhaps there are alternatives.
>
> Regards,
> Gabriel Santos
>
> On 10/3/25 14:56, work wrote:
> > Hello All,
> >
> > I am using cloudstack version 4.19 with KVM host and trying to add nic
> and
> > disk to a running instance and the pci slot for it changes when I reboot
> > the instance.
> >
> > NIC before reboot:
> > <interface type='bridge'>
> > <source bridge='breth2-310'/>
> > <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
> > </interface>
> >
> > NIC1
> > <interface type='bridge'>
> > <source bridge='breth2-313'/>
> > <address type='pci' domain='0x0000' bus='0x00' slot='0x07'
> function='0x0'/>
> > </interface>
> >
> > NIC after reboot
> > <interface type='bridge'>
> > <source bridge='breth2-310'/>
> > <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
> > </interface>
> >
> > NIC1
> > <interface type='bridge'>
> > <source bridge='breth2-313'/>
> > <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x0'/>
> > </interface>
> >
> > Please suggest what can be done here.
> >
> > Thanks in advance for any suggestions.
> >
> > Regards,
> > Nick.
> >
>

Reply via email to