D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => DIR-825 => Topic started by: Brian on January 19, 2009, 09:12:48 AM

Title: Ping ressolves all host names on internal lan to an external ip **(concluded)**
Post by: Brian on January 19, 2009, 09:12:48 AM
Basic problem: ping resolves all host names on internal lan to an external ip

I can:
Ping using lan ip ( 192.168.2.253 )
Use internet on all clients
Ping hostnames if entry in hosts file on local machine

I cannot:
Ping using hostname ( media-pc )

As I side-note, I also have a 8-port switch attached to my router via a cross-over cable ( D-Link DGS-2208 )

Shouldn't the DNS function of the DIR-825 take care of this?

Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: smlunatick on January 19, 2009, 11:26:05 AM
Is the external IP address your router's WAN IP at the time of the ping?
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Lycan on January 19, 2009, 12:17:16 PM
do you have DNS-relay on or off?

Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 19, 2009, 01:08:15 PM
Is the external IP address your router's WAN IP at the time of the ping?

No.  WAN IP first octet is 98 and this responds with 24
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 19, 2009, 01:09:39 PM
do you have DNS-relay on or off?



On.

If I turn it off internet is down

I've temporarily resolved the problem by turning DNS relay off and setting up a DNS server on my WHS, but that's not what I wanted nor is is good for the novice...
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Lycan on January 19, 2009, 01:45:24 PM
once you disable the DNS-relay the LAN addresses of your machines will have to be renewed. The router will no longer resopond to DNS requests and will want to forward them to the WAN side DNS servers.
but thats not going to solve your issue. you should ne net-bios name resolution with just the local network. do your PC's have firewalls or anti-virus suites on them>?

Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 19, 2009, 01:58:53 PM
All pc firewalls are off

I have 1 machine with McAfee anti-virus and 2 with Computer Associates.

1 Machine with nothing.

ONLY anti-virus, no internet security anything.

Network consists of:

2 Windows XP Pro 32 (Wired)
2 Windows Vista Ultimate 32 (Wired)
1 Windows Home Server (Wired )
1 Linksys Media Extender ( Wireless )
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 19, 2009, 05:49:44 PM
Correction, I have 2 with no anti-virus/nothing.

WHS & fresh install Vista
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 20, 2009, 04:17:18 AM
Looking into "workgroup computers" I find all of the items on the network, but I still cannot ping via host names.
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: smlunatick on January 20, 2009, 08:00:56 AM
Check the anti-virus softwares.  Some other software will turn off the NetBIOS name resolution, as part of their "Internet worm" virus protection.
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 20, 2009, 12:16:06 PM
Now, after a period of time the router locks up.

No traffic on LAN or WAN  ???

After a power cycle of the router all is good again
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 20, 2009, 12:21:04 PM
Error Code 1231 when I try to ping an IP if the router is locked up.
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 20, 2009, 06:26:21 PM
Does this help?

Code: [Select]
C:\Documents and Settings\Brian>nslookup
DNS request timed out.
    timeout was 2 seconds.
*** Can't find server name for address 192.168.2.1: Timed out
*** Default servers are not available
Default Server:  UnKnown
Address:  192.168.2.1

> lisas
Server:  UnKnown
Address:  192.168.2.1

Non-authoritative answer:
Name:    lisas.BATES
Address:  24.28.193.9

>

If I manually set the DNS on the router to the router's LAN IP address it will resolve my hostnames fine.  It just doesn't seem to want to be bothered and always pushes them to the WAN DNS server.
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 20, 2009, 07:51:12 PM
If I disconnect the router from my LAN I can ping hostnames.

Boot up the router and the LAN hostnames resolve to a WAN IP address
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Lycan on January 21, 2009, 08:46:25 AM
Post an image of your physical topology.
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 22, 2009, 05:47:29 PM
(http://www.monkeysofdestruction.com/mod/tp-images/Image/Network_small.png) (http://www.monkeysofdestruction.com/mod/tp-images/Image/Network.png)

Click on image for full size

To summarize this long thread....

1) Ping ressolves all host names on internal lan to an external ip

2) The entire network locks up after an unspecified amount of time. If I use static IP and shut off DHCP this does not occur.

3) If I disconnect router from my cable modem pings resolve hostnames to correct lan ip's
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 22, 2009, 05:50:31 PM
BTW....All clients are using DHCP
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 23, 2009, 01:39:40 PM
I spent a couple hours lastnight on the phone with my ISP (roadrunner)  They feel that it is my router, not resolving host names and passing them to the DNS on the wan side.

I've changed from my ISP's DNS to OpenDNS and added my network name as an exception.

Based on this, it appears that when a request comes in to resolve a host name the router is pushing it out to the DNS server of the ISP and if it cannot resolve it, then the router resolves it.

Shouldn't the router try first and then pass it on to the DNS server on the wan side?
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Lycan on January 23, 2009, 03:13:46 PM
the router has nothing to do with resolving host names. it doesn't have a DNS server in it. what you're having trouble with is NETBIOS.

Eddiez help me out here......
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: EddieZ on January 23, 2009, 03:25:47 PM
I'm here  ;D (though shortly this Friday...hectic week)

Brian, for starters (1.) could you please include the IP ranges in the diagram, and report how the config is set on this page of the router configuration pages: Setup -> Network Settings.
Do you have any special adjustments made to your WHS? Just curious...

2. Please give the output that you get (" Ping ressolves all host names on internal lan to an external ip") on your screen

3. Concerning your other issues (2&3)Do you have multiple DHCP on your LAN/is the modem bridged?

Q:Do you have Ipv6 enabled on you machines? When I ping a hostname from my Vista client, by default (PING <hostname> I will get an IPv6 response. Only when I enter the PING -4 command (followed by the hostname) I will get an IPv4 respons. XP machines do not have IPv6 installed by default and Vista does. So does the ping issue also occur on Vista-2-Vista?
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 23, 2009, 06:44:02 PM
I'm here  ;D (though shortly this Friday...hectic week)

Brian, for starters (1.) could you please include the IP ranges in the diagram, and report how the config is set on this page of the router configuration pages: Setup -> Network Settings.
Do you have any special adjustments made to your WHS? Just curious...

2. Please give the output that you get (" Ping ressolves all host names on internal lan to an external ip") on your screen

3. Concerning your other issues (2&3)Do you have multiple DHCP on your LAN/is the modem bridged?

Q:Do you have Ipv6 enabled on you machines? When I ping a hostname from my Vista client, by default (PING <hostname> I will get an IPv6 response. Only when I enter the PING -4 command (followed by the hostname) I will get an IPv4 respons. XP machines do not have IPv6 installed by default and Vista does. So does the ping issue also occur on Vista-2-Vista?

1) A new lan diagram with IP's can be found here: http://www.monkeysofdestruction.com/mod/tp-images/Image/Network3.png (http://www.monkeysofdestruction.com/mod/tp-images/Image/Network3.png)

1b) Click here for router config image: http://www.monkeysofdestruction.com/mod/tp-images/Image/routerconfig.png (http://www.monkeysofdestruction.com/mod/tp-images/Image/routerconfig.png)

1c) no adjustments to WHS

2) If I type: ping lisas

Code: [Select]
Pinging lisas.BATES [24.28.193.9] with 32 bytes of data:
3) Multiple DHCP?     Multiple clients.  The DIR-825 is the only server

3b) Modem bridged?  Not sure what that means.  Modem supplied by roadrunner

4) IPv6 is installed by default via Vista.  I've not altered their settings from default.

5) Yes, ping issues occurs on all machines.
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: EddieZ on January 24, 2009, 02:34:29 AM
Multiple DHCP: yes, an internet modem usually also has DHCP enabled. That would make two in the LAN: the modem and the DIR. And two fold DHCP on a LAN is a no-no, unless you have different subnets.

Anyway... Remove the local domain name 'Bates' (or does RR require you to have it?), disable DNS relay and manually set DNS server to the RR modem IP (networking setup screen), reboot modem and please check your PING again.

By the way, what's your RR modem IP?



Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 24, 2009, 06:30:13 AM
1) Ok, using tracert the first hop is 10.49.0.1 so I assume that is my modem's IP address.

2) If I shut off DNS relay I can't get to anything on the net.  Regardless of what is in the DNS settings of the 825

3) If manually set the DNS to the modem's address (10.49.0.1) I can't browse the internet, but I can ping hostnames on the LAN.  This is true with DNS Relay on or off

4) Host name not required and removed.
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: EddieZ on January 25, 2009, 03:20:05 AM
So your problem seems to be with the connection between the modem and the router, probably the modem setting/config. It should be possible to internet with DNS relay off, inputting a DNS server manually. Since it doesn't they culprit is your modem (config). Can you change the modem setup or is it a static modem?

I'll get back to you asap, my ISp has decided to trash a Dslam or something so I'm now using my business GPRS connection (which is quite expensive  :D).
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 25, 2009, 05:39:00 AM
Static modem.  No settings that I know of
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 25, 2009, 05:49:47 AM
Something that I never tried before was to shut off DNS relay and leave the DNS entries blank so that the ISP assigns them to the router.

If I do this and ping a LAN host name, I get this:

Code: [Select]
Pinging lisas.neo.rr.com [208.69.36.132] with 32 bytes of data:
Which, again is not on my LAN

BTW....with the settings like this, I CAN surf the web.
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: EddieZ on January 25, 2009, 06:04:18 AM
Does your WHS run a DNS server of some kind? Just got to ask, since there is something outside of your DIR655 causing this phenomenon. I guess it is your modem that does not seem to be able to be LAN aware (that's a DNS config issue).

Do you have Routing and Remote Services on the connected PC's?

This is not an uncommon thing to happen, you will find several references through google.
This is one response I like:

"Usual reason for this is the local dns server is not properly configured or the workstation dns entries point to the router/isp dns not the DC.
Proper config is for wksts being dhcp clients of the server. Dhcp is set to auto update dns. Dns has the isp's dns servers listed in the forwarders tab [not to be confused with the forward lookup zone]. Local name resolution is handled by the ms dns server. Internet name resolution goes to the ms dns server which then forwards the request to the isp's dns server for resolution."

I think there either is a DNS server active somewhere inside the LAN or the modem itself is not configured OK.
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 25, 2009, 11:09:13 AM
Well after DAYS of troubleshooting and with your help, this is what I've found.

I called my ISP about the problem, and although they wouldn't help because the router isn't theirs, they did reboot the router and do some unknown work to it.  Now the ping is working correctly. ??????

Secondly, the network freezing appears to be because I had jumbo frame support enabled on my nic's.  After I disabled it I've had no more freezing problems.  Does the 825 not support jumbo frames?  I know the switch ( D-Link DGS-2208 ) does.
Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: EddieZ on January 25, 2009, 11:56:54 AM
So my conclusion that the MODEM was causing it was the right one?

Quote
So your problem seems to be with the connection between the modem and the router, probably the modem setting/config. It should be possible to internet with DNS relay off, inputting a DNS server manually. Since it doesn't they culprit is your modem (config). Can you change the modem setup or is it a static modem?
Quote
I guess it is your modem that does not seem to be able to be LAN aware (that's a DNS config issue).

Title: Re: Ping ressolves all host names on internal lan to an external ip
Post by: Brian on January 25, 2009, 12:47:55 PM
It appears that way.  Thanks for your help.
Title: Re: Ping ressolves all host names on internal lan to an external ip **(concluded
Post by: EddieZ on January 25, 2009, 03:04:02 PM
Great to see it all works OK now. Happy surfin' (and pingin')!
Title: Re: Ping ressolves all host names on internal lan to an external ip **(concluded
Post by: Brian on January 25, 2009, 03:33:40 PM
Great to see it all works OK now. Happy surfin' (and pingin')!

Thanks again.

Does the 825 support jumbo frames?
Title: Re: Ping ressolves all host names on internal lan to an external ip **(concluded
Post by: EddieZ on January 25, 2009, 03:56:53 PM
Thanks again.

Does the 825 support jumbo frames?

I think it does, but it cannot be set in the setup (auto). You also need other jumbo packet enabled devices to make it work. It also seems that the max. packetsize does not need to exceed 4000, but i have verified that (I don't have a use for jp). JP is not a simple enahncer, it can be but it can also cause networking issues.