You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Ron Gage <ro...@rongage.org.INVALID> on 2024/12/27 21:08:28 UTC
Problem encountered adding an instance to a port forward entry
Hi everyone!
I must be doing something wrong here because I cannot enter a port
forwarding rule on my VPC. CS Version 4.19.1.3.
When I click on the "Add Instance" button in the UI (after specifying
public and private port ranges) in the port forwarding tab, the new
screen has no instances listed. The network tier searcher in the upper
left of the screen is likewise empty.
If I am understanding the terminology correct, I do indeed have a
network tier defined as well as a couple of instances. From the VPC page:
Could someone please help me figure out what I am doing wrong here?
Thanks!
Ron Gage
Westland, MI
RE: Problem encountered adding an instance to a port forward entry
Posted by Alex Mattioli <Al...@shapeblue.com>.
If the VM was created before the VPC then it's default gateway isn't on the VPC VR, there's no way for a dNAT to work in that way.
A VM can only have a dNAT (or any other network services) on its primary network.
-----Original Message-----
From: Ron Gage <ro...@rongage.org.INVALID>
Sent: 30 December 2024 04:05
To: users@cloudstack.apache.org
Subject: Re: Problem encountered adding an instance to a port forward entry
Found the problem and I don't know if anyone would want to fix it.
If the VPC is created after the VM is created, the VM will remain invisible to the VPC.
Ron
On 12/30/24 5:01 AM, Wei ZHOU wrote:
> It looks good in my testing too.
>
> Ron, do you use the default network offering for vpc networks ?
>
> -Wei
>
>
> On Sat, Dec 28, 2024 at 11:32 AM Daan Hoogland
> <da...@shapeblue.com>
> wrote:
>
>> Ron,
>> I just replayed your scenario in a lab environment
>>
>> - create a vpc
>> - create a tier
>> - create a vm
>> - aquire a public ip
>> - create a portforwarding rule for the ip and add the vm to it
>>
>> I've seen no strangeties. The only thing I can think of is the port
>> range overlapping with something already assigned?
>>
>>
>>
>>
>>
>> ------------------------------
>> *From:* Ron Gage <ro...@rongage.org.INVALID>
>> *Sent:* 27 December 2024 22:08
>> *To:* users@cloudstack.apache.org <us...@cloudstack.apache.org>
>> *Subject:* Problem encountered adding an instance to a port forward
>> entry
>>
>>
>> Hi everyone!
>>
>> I must be doing something wrong here because I cannot enter a port
>> forwarding rule on my VPC. CS Version 4.19.1.3.
>>
>> When I click on the "Add Instance" button in the UI (after specifying
>> public and private port ranges) in the port forwarding tab, the new
>> screen has no instances listed. The network tier searcher in the
>> upper left of the screen is likewise empty.
>>
>> If I am understanding the terminology correct, I do indeed have a
>> network tier defined as well as a couple of instances. From the VPC page:
>>
>>
>> Could someone please help me figure out what I am doing wrong here?
>>
>>
>> Thanks!
>>
>> Ron Gage
>> Westland, MI
>>
>>
>>
Re: Problem encountered adding an instance to a port forward entry
Posted by Daan Hoogland <da...@gmail.com>.
Ron, do you mean the network tier is added as an extra NIC to the VM after
the fact?
On Mon, Dec 30, 2024 at 1:06 PM Ron Gage <ro...@rongage.org.invalid> wrote:
> Found the problem and I don't know if anyone would want to fix it.
>
> If the VPC is created after the VM is created, the VM will remain
> invisible to the VPC.
>
> Ron
>
>
> On 12/30/24 5:01 AM, Wei ZHOU wrote:
> > It looks good in my testing too.
> >
> > Ron, do you use the default network offering for vpc networks ?
> >
> > -Wei
> >
> >
> > On Sat, Dec 28, 2024 at 11:32 AM Daan Hoogland <
> daan.hoogland@shapeblue.com>
> > wrote:
> >
> >> Ron,
> >> I just replayed your scenario in a lab environment
> >>
> >> - create a vpc
> >> - create a tier
> >> - create a vm
> >> - aquire a public ip
> >> - create a portforwarding rule for the ip and add the vm to it
> >>
> >> I've seen no strangeties. The only thing I can think of is the port
> range
> >> overlapping with something already assigned?
> >>
> >>
> >>
> >>
> >>
> >> ------------------------------
> >> *From:* Ron Gage <ro...@rongage.org.INVALID>
> >> *Sent:* 27 December 2024 22:08
> >> *To:* users@cloudstack.apache.org <us...@cloudstack.apache.org>
> >> *Subject:* Problem encountered adding an instance to a port forward
> entry
> >>
> >>
> >> Hi everyone!
> >>
> >> I must be doing something wrong here because I cannot enter a port
> >> forwarding rule on my VPC. CS Version 4.19.1.3.
> >>
> >> When I click on the "Add Instance" button in the UI (after specifying
> >> public and private port ranges) in the port forwarding tab, the new
> screen
> >> has no instances listed. The network tier searcher in the upper left of
> >> the screen is likewise empty.
> >>
> >> If I am understanding the terminology correct, I do indeed have a
> network
> >> tier defined as well as a couple of instances. From the VPC page:
> >>
> >>
> >> Could someone please help me figure out what I am doing wrong here?
> >>
> >>
> >> Thanks!
> >>
> >> Ron Gage
> >> Westland, MI
> >>
> >>
> >>
>
--
Daan
Re: Problem encountered adding an instance to a port forward entry
Posted by Ron Gage <ro...@rongage.org.INVALID>.
Found the problem and I don't know if anyone would want to fix it.
If the VPC is created after the VM is created, the VM will remain
invisible to the VPC.
Ron
On 12/30/24 5:01 AM, Wei ZHOU wrote:
> It looks good in my testing too.
>
> Ron, do you use the default network offering for vpc networks ?
>
> -Wei
>
>
> On Sat, Dec 28, 2024 at 11:32 AM Daan Hoogland <da...@shapeblue.com>
> wrote:
>
>> Ron,
>> I just replayed your scenario in a lab environment
>>
>> - create a vpc
>> - create a tier
>> - create a vm
>> - aquire a public ip
>> - create a portforwarding rule for the ip and add the vm to it
>>
>> I've seen no strangeties. The only thing I can think of is the port range
>> overlapping with something already assigned?
>>
>>
>>
>>
>>
>> ------------------------------
>> *From:* Ron Gage <ro...@rongage.org.INVALID>
>> *Sent:* 27 December 2024 22:08
>> *To:* users@cloudstack.apache.org <us...@cloudstack.apache.org>
>> *Subject:* Problem encountered adding an instance to a port forward entry
>>
>>
>> Hi everyone!
>>
>> I must be doing something wrong here because I cannot enter a port
>> forwarding rule on my VPC. CS Version 4.19.1.3.
>>
>> When I click on the "Add Instance" button in the UI (after specifying
>> public and private port ranges) in the port forwarding tab, the new screen
>> has no instances listed. The network tier searcher in the upper left of
>> the screen is likewise empty.
>>
>> If I am understanding the terminology correct, I do indeed have a network
>> tier defined as well as a couple of instances. From the VPC page:
>>
>>
>> Could someone please help me figure out what I am doing wrong here?
>>
>>
>> Thanks!
>>
>> Ron Gage
>> Westland, MI
>>
>>
>>
Re: Problem encountered adding an instance to a port forward entry
Posted by Wei ZHOU <us...@gmail.com>.
It looks good in my testing too.
Ron, do you use the default network offering for vpc networks ?
-Wei
On Sat, Dec 28, 2024 at 11:32 AM Daan Hoogland <da...@shapeblue.com>
wrote:
> Ron,
> I just replayed your scenario in a lab environment
>
> - create a vpc
> - create a tier
> - create a vm
> - aquire a public ip
> - create a portforwarding rule for the ip and add the vm to it
>
> I've seen no strangeties. The only thing I can think of is the port range
> overlapping with something already assigned?
>
>
>
>
>
> ------------------------------
> *From:* Ron Gage <ro...@rongage.org.INVALID>
> *Sent:* 27 December 2024 22:08
> *To:* users@cloudstack.apache.org <us...@cloudstack.apache.org>
> *Subject:* Problem encountered adding an instance to a port forward entry
>
>
> Hi everyone!
>
> I must be doing something wrong here because I cannot enter a port
> forwarding rule on my VPC. CS Version 4.19.1.3.
>
> When I click on the "Add Instance" button in the UI (after specifying
> public and private port ranges) in the port forwarding tab, the new screen
> has no instances listed. The network tier searcher in the upper left of
> the screen is likewise empty.
>
> If I am understanding the terminology correct, I do indeed have a network
> tier defined as well as a couple of instances. From the VPC page:
>
>
> Could someone please help me figure out what I am doing wrong here?
>
>
> Thanks!
>
> Ron Gage
> Westland, MI
>
>
>
RE: Problem encountered adding an instance to a port forward entry
Posted by Alex Mattioli <Al...@shapeblue.com>.
Ron,
When you add a dNAT rule in a VPC there's a drop down to select your tier, it might have defaulted a tier that doesn't have any VMs.
Cheers
Alex
From: Daan Hoogland <da...@shapeblue.com>
Sent: 28 December 2024 02:31
To: users@cloudstack.apache.org
Subject: Re: Problem encountered adding an instance to a port forward entry
Ron,
I just replayed your scenario in a lab environment
* create a vpc
* create a tier
* create a vm
* aquire a public ip
* create a portforwarding rule for the ip and add the vm to it
I've seen no strangeties. The only thing I can think of is the port range overlapping with something already assigned?
________________________________
From: Ron Gage <ro...@rongage.org.INVALID>>
Sent: 27 December 2024 22:08
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org> <us...@cloudstack.apache.org>>
Subject: Problem encountered adding an instance to a port forward entry
Hi everyone!
I must be doing something wrong here because I cannot enter a port forwarding rule on my VPC. CS Version 4.19.1.3.
When I click on the "Add Instance" button in the UI (after specifying public and private port ranges) in the port forwarding tab, the new screen has no instances listed. The network tier searcher in the upper left of the screen is likewise empty.
[cid:part1.XER7Iwkx.Op2UYOig@rongage.org]
If I am understanding the terminology correct, I do indeed have a network tier defined as well as a couple of instances. From the VPC page:
[cid:part2.UWBEnBLH.lseOd2Uh@rongage.org]
Could someone please help me figure out what I am doing wrong here?
Thanks!
Ron Gage
Westland, MI
Re: Problem encountered adding an instance to a port forward entry
Posted by Daan Hoogland <da...@shapeblue.com>.
Ron,
I just replayed your scenario in a lab environment
*
create a vpc
*
create a tier
*
create a vm
*
aquire a public ip
*
create a portforwarding rule for the ip and add the vm to it
I've seen no strangeties. The only thing I can think of is the port range overlapping with something already assigned?
________________________________
From: Ron Gage <ro...@rongage.org.INVALID>
Sent: 27 December 2024 22:08
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Problem encountered adding an instance to a port forward entry
Hi everyone!
I must be doing something wrong here because I cannot enter a port forwarding rule on my VPC. CS Version 4.19.1.3.
When I click on the "Add Instance" button in the UI (after specifying public and private port ranges) in the port forwarding tab, the new screen has no instances listed. The network tier searcher in the upper left of the screen is likewise empty.
[cid:part1.XER7Iwkx.Op2UYOig@rongage.org]
If I am understanding the terminology correct, I do indeed have a network tier defined as well as a couple of instances. From the VPC page:
[cid:part2.UWBEnBLH.lseOd2Uh@rongage.org]
Could someone please help me figure out what I am doing wrong here?
Thanks!
Ron Gage
Westland, MI