Can't ping host(Windows7)->guest(Ubuntu) or vice-versa

Discussions related to using VirtualBox on Windows hosts.
Post Reply
theonlylawislove
Posts: 4
Joined: 11. Aug 2015, 22:53

Can't ping host(Windows7)->guest(Ubuntu) or vice-versa

Post by theonlylawislove »

The title says it all. I can't ping my guest Ubuntu from my Windows 7 host. I can't ping my host OS from my guest either.

Both still have access to the internet.

Host ipconfig /all

Code: Select all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Paul-SERVER
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) 82579V Gigabit Network Connectio
n
   Physical Address. . . . . . . . . : 54-04-A6-32-CB-F7
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.75.50(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.75.1
   DNS Servers . . . . . . . . . . . : 68.238.112.12
                                       4.2.2.1
                                       4.2.2.2
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VirtualBox Host-Only Network:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
   Physical Address. . . . . . . . . : 0A-00-27-00-00-00
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::3536:54db:f0ff:c7f7%14(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 319422503
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-8F-9F-E5-54-04-A6-32-CB-F7

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{7833D87D-E52F-4DFF-9419-D63F0341AB4B}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:5cf2:8c15:802:2a5:3f57:b4cd(Prefer
red)
   Link-local IPv6 Address . . . . . : fe80::802:2a5:3f57:b4cd%13(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{92F2D4F6-8976-45B3-9A3C-51FD7B575207}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
Here is my guest ifconfig.

Code: Select all

eth0      Link encap:Ethernet  HWaddr 08:00:27:d3:d7:e4
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fed3:d7e4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2236 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1617 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:310499 (310.4 KB)  TX bytes:202841 (202.8 KB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:48:0c:bc
          inet addr:192.168.75.51  Bcast:192.168.75.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe48:cbc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:55 errors:0 dropped:0 overruns:0 frame:0
          TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5301 (5.3 KB)  TX bytes:6054 (6.0 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:507 errors:0 dropped:0 overruns:0 frame:0
          TX packets:507 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:161285 (161.2 KB)  TX bytes:161285 (161.2 KB)
As you can see, I can't ping the guest from host.

Code: Select all

ping 192.168.75.51

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

Ping statistics for 192.168.75.51:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Any ideas?
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Can't ping host(Windows7)->guest(Ubuntu) or vice-versa

Post by frank »

Pinging the host might be prevented by the Windows firewall. I also remember a fix in the recent 5.0.5 Windows test build so you also might want to try this one.
Post Reply