[Ilugc] ping hostname cannot found
- From: praveen@xxxxxxxxxxx (Praveen Kumar)
- Date: Wed, 19 May 2004 19:07:43 +0530
Vivek Raghunathan wrote:
i set linux network eth0 ip as 10.0.0.15 and hostname as linserv
when i try to ping from remote machine using ip address its working fine but
when i try to ping using hostname its got failed how to solve this problem
In your '/etc/hosts' file add an entry to your hostname
Eg:
127.0.0.1 localhost localhost.localdomain
10.0.0.15 linserv linserv.somedomain
(OR)
127.0.0.1 localhost localhost.localdomain linserv
This should make name resolving work.
--
http://puggy.symonds.net/~praveen
Other related posts: