2

I am experiencing an issue where I can ping, but I cannot use wget or curl. This is the output from these commands.

I have copied a working Vagrant VM from one Win7 PC to another and this is the issue I am having. Could this be a problem with my networking setup within VirtualBox?

[vagrant@localhost ~]# ping crmpicco.co.uk
PING crmpicco.co.uk (83.125.22.146) 56(84) bytes of data.
64 bytes from 83.125.22.146: icmp_seq=1 ttl=53 time=63.1 ms
64 bytes from 83.125.22.146: icmp_seq=2 ttl=53 time=64.6 ms
64 bytes from 83.125.22.146: icmp_seq=3 ttl=53 time=62.4 ms
^C
--- crmpicco.co.uk ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 62.460/63.427/64.686/0.954 ms
[vagrant@localhost ~]# wget http://www.crmpicco.co.uk
--2015-09-10 16:37:17--  http://www.crmpicco.co.uk/
Resolving www.crmpicco.co.uk (www.crmpicco.co.uk)... 83.125.22.146, 83.125.22.146
Connecting to www.crmpicco.co.uk (www.crmpicco.co.uk)|83.125.22.146|:80... failed: Network is unreachable.
Connecting to www.crmpicco.co.uk (www.crmpicco.co.uk)|83.125.22.146|:80... failed: Network is unreachable.

This is my current network setup:

[vagrant@localhost ~]# ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
        inet6 fe80::a00:27ff:feea:9bb5  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:ea:9b:b5  txqueuelen 1000  (Ethernet)
        RX packets 29  bytes 2813 (2.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 105  bytes 13412 (13.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.0.200  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::a00:27ff:fe1d:5e16  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:1d:5e:16  txqueuelen 1000  (Ethernet)
        RX packets 389  bytes 40772 (39.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 228  bytes 36354 (35.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 497  bytes 56861 (55.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 497  bytes 56861 (55.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enter image description here enter image description here

7
  • Can you surf to the web page in the VM from a regular browser? Sep 10, 2015 at 15:59
  • @Ƭᴇcʜιᴇ007 Yes, I can open Firefox and go to crmpicco.co.uk (and Github for that matter). I am using VirtualBox to manage the Virtual Machine. Could this be an issue with my network adapter setup in Virtualbox? As I say I literally copied my .vbox file onto a external HDD and then moved it onto the other host and then started it with Virtualbox (no other config changes made). I assumed this was the easiest way to move it across as I have a bunch of settings that I don't want to lose. Generally it seemed to go smoothly other than this networking problem.
    – crmpicco
    Sep 10, 2015 at 16:01
  • If you can surf to it in FF, I can think of no network-related reason another web client (like wget or alike) couldn't contact it. Have you tried removing and re-creating the network adapters on the VM? Sep 10, 2015 at 16:04
  • @Ƭᴇcʜιᴇ007 Do you mean deleting the Network Adapters from the VirtualBox Network tab settings? I've updated the question to show the two adapters which are currently setup. Should I try deleting these and re-creating? I wondered if the MAC Address shown is a reference to the MAC address on my original Win7 host?
    – crmpicco
    Sep 10, 2015 at 16:11
  • Yup, that's what I mean. :) Remove them from the VM (and from the guest OS) and create new ones. FYI -- MACs starting with 080027 are VirtualBox adapter MACs (see "who is Cadmus Computer Systems?") Sep 10, 2015 at 16:16

0

You must log in to answer this question.

Browse other questions tagged .