cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <ch0...@gmail.com>
Subject Fwd: Access internal cloud instance from host
Date Thu, 25 Oct 2012 16:37:50 GMT
Hi,

I would like to thanks all the guys who have help me since yesterday. I
have been able to install and run successfully cloudstack release 4.0 on a
MacBookPro (OSX 10.7.4) where DevCloud is deployed in VirtualBox. Thx for
step by step + video (
https://cwiki.apache.org/CLOUDSTACK/cloudstack-40-test-procedure.html,
https://vimeo.com/52150218
)

Question : What should we modify to allow to access from the DevCloud VM
machine to one cloud instance created ?

LapTop - MacBookPro with address 192.168.1.2
Within a terminal on my mac I can connect to the DevCloud Virtual Machine
using ssh

ssh -p 2222 root@localhost
root@localhost's password:
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic-pae i686)

  System load:  0.36              Users logged in:       0
  Usage of /:   31.3% of 5.57GB   IP address for eth0:   10.0.2.15
  Memory usage: 83%               IP address for xenbr0: 10.0.2.15
  Swap usage:   0%                IP address for xapi0:  169.254.0.1
  Processes:    133

Last login: Thu Oct 25 08:00:52 2012 from 10.0.2.2

Here is the config of the IP tables

root@devcloud:~# ip route
default via 10.0.2.2 dev xenbr0  metric 100
10.0.2.0/24 dev xenbr0  proto kernel  scope link  src 10.0.2.15
10.0.2.0/24 dev eth0  proto kernel  scope link  src 10.0.2.15
169.254.0.0/16 dev xapi0  scope link  src 169.254.0.1

Through CloudStack, I have created a cloud instance (name = -2-5-TEST, IP
address =10.0.2.131) and I can access it from web console (
http://localhost:8080/client/console?cmd=access&vm=421c3020-6102-4fc0-b83c-b25a26d9829d
).

Unfortunately, this is not the case within the virtual machine

root@devcloud:~# ping 10.0.2.131
PING 10.0.2.131 (10.0.2.131) 56(84) bytes of data.
>From 10.0.2.15 icmp_seq=1 Destination Host Unreachable
>From 10.0.2.15 icmp_seq=2 Destination Host Unreachable
>From 10.0.2.15 icmp_seq=3 Destination Host Unreachable

Is there something wrong in the config/routing tables ?

Regards,

-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com





-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message