I figured out what is going on with my setup.
DC1 has wireless adapter and Ethernet adapter, wireless adapter is linked to the internet wireless router while Ethernet adapter is used to the virtual network, Ethernet adapter is NOT connected to the internet router.
VM1 virtually shares DC1's Ethernet adapter.
here is what I did to pass internet to my virtual machine:
I bridged the wireless and Ethernet adapters together and new bridge connection was created with new ip address on DC1.
DC1 IP address has been changed to be the new bridge connection IP.
at first I configured VM1 as DHCP client, VM1 got internet and I downloaded updates, then I manually changed the IP settings of VM1 to look at DC1 as the only DNS server.
now, when I try to ping from either one of the machine to the other using ip adress, the ping was successful but when I used (ping server name) I get reply with IPv6 address, and when I ping from DC1 to VM1 using the sharepoint
hostheaders I got (Host not found) error.
its like DC1 and VM1 dont use the domain DNS.
I deleted the bridge network connection and everything is working as expected now.
noofi