Solved

Problem pinging computers on a peer to peer network

Posted on 2006-11-09
4
190 Views
Last Modified: 2010-03-18
Up until recently I was sharing a dial-up internet connection on my home network via a modem connected to the serial port on a dlink DI-704P router, which worked fine (but slow).

Then I got an Earthlink broadband cable account.  I am using the same router, and changed nothing except the WAN connection type from "Dial Up network" to "Obtain an IP address from ISP automatically".  This also works fine.  I now have fast shared internet access on my home LAN.  Cool.

All the computers on my LAN are set up for DHCP and the router is the DHCP server.  They are on a 192.168.0.0 network, and have Windows XP Home.

The problem is that I can no longer ping other computers on my network by computer name.  Also, I can't VNC to the other computers by computer name.  Using their IP addresses does work.  netbios over TCPIP is enabled.

If I try to ping a computer named "computer1", for example, I enter:

ping computer1

the response I get is something like:

Pinging computer1.earthlink.net [209.86.66.94] with 32 bytes of data:
Reply from 209.86.66.94: bytes=32 time=32ms TTL=50
...

How can I stop it from appending the earthlink.net suffix onto the computer name?  It seems that it should first check the netbios name before going outside and looking for a FQDN.

I could change the hosts file on all the computers and that would probably stop this behavior, but I would rather not.  I could probably make them all static ip addresses and that would probably help also, since I assume the DNS suffix must be coming from the router through DHCP.  Unfortunately there are no settings for the DHCP server on the router besides enable\disable and the address pool.

Any ideas?

Thanks.

Ralph


0
Comment
Question by:misgci
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17914052
You could add a dns suffix entry or local domain name of something.local to each machine.  Then when you PING computer1 it will be pinging something1.something.local and won't get a an answer from DnS.  The trouble is I imagine before it would not get an answer from DNS so it would broadcast to get the ip address resolved.

You might also be able to configure your router so that it has a fixed domain name of something.local too rather than one picked up from the ISP - I presume it will not run a DNS server itself but runs a caching DNS server and all your clients point to the router?

As you say adding a hosts table is a potentail fix too

Steve
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17914104
(The problem here I assume is that earthlink.net nis either resolving anything.earthlink.net to an IP or there just happens to be hostnames there that match your computer names).

Steve
0
 

Author Comment

by:misgci
ID: 17929708
As you say I can ping any random series of characters and get a response, so they are resolving anything to an IP address.  I was hoping there might be a way, even a registry change, to keep XP from picking up the domain suffix from the DHCP server.
0
 
LVL 43

Accepted Solution

by:
Steve Knight earned 250 total points
ID: 17930944
If you set a domain name manually it shouldn't use one from DHCP... or I would imagine you must be able to change this in the router.  Have you tried setting one in the properties of My Computer | network ID tab -- can't remember the exact location on XP but 2000 you click on the Advanced button and set the domain name there.  You can also set a "domain name for this connection" against each tcpip entry in your LAN card settings.  Just use yourcompany.local or something

Steve
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question