-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For chapter 3 can't connect to vms through #39
Comments
Can you post a log of the output when you try running Also, have you tried using a different IP range? If your local network is using 192.168.* then the IPs given in the example might not work correctly. Finally, do you have a proxy or VPN running? |
I did try other IP ranges but it didn't work either what surprised me though is that if I try the example at http://www.thisprogrammingthing.com/2015/multiple-vagrant-vms-in-one-vagrantfile I don't encounter any problem with private network ip address. At one point, I did use the ips provided on this example to see if they will work with no luck. I do have a CISCO AnyConnect Secure Mobility Client installed on my laptop but I turned it off. Thanks for your help |
I have the same problem on a Debian machine with
All the 3 servers get only the 127.0.0.1 IP address and not the one from the 192.168.60 range. From the host I can ping 192.168.60.1 but no higher addresses from that range. I suspect Vagrant actually having a problem with setting up Cent0S networking. The IP configuration in each of the 3 servers is exactly the same:
|
Adding a different vagrant box (bento/centos-7.2) I was able to connect to the private network. |
The problem and the solution on Vagrant 1.8.5: This solved for me. |
This is a different error I also encountered when using Vagrant 1.8.5. Applying the patch resolved the problem with the keys. |
It looks like this, as well as hashicorp/vagrant#7705, might fix the issues you're noticing with 1.8.5. I thought 1.8.5 would be quite stable after the interesting behavior of 1.8.2, 1.8.3, and 1.8.4, but now I'm pining for a 1.8.6 release so these bugs stop rearing their ugly heads! |
I tried the patch in hashicorp/vagrant#7705 but it did not appear to fix the issue for me (using Vagrant 1.8.5 with the box geerlingguy/centos7). However, running |
@charleshepner - Thanks for the update, and glad you like the book! |
Going to mark this as closed—but please note that there are definitely issues with Vagrant 1.8.7 and VirtualBox 5.1.8 currently. Please make sure you use the latest versions, or search the relevant issue queues for problems that you might be getting :) |
After following the setup guide on page 68 to 72, I can't seem to be able to connect or ping the created vms through their private network ips. My problem is similar to https://leanpub.com/ansible-for-devops/feedback#comment-2101413414 or this one but neither of the solution provided their is working for me.
I am using:
I do suspect that there is something wrong with the vagrant box cause I've tried other boxes(e.g.scotch/box) with the same vagrant file configuration and the private ips works fine.
Please, any help or guidance will be really appreciated. Also, let me know if you need more information about my setup.
Thanks,
The text was updated successfully, but these errors were encountered: