networking – failed to ping a guest VM on virtualbox from another Linux machine

to put it simple, here are two machines in my local intranet.

One is Ubuntu based Pop!-OS computer, the other is a Windows 10 DELL desktop. Both computers are wirelessly connected to a local home network.

Now on my Windows 10 destop I installed virtualbox 6.0.1, on which I installed ubuntu based Linux distro, Kali.

For my own reason i need to set a static IP for the Kali VM, basically I followed this article for the setup. To recap, here are the specs:

  1. from the host network manager of Virtual box, the ipv4 setting is:, DHCP disabled.
  2. For the network setting for Kali, on adapter 1 tab, the network mode
    is: NAT, on adapter2 tab, attached to host-only network configured in

On the Kali VM, the file /etc/network/interfaces:

#The host-only network interface
auto eth1
iface eth1 inet static

This setting was effective and verified through the command “ifconfig”

here is what I observed:

From the virtual box host (Windows 10), I can ping the guest OS (Kali):


However I can’t do the same from my other computer (pop!-OS), when I ping Kali using the above same command, it returned:

(base) jon@pop-os:~$ ping
PING ( 56(84) bytes of data.
From icmp_seq=1 Packet filtered

Here are a few notes worthy mentioning:

  • The gateway of the local network is: ( I don’t know why
    the default host network on virtualbox was set to, does
    it make the virtual box and its VMs a subnet?)
  • I switch the network mode on Kali from NAT to bridged, it remained
    the same: I can’t ping from a separate computer other than the host
    DELL desktop (Window 10).
  • I don’t know where the ip came from. It’s not the ip
    that my ISP provider assigned to me.

My goal is to be able to connect to Kali from any computer in my intranet therefore I can use its services such as database server.

Anyone please help me make things right?