You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "jcapagcuan ." <jc...@svi.com.ph> on 2022/03/02 00:01:00 UTC

Virtual router issue on multiple hosts

Hi,

I have 2 hosts (XCP-NG hosts) in my cloudstack. Whenever I launch an instance that is in a different host as the virtual routers, the instance cannot retrieve proper IP (internal, private) configuration and is not accessible even from the virtual router it is attached. But if the virtual router and the instance are on the same host, everything works fine. Why is that? I’m using 4.16.0 btw.

Thanks,
Irvin


Re: Virtual router issue on multiple hosts

Posted by "jcapagcuan ." <jc...@svi.com.ph>.
Hi Antoine,

Firewall seems ok. Actually if I view the console of my VM, it can’t resolve networking on boot. Then network resolution will fail and the VM will not have the correct IP when I check it.

Thanks,
Irvin

> On Mar 2, 2022, at 10:01 AM, Antoine Boucher <an...@haltondc.com> wrote:
> 
> Hi Irvin,
> 
> We are also running xcp-ng clusters. I find xen much easier to diagnose with XenCenter or xen orchestra. 
> 
> If all the network creation seem right on the hosts with vlans, I would check the host firewall setting and the switch setting. 
> 
> Regards,
> Antoine
> 
> Antoine Boucher
> AntoineB@haltondc.com
> [o] +1-226-505-9734
> www.haltondc.com
> 
> “Data security made simple and affordable”
> 
> 
> 
> 
> 
> Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, and delete this message and any attachments from your system.
> 
> On Mar 1, 2022, at 19:01, jcapagcuan . <jc...@svi.com.ph> wrote:
> 
> Hi,
> 
> I have 2 hosts (XCP-NG hosts) in my cloudstack. Whenever I launch an instance that is in a different host as the virtual routers, the instance cannot retrieve proper IP (internal, private) configuration and is not accessible even from the virtual router it is attached. But if the virtual router and the instance are on the same host, everything works fine. Why is that? I’m using 4.16.0 btw.
> 
> Thanks,
> Irvin
> 


Re: Virtual router issue on multiple hosts

Posted by Antoine Boucher <an...@haltondc.com>.
Hi Irvin,

We are also running xcp-ng clusters. I find xen much easier to diagnose with XenCenter or xen orchestra. 

If all the network creation seem right on the hosts with vlans, I would check the host firewall setting and the switch setting. 

Regards,
Antoine

Antoine Boucher
AntoineB@haltondc.com
[o] +1-226-505-9734
www.haltondc.com

“Data security made simple and affordable”





Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, and delete this message and any attachments from your system.

On Mar 1, 2022, at 19:01, jcapagcuan . <jc...@svi.com.ph> wrote:

Hi,

I have 2 hosts (XCP-NG hosts) in my cloudstack. Whenever I launch an instance that is in a different host as the virtual routers, the instance cannot retrieve proper IP (internal, private) configuration and is not accessible even from the virtual router it is attached. But if the virtual router and the instance are on the same host, everything works fine. Why is that? I’m using 4.16.0 btw.

Thanks,
Irvin


Re: Virtual router issue on multiple hosts

Posted by "jcapagcuan ." <jc...@svi.com.ph>.
Thanks Wei,

I’ll look into this.

Thanks,
Irvin

> On Mar 2, 2022, at 5:38 PM, Wei ZHOU <us...@gmail.com> wrote:
> 
> Hi Irvin,
> 
> Yes, you need to configure vlan on your switches. It is not a cloudstack
> issue.
> 
> Please read
> http://docs.cloudstack.apache.org/en/latest/conceptsandterminology/network_setup.html#basic-and-advanced-networking
> 
> Kind regards,
> Wei
> 
> On Wed, 2 Mar 2022 at 09:21, jcapagcuan . <jc...@svi.com.ph> wrote:
> 
>> Hi Wei,
>> 
>> I’m not really familiar with vlans, is still the vlan defined in the
>> public/guest network?
>> 
>> Thanks,
>> Irvin
>> 
>>> On Mar 2, 2022, at 2:43 PM, Wei ZHOU <us...@gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>> This is a typical issue caused by vlan/port misconfiguration on switches.
>>> 
>>> -Wei
>>> 
>>> On Wed, 2 Mar 2022 at 01:01, jcapagcuan . <jc...@svi.com.ph> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I have 2 hosts (XCP-NG hosts) in my cloudstack. Whenever I launch an
>>>> instance that is in a different host as the virtual routers, the
>> instance
>>>> cannot retrieve proper IP (internal, private) configuration and is not
>>>> accessible even from the virtual router it is attached. But if the
>> virtual
>>>> router and the instance are on the same host, everything works fine.
>> Why is
>>>> that? I’m using 4.16.0 btw.
>>>> 
>>>> Thanks,
>>>> Irvin
>>>> 
>>>> 
>> 
>> 


Re: Virtual router issue on multiple hosts

Posted by Wei ZHOU <us...@gmail.com>.
Hi Irvin,

Yes, you need to configure vlan on your switches. It is not a cloudstack
issue.

Please read
http://docs.cloudstack.apache.org/en/latest/conceptsandterminology/network_setup.html#basic-and-advanced-networking

Kind regards,
Wei

On Wed, 2 Mar 2022 at 09:21, jcapagcuan . <jc...@svi.com.ph> wrote:

> Hi Wei,
>
> I’m not really familiar with vlans, is still the vlan defined in the
> public/guest network?
>
> Thanks,
> Irvin
>
> > On Mar 2, 2022, at 2:43 PM, Wei ZHOU <us...@gmail.com> wrote:
> >
> > Hi,
> >
> > This is a typical issue caused by vlan/port misconfiguration on switches.
> >
> > -Wei
> >
> > On Wed, 2 Mar 2022 at 01:01, jcapagcuan . <jc...@svi.com.ph> wrote:
> >
> >> Hi,
> >>
> >> I have 2 hosts (XCP-NG hosts) in my cloudstack. Whenever I launch an
> >> instance that is in a different host as the virtual routers, the
> instance
> >> cannot retrieve proper IP (internal, private) configuration and is not
> >> accessible even from the virtual router it is attached. But if the
> virtual
> >> router and the instance are on the same host, everything works fine.
> Why is
> >> that? I’m using 4.16.0 btw.
> >>
> >> Thanks,
> >> Irvin
> >>
> >>
>
>

Re: Virtual router issue on multiple hosts

Posted by "jcapagcuan ." <jc...@svi.com.ph>.
Hi Wei,

I’m not really familiar with vlans, is still the vlan defined in the public/guest network?

Thanks,
Irvin

> On Mar 2, 2022, at 2:43 PM, Wei ZHOU <us...@gmail.com> wrote:
> 
> Hi,
> 
> This is a typical issue caused by vlan/port misconfiguration on switches.
> 
> -Wei
> 
> On Wed, 2 Mar 2022 at 01:01, jcapagcuan . <jc...@svi.com.ph> wrote:
> 
>> Hi,
>> 
>> I have 2 hosts (XCP-NG hosts) in my cloudstack. Whenever I launch an
>> instance that is in a different host as the virtual routers, the instance
>> cannot retrieve proper IP (internal, private) configuration and is not
>> accessible even from the virtual router it is attached. But if the virtual
>> router and the instance are on the same host, everything works fine. Why is
>> that? I’m using 4.16.0 btw.
>> 
>> Thanks,
>> Irvin
>> 
>> 


Re: Virtual router issue on multiple hosts

Posted by Wei ZHOU <us...@gmail.com>.
Hi,

This is a typical issue caused by vlan/port misconfiguration on switches.

-Wei

On Wed, 2 Mar 2022 at 01:01, jcapagcuan . <jc...@svi.com.ph> wrote:

> Hi,
>
> I have 2 hosts (XCP-NG hosts) in my cloudstack. Whenever I launch an
> instance that is in a different host as the virtual routers, the instance
> cannot retrieve proper IP (internal, private) configuration and is not
> accessible even from the virtual router it is attached. But if the virtual
> router and the instance are on the same host, everything works fine. Why is
> that? I’m using 4.16.0 btw.
>
> Thanks,
> Irvin
>
>