Skip to content
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

Can't ping a fresh instance (v3.18.0621) #32

Open
sedulam opened this issue Jun 30, 2018 · 1 comment
Open

Can't ping a fresh instance (v3.18.0621) #32

sedulam opened this issue Jun 30, 2018 · 1 comment

Comments

@sedulam
Copy link

sedulam commented Jun 30, 2018

I'm using this simple vagrant file:

Vagrant.configure("2") do |config|
	
	config.vm.define "acs" do |acs|
		acs.vm.box = "ubuntu/trusty64"
		acs.vm.hostname = "acs"
		acs.vm.network "private_network", ip: "192.168.33.10"
	end

	config.vm.define "temp" do |temp|
		temp.vm.box = "terrywang/archlinux"
		temp.vm.hostname = "temp"
		temp.vm.network "private_network", ip: "192.168.33.50"
	end

	config.vm.define "temp2" do |temp2|
		temp2.vm.box = "ubuntu/trusty64"
		temp2.vm.hostname = "temp2"
		temp2.vm.network "private_network", ip: "192.168.33.60"
	end
end

After vagrant up I go to acs and try a ping to temp and temp2. Ubuntu works, but Arch fails.

PS: I'm new to Vagrant so I might be missing something obvious, but found it odd given the fresh installs.

@jhreed
Copy link

jhreed commented Sep 15, 2018

i'm having the same exact problem. new to vagrant as well and can't ssh or even ping the new server.
Vagrant file:
Vagrant.configure("2") do |config|

config.vm.define "acs" do |acs|
acs.vm.box = "ubuntu/trusty64"
acs.vm.hostname = "acs"
acs.vm.network "private_network", ip: "192.168.33.10"
end

config.vm.define "web" do |web|
web.vm.box = "nrel/CentOS-6.5-x86_64"
web.vm.hostname = "web"
web.vm.network "private_network", ip: "192.168.33.20"
web.vm.network "forwarded_port", guest: 80, host: 8080
end

config.vm.define "db" do |db|
db.vm.box = "nrel/CentOS-6.5-x86_64"
db.vm.hostname = "db"
db.vm.network "private_network", ip: "192.168.33.30"
end
config.vm.define "archlinux" do |archlinux|
archlinux.vm.box = "terrywang/archlinux"
archlinux.vm.hostname = "archlinux"
archlinux.vm.network "private_network", ip: "192.168.33.50"
end
end

acs$ ping 192.168.33.50
PING 192.168.33.50 (192.168.33.50) 56(84) bytes of data.
From 10.0.2.2 icmp_seq=6 Destination Net Unreachable

if i ping to a known good box (CentOS) i get this:
$ ping 192.168.33.20
PING 192.168.33.20 (192.168.33.20) 56(84) bytes of data.
64 bytes from 192.168.33.20: icmp_seq=1 ttl=63 time=0.766 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants