I am using VMware Player 7.1 on a Windows 7 machine that connects to my router via WiFi and DHCP. I have set up Ubuntu using VMWare Player. I have kept the Network adapter as Bridge. I am able to access internet from both of my physical and Virtual systems but now the IP addresses vary whenever I am connecting to the Internet. I am also able to access Ubuntu from Windows and Windows from Ubuntu through IP addresses.
Now I want to use Hostname rather than IP addresses to connect, so that I won't need to change addresses everytime I reboot. Can anybody help me regarding this? Please let me know if you need any further information.
When I am doing hostname on both the system it is showing: hostname with IP as 127.0.0.1(localhost/loopback network this name is not appearing for the actual IP)