Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86D69DC99 for ; Wed, 24 Oct 2012 11:04:32 +0000 (UTC) Received: (qmail 37875 invoked by uid 500); 24 Oct 2012 11:04:32 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 37801 invoked by uid 500); 24 Oct 2012 11:04:31 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 37785 invoked by uid 99); 24 Oct 2012 11:04:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 11:04:31 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ch007m@gmail.com designates 209.85.220.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-vc0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 11:04:25 +0000 Received: by mail-vc0-f175.google.com with SMTP id p1so338928vcq.6 for ; Wed, 24 Oct 2012 04:04:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vgLZXQu8B4j7TtN7870o5F2PM4dk8xFIW1dZC5NBMsM=; b=X9/xjbI5NkKdYENdOWNHQMqb8KsCTI+OQT93KpQwM8o4R8ZGPT7J/M9pnnaDGdNkcE 0RGmKnRy95RpUGRef5vy7igObocuQ8DQ9SpczhI5HfhwNl7FTQgd1GfArwEvbu7g7HzM iHLR12giO4EFybe8VP/F0Ov51gfa5Bwh641RDhrwznMkXu+7lWIgNkN+8En2TH2RugFI F82OMlWd2zodCTPxDVGIfvDzTx8fluiXzbAFk6Hvm7n+P+C9xItP9O74BEA4hWQiBbNG o2O45RY0Z7A9/j1Sje5pgTcIU0E+jv6gmQ5iRe2wBsnCAKa9vf/iDeF3So7GowSB4XvL tFCQ== MIME-Version: 1.0 Received: by 10.58.73.137 with SMTP id l9mr28450880vev.44.1351076643873; Wed, 24 Oct 2012 04:04:03 -0700 (PDT) Received: by 10.58.54.209 with HTTP; Wed, 24 Oct 2012 04:04:03 -0700 (PDT) In-Reply-To: References: <81A73678E76EA642801C8F2E4823AD21011A9AF0D86D@LONPMAILBOX01.citrite.net> <81A73678E76EA642801C8F2E4823AD21011A9AF0D86E@LONPMAILBOX01.citrite.net> Date: Wed, 24 Oct 2012 13:04:03 +0200 Message-ID: Subject: Re: CloudStack running in Virtualbox From: Charles Moulliard To: cloudstack-users@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7bacc1706c24b904cccc0bb5 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bacc1706c24b904cccc0bb5 Content-Type: text/plain; charset=ISO-8859-1 Damned. By changing the network adapter from NAT to bridge adapter in VB, I cannot anymore connect to the management server from the browser running in the host machine (= ubuntu machine) using localhost or 192.168.1.3 or 10.0.2.15 followed by 8080/client ssh works well from ubuntu to the VB image (CloudStack) like you can see hereafter ssh root@192.168.1.3 root@192.168.1.3's password: Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic-pae i686) * Documentation: https://help.ubuntu.com/ System information as of Wed Oct 24 04:01:34 PDT 2012 System load: 0.07 Processes: 112 Usage of /: 31.3% of 5.57GB Users logged in: 1 Memory usage: 22% IP address for eth0: 192.168.1.3 Swap usage: 0% IP address for xenbr0: 192.168.1.3 On Wed, Oct 24, 2012 at 12:47 PM, Charles Moulliard wrote: > I will change from NAT to bridge adapter. > DHCP is configured on the DSL router (= LAN where the machine is plugged) > > > On Wed, Oct 24, 2012 at 12:18 PM, Donal Lafferty < > donal.lafferty@citrix.com> wrote: > >> This seems to explain the problem you are seeing. >> >> "The disadvantage of NAT mode is that, much like a private network behind >> a router, the virtual machine is invisible and unreachable from the outside >> internet; you cannot run a server this way unless you set up port >> forwarding (described below)." >> >> See http://www.virtualbox.org/manual/ch06.html#network_nat >> >> >> If you want to stick with NAT, you should create a VM in the virtual box >> install that can run your browser. Alternatively, use a bridge adapter. >> >> >> BTW, where is the DHCP daemon that is allocating addresses to your VMs? >> >> >> >> >> -----Original Message----- >> From: Charles Moulliard [mailto:ch007m@gmail.com] >> Sent: 24 October 2012 10:37 >> To: cloudstack-users@incubator.apache.org >> Subject: Re: CloudStack running in Virtualbox >> >> Are you connecting from the host running virtual box to the VM running the >> management server over SSH or HTTP? >> > No. >> >> 10.0.2.50 = VirtualBox IP address >> 10.0.2.15 = CloudStack management server >> 10.0.2.179 = an instance created using the console ( >> http://localhost:8080/client/). I can connect to the web console from the >> ubuntu machine where VirtualBox has been installed and running the image >> CloudStack >> >> I cannot connect to the management server using address >> http://10.0.2.15:8080/client >> >> On Wed, Oct 24, 2012 at 11:07 AM, Donal Lafferty >> wrote: >> >> > Hi Charles, >> > >> > Need more information. >> > >> > Are you connecting from the host running virtual box to the VM running >> the >> > management server over SSH or HTTP? >> > >> > For HTTP, AFAIK you not to include the port and virtual path. E.g. >> > http://10.0.2.179:8080/client >> > >> > Also, can you confirm what IP addresses you have? 10.0.2.50 seems to be >> > the VirtualBox gateway and 10.0.2.179 the management server. So what is >> > 10.0.2.15? >> > >> > DL >> > >> > >> > -----Original Message----- >> > From: Charles Moulliard [mailto:ch007m@gmail.com] >> > Sent: 24 October 2012 09:49 >> > To: cloudstack-users@incubator.apache.org >> > Subject: CloudStack running in Virtualbox >> > >> > Hi, >> > >> > Hi. I have installed successfully the following image in virtualbox ( >> > http://download.cloud.com/templates/devcloud/DevCloud.ova) and created >> an >> > instance. Unfortunately, I cannot connect to it with its IP address >> > (10.0.2.179). VirtualBox uses NAT and a host only adapter + vboxnet >> > (10.0.2.50). Is there something else to configure ? >> > When I log to the Unix machine (where CloudStack has been deployed), I >> can >> > ping 10.0.2.15 address but not 10.0.2.179. >> > >> > 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 >> > > > > -- > 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 --047d7bacc1706c24b904cccc0bb5--