Well i have setup a VM in Virtual Box in a PC (label as PC2) and i have hosted a webservice in the VM (IIS).
PC2 - Windows Server 2003 VM - Windows 7 x86
Now i want to access the webservice from another PC (label as PC1) within a network which PC1 has connected. Following diagram will be helpful to get the clear idea.
So the LAN is 192.168.5.0. But virtual network ports ip is 192.168.56.1 by defualt. In the VM its ip from DHCP by defualt. (ipconfig gives you ip address like 10.0.0.2.15, subnet mask 255.255.255.0 and gateway as 10.0.2.2).
at this point i can ping PC1 (192.168.5.31) from VM (10.0.2.15) but i cannot ping 10.0.2.15 from PC 1. even if i make VM and PC2 virtual ports ips to some static range, from VM i cant ping any IP.
How to solve this situation? Thanks in advance