Can't ping from win10 computer to ubuntu 14.04

28 views
Skip to first unread message

cris croslobski

unread,
Jun 6, 2017, 5:21:03 AM6/6/17
to Vagrant
Hi,

This is the vagrant file content

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/trusty64"
  config.vm.hostname = "ubuntu"
  config.vm.network :private_network, ip: "172.28.128.10"
  config.vm.network "forwarded_port", guest: 80, host: 8081
  config.vm.provision "shell", path: "webserver.sh"
end

Pinging 172.28.128.10 with 32 bytes of data:
Request timed out.


Can you please help?




Alvaro Miranda Aguilera

unread,
Jun 6, 2017, 6:53:52 AM6/6/17
to vagra...@googlegroups.com
works for me:

==> default: Setting hostname...

==> default: Configuring and enabling network interfaces...

==> default: Mounting shared folders...

    default: /vagrant => /Users/kikitux/Dropbox (Personal)/local/kikitux/ping

0 kikitux ~/Dropbox/local/kikitux/ping (master) $ ping -c2 172.28.128.10

PING 172.28.128.10 (172.28.128.10): 56 data bytes

64 bytes from 172.28.128.10: icmp_seq=0 ttl=64 time=0.504 ms

64 bytes from 172.28.128.10: icmp_seq=1 ttl=64 time=0.313 ms


--- 172.28.128.10 ping statistics ---

2 packets transmitted, 2 packets received, 0.0% packet loss

round-trip min/avg/max/stddev = 0.313/0.408/0.504/0.096 ms

0 kikitux ~/Dropbox/local/kikitux/ping (master)


can you ssh in the VM, check the IP is set and ping it?


are you on a vpn? try to disconnect.

Same with Firewall/Anti Virus, try to disable them for a test

Share the routing table of your host computer.


Alvaro.


--
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 vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/fbdee39e-a832-45ee-86be-66b2b0e77eb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

cris croslobski

unread,
Jun 6, 2017, 7:37:26 AM6/6/17
to Vagrant
Thank you

Here are the information:

are you on a vpn?   No

Same with Firewall/Anti Virus, try to disable them for a test - Disabled

Share the routing table of your host computer.



vagrant@jenkins:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:9f:22:2a
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe9f:222a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2425 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1314 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1339469 (1.3 MB)  TX bytes:107808 (107.8 KB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:43:29:c0
          inet addr:172.28.128.10  Bcast:172.28.128.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe43:29c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:2249 (2.2 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:672 (672.0 B)  TX bytes:672 (672.0 B)
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.



--
Alvaro

Alvaro Miranda Aguilera

unread,
Jun 6, 2017, 4:07:51 PM6/6/17
to vagra...@googlegroups.com
1. routing table.

from windows route -print or similar, check win documentation please

2. from the guest, ping the ip

vagrant ssh
ping 172.28.128.10

To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/39aa099f-5ab4-4ab1-abe3-08a944954517%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages