Cannot resolve computer names / servers on LAN from Guest OS

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Vinay
Posts: 1
Joined: 25. Aug 2013, 10:21

Cannot resolve computer names / servers on LAN from Guest OS

Post by Vinay »

Hi,
I have a guest Ubuntu 12.04 LTS on Windows 7 enterprise host in a corporate network.
What changes should I make in the guest OS so that I can ssh/ping linux servers in the LAN.

example : in the Ubuntu guest OS
ubuntu@ubunut:-$ ssh username@<linuxservername>
ssh: could not resolve hostname <linuxservername>: Name or service not known

But if I enter the IP address I can login to the linux server after entering my password

ubuntu@ubunut:-$ ssh username@<ip of linux server>
This works and I am able to login to the server

What changes are needed in the Ubuntu guest OS ?

Thanks
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cannot resolve computer names / servers on LAN from Gues

Post by Perryg »

You should be using Bridged mode for the network adapter and then the guest will look like any other PC in the LAN. To be able to join the Linux OS to the Windows domain is outside the scope of this forum but Ubuntu help has a detailed description on how to do what you are looking for.
Post Reply