0

I have two hosts on the same network:

  • Kali which is on VirtualBox as guest;

    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 08:00:27:48:45:25  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        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 1000  (Local Loopback)
        RX packets 1156  bytes 84460 (82.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1156  bytes 84460 (82.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.102  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::83d2:16b4:11f1:f13a  prefixlen 64  scopeid 0x20<link>
        ether 50:3e:aa:93:f1:55  txqueuelen 1000  (Ethernet)
        RX packets 14911  bytes 2315576 (2.2 MiB)
        RX errors 0  dropped 1451  overruns 0  frame 0
        TX packets 2515  bytes 193254 (188.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
  • Windows 10 as host machine.

    Scheda Ethernet Ethernet:
    
    Stato supporto. . . . . . . . . . . . : Supporto disconnesso
    Suffisso DNS specifico per connessione:
    
    Scheda Ethernet VirtualBox Host-Only Network #2:
    
    Suffisso DNS specifico per connessione:
    Indirizzo IPv6 locale rispetto al collegamento . : 
    fe80::3df1:ecc7:24c:9fff%6
    Indirizzo IPv4. . . . . . . . . . . . : 192.168.7.1
    Subnet mask . . . . . . . . . . . . . : 255.255.255.0
    Gateway predefinito . . . . . . . . . :
    
    Scheda LAN wireless Wi-Fi:
    
    Suffisso DNS specifico per connessione:
    Indirizzo IPv6 locale rispetto al collegamento . : 
    fe80::6821:1a23:3369:d57%21
    Indirizzo IPv4. . . . . . . . . . . . : 192.168.1.105
    Subnet mask . . . . . . . . . . . . . : 255.255.255.0
    Gateway predefinito . . . . . . . . . : 192.168.1.1
    
    Scheda Ethernet Connessione di rete Bluetooth:
    
    Stato supporto. . . . . . . . . . . . : Supporto disconnesso
    Suffisso DNS specifico per connessione:
    

All I want to do is having the ping working between the two machines. For sake of clarity I'm using an external usb network adapter for the guest and the embedded NIC for the host and they're both connected to the same network. I disabled windows defender firewall. What I'm experiencing is an odd behavior:

  1. If I try to ping FIRST from Windows to Kali, everything works and I do get the ICMP echo replies. After this, if I try to ping from Kali to windows everything works too;
  2. The problem is when I try to ping FIRST from Kali to Windows. what I get is destination host unreachable (of course I flushed the ARP cache otherwise I don't experience the issue as we fall in case 1). So I tried to see what's going on in the ARP cache and started Wireshark and this is what I get:

Wireshark Capture

It looks like Windows does not reply to the ARP requests and in fact in the arp-cache it shows incomplete. Why is this happening? What is preventing ARP reply messages?

migrated from serverfault.com Jan 11 at 17:48

This question came from our site for system and network administrators.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.