in Linux ~ read.

局域网ping Linux主机名

1.Windows ping Linux主机名

#ubuntu 下
sudo apt-get install winbind  
#centos  下
yum install samba  
service nmb start  

2.Linux或Mac ping Linux主机名

 在主机名后面加后缀“.local”,例如:

ping hostname.local  
comments powered by Disqus