I am trying to setup a windows VM on Ubuntu host using Virtual box. Since I would be running a SQL server database on the windows VM I am trying to setup a static IP on that VM. In order to do that I followed the instruction available here.
Below are my Virtualbox Network configurations for host-only adapter:
Here is my Network configuration for windows VM:
and lastly here is my configuration for the windows network adapter where I have assinged the static IP
When I run ifconfig, this is what I get for vboxnet1
adapter on my ubuntu host
vboxnet1 Link encap:Ethernet HWaddr 0a:00:27:00:00:01
inet addr:192.168.57.1 Bcast:192.168.57.255 Mask:255.255.255.0
inet6 addr: fe80::800:27ff:fe00:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:15853 (15.8 KB)
Even after this when I ping the assigned static IP I am not getting any response:
> ping 192.168.57.103
PING 192.168.57.103 (192.168.57.103) 56(84) bytes of data.
^C
--- 192.168.57.103 ping statistics ---
942 packets transmitted, 0 received, 100% packet loss, time 946463ms
Please let me know if I am missing anything? Let me know if you need any other information that would be helpful for debugging this issue.
* Edited with solution *
As per @cslotty's response below the problem was that the ICMP echo port was blocked in windows firewall. enabling that port fixed the issue.