You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Ashutosh Kelkar <as...@clogeny.com> on 2014/01/23 10:08:16 UTC
SSH to VM via default network failing
Hi,
I have a VM deployed in two isolated networks. I am doing following things
with each network.
1) Acquire public IP
2) Open firewall for this IP
3) Create port forwarding rule using this IP for the above mentioned VM
Now when I try to SSH to VM using these 2 IPs, SSH via IP belonging to
non-default network succeeds but through the IP belonging to default
network fails.
Can someone throw some light on why would this be happening? Shouldn't it
work for both the IPs?
--
Regards,
Ashutosh
Re: SSH to VM via default network failing
Posted by Ashutosh Kelkar <as...@clogeny.com>.
Thanks Jayapal, I will check and revert.
On Thu, Jan 23, 2014 at 2:55 PM, Jayapal Reddy Uradi <
jayapalreddy.uradi@citrix.com> wrote:
> Hi Ashutosh,
>
> 1. Check the router public interface is configured with the acquired
> public ip
> 2. Check the rules specific to FW/PF are configured correctly on VR.
> 3. If 1,2 are correct try to debug the traffic by capturing the packets on
> router and vm
> 4. If the packets reached to router and then VM, there could be issue in
> return traffic path.
> 5. If the packets reached router but not VM, issue with the router
> iptables rules
>
>
> Thanks,
> Jayapal
>
> On 23-Jan-2014, at 2:38 PM, Ashutosh Kelkar <as...@clogeny.com> wrote:
>
> > Hi,
> >
> > I have a VM deployed in two isolated networks. I am doing following
> things
> > with each network.
> >
> > 1) Acquire public IP
> > 2) Open firewall for this IP
> > 3) Create port forwarding rule using this IP for the above mentioned VM
> >
> > Now when I try to SSH to VM using these 2 IPs, SSH via IP belonging to
> > non-default network succeeds but through the IP belonging to default
> > network fails.
> >
> > Can someone throw some light on why would this be happening? Shouldn't it
> > work for both the IPs?
> >
> > --
> > Regards,
> > Ashutosh
>
>
--
Regards,
Ashutosh
Re: SSH to VM via default network failing
Posted by Jayapal Reddy Uradi <ja...@citrix.com>.
Hi Ashutosh,
1. Check the router public interface is configured with the acquired public ip
2. Check the rules specific to FW/PF are configured correctly on VR.
3. If 1,2 are correct try to debug the traffic by capturing the packets on router and vm
4. If the packets reached to router and then VM, there could be issue in return traffic path.
5. If the packets reached router but not VM, issue with the router iptables rules
Thanks,
Jayapal
On 23-Jan-2014, at 2:38 PM, Ashutosh Kelkar <as...@clogeny.com> wrote:
> Hi,
>
> I have a VM deployed in two isolated networks. I am doing following things
> with each network.
>
> 1) Acquire public IP
> 2) Open firewall for this IP
> 3) Create port forwarding rule using this IP for the above mentioned VM
>
> Now when I try to SSH to VM using these 2 IPs, SSH via IP belonging to
> non-default network succeeds but through the IP belonging to default
> network fails.
>
> Can someone throw some light on why would this be happening? Shouldn't it
> work for both the IPs?
>
> --
> Regards,
> Ashutosh