[svlug] able to ping using IP but not able using hostname
ericv
ericv at cruzio.com
Wed Dec 6 16:43:09 PST 2006
Remove the static entries from /etc/hosts and send us the contents of
/etc/resolv.conf.
On Wed, 6 Dec 2006 16:13:21 -0800 (PST), Prasad Paranjape wrote
> Hello Gurus,
>
> I am new to Linux and Networking.I have following
> scenario:
>
> 1) Linux Box 1 Is configured to obtain IP address from
> DHCP running on Router.
> 2)Linux Box 2 Is configured to obtain IP address from
> DHCP running on Router.
>
> The /etc/hosts files on both the machines I have
> entries for the other host
> with fixed private IP addresses ( Though I am using
> DHCP to obtain IP addresses).
>
> Now I am able to connect to Internet from both the
> hosts as router is connected to cable modem.
>
> I can ping to Box 2 from Box 2 using the IP address of
> the Box1 but not using the hostname and same happens
> vice versa.
>
> I know there should be something wrong with names
> resolving but know very little and nothing about it.
>
> Can anybody guide me on this?
>
> Thanks,
>
> Prasad
>
>
____________________________________________________________________________________
> Have a burning question?
> Go to www.Answers.yahoo.com and get answers from real people who know.
>
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug
--
Eric N. Valor
http://www.alsa.org
(sent from my web client)
More information about the Svlug
mailing list