Hello, You can connect to the virtual machine with `vagrant ssh` and see the VM is up and running.
Any service that is running on the VM, will be available over the redirected port, in this case 4040 There is no IP in the VM that you can use for ping as is configured today. Thanks Alvaro On Sat, Dec 12, 2015 at 12:04 AM, <[email protected]> wrote: > Hi all, > > I am unable to ping the Virtual machine when I issue the Vagrant up command > from the Dos prompt. > > I am doing a course on EdX, which requires me to install Oracle Virtual box, > VM and Vagrant.My installation is for Windows 7 64 bit. I installed all of > the above as per the instructions. > > Whenever I issue the vagrant up command, the VM starts and I get a message > that the VM is running. But when it tries to ping the VM, it comes with the > message that there is no response. > > > > The configuration file I am using is the default one, and it as given below. > > # -*- mode: ruby -*- > # vi: set ft=ruby : > > ipythonPort = 8001 # Ipython port to forward (also set in > IPython notebook config) > > Vagrant.configure(2) do |config| > config.ssh.insert_key = true > config.vm.define "sparkvm" do |master| > master.vm.box = "sparkmooc/base2" > master.vm.box_download_insecure = true > master.vm.boot_timeout = 900 > master.vm.network :forwarded_port, host: ipythonPort, guest: > ipythonPort, auto_correct: true # IPython port (set in notebook config) > master.vm.network :forwarded_port, host: 4040, guest: 4040, > auto_correct: true # Spark UI (Driver) > master.vm.hostname = "sparkvm" > master.vm.usable_port_range = 4040..4090 > > master.vm.provider :virtualbox do |v| > v.name = master.vm.hostname.to_s > end > end > end > > > It will be a great help if any of you share your thoughts on the same. > > Bets regards > U. M. Sundar > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in violation > of those guidelines may result in your removal from this mailing list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/a0c800b9-6a21-48c5-9e0e-f15a7323f533%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exrr_cZmiAbb5A0_VJxitjCTWNMSZX54kVh3K6iNzvALQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
