unable to ping windows machines with hostname

General support questions
Post Reply
uday1kiran
Posts: 1
Joined: 2018/08/08 09:45:14

unable to ping windows machines with hostname

Post by uday1kiran » 2018/08/09 01:34:21

I have installed centos 7 on virtualbox and connected it to bridged network.

I am able to ping other windows network machines with ip address but not by hostnames.
I am able to connect to internet also.

Tried so far:

installed winbind as in https://askubuntu.com/questions/23011/w ... t-hostname
which worked for ubuntu but not here.

added ‘wins’ where it says “hosts:” in /etc/nsswitch.conf
but no use

someone suggested me to add entries in hosts file manually. But it is not practical to populate all the machines entries.

Any suggestions please.

hunter86_bg
Posts: 1448
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: unable to ping windows machines with hostname

Post by hunter86_bg » 2018/08/11 19:44:18

Could you provide the exact command , error message and the FQDN of the windows machines?
Also provide the output of

Code: Select all

cat /etc.resolv.conf

Post Reply