Unable to ping Linux Machine by host name from Win 2k.

Hi,
1)Our Network consists of all machines connected in a workgrp.All Win 98 machines can ping my Linux machine by hostname..but   when i try to do the same from any Win 2k machines ...it gives "Unknown Host Error".
2)Also, i am able to ping Linux machine by ip address from all other machines...but at the same time unable to browse my Samba shares from Windows explorer window by typing \\ipaddr\sharename.
3) My Firewall is turned off.
4) The gateway(Win 2k) uses DNS located on a different network altogether
Any help..greatly appreciated !!!!!!!

nishi_k_79Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

td_milesCommented:
From:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/proddocs/entserver/sag_WINS_und_ResolvingNames.asp


For Windows XP and Windows 2000, WINS clients use the following sequential flow of options for resolving a name once the query has been made by using net use or a similar NetBIOS-based application.

1. Determine if the name is longer than 15 characters or if it contains periods ("."). If so, query DNS for the name.
2. Determine if the name is stored in the remote name cache at the client.
3. Contact and try configured WINS servers to attempt to resolve the name using WINS.
4. Use local IP broadcasts to the subnet.
5. Check an Lmhosts file if Enable LMHOSTS Lookup is enabled in the Internet Protocol (TCP/IP) properties for the connection.
6. Check a Hosts file.
7. Query a DNS server.

------------------

So if you are not running a WINS server, then the machines are going to try a broadcast and if that fails query DNS. I suspect that your win2k box is querying the DNS servers for the IP address of the Linux box and failing. The core of your problem is name resolution. To solve this, I recommend that you run an internal DNS server that resolves names on the internal network to their internal IP addresses. Anything that is not on the local network, the internal DNS should forward tothe ISP DNS servers for normal Internet resolution. Alternatively, you could setup a WINS server, but this requires either an NT4 or Win2k server. If you setup a DNS, you can run it on any OS.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
paullamhkgCommented:
I think you have to put the name of your samba server with the samba server IP into your DNS record so that the win2K can resolve the name of your samba server as td_miles suggested.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.