What is the Public address, the Private address, and the address of the subnet that your client machine is on?
What is the Public address, the Private address, and the address of the subnet that your client machine is on?
Hello there, I am using --addressing private in my instances,
I ran the following command...
ssh -i ~/.euca/mykey.priv ubuntu@172.19.1.2
So it says,
ssh: connect to host 172.19.1.2 port 22: No route to host
Any idea?
If I try to ping my instances,
ping 172.19.1.2
icmp_seq=1 Destination host unreachable
what is the problem?
I believe you are accessing the instance through the wrong IP address. euca-describe-instances shows two IP addresses. You the operator and any client or user accesses the instance through the first IP address you see. The second is used by eucalyptus itself and is not the concern of a EUC operator user, or client.
1) Ping the NC (the IP of the machine itself, not the instance) from the CLC and/or CL. If there is no response your problem is with your basic network setup and/or hardware.
2) If you are successful with part 1, ping the first IP address in euca-describe-instance from the CLC and/or the CL. If you do not get a response you have a network problem with the bridge or iptables.
Thanks for replying,
I am using --addressing private as I am not having pool of public IP addresses. Whenever I use watch -n5 euca-describe-instances
It shows the list of instances, My instance is having the same IP addresses.
So what to do?
Just to be sure, run
sudo iptables -P FORWARD ACCEPT
on the Cloud Controller to make sure that it is forwarding packets from the instances.
I have used this command, bu tit doesn't work anyhow. There was no reply, no output.
sudo iptables -P FORWARD ACCEPT
Is there any other possibility to perform this?
My guess is that it is a routing problem. If you gave us the details and what your private AND public IP addresses and subnets are, I missed it.
My suggestion is that you try to ssh to the public address first, assuming that it's on the same subnet as your controller.
Bookmarks