Avatar of Konstantin Shatalov
Konstantin Shatalov
 asked on

Need constant router restart

Hello,

I have 2 machines connected to DLINK DIR-880L via wifi. Every so often they can't see each other. Here is an example when I can't resolve the hostnames. After router restart all works again until this happens again within a day. I am so tired of restarting the router. I should note that I had another DIR-880L router and it shows same issue. So, it can't be the router, right?

I have two machines on reserved ips. For whatever reason I can't ping via name as shown below. After router restart all works again. Any idea why? Machines also can't see each other under network tab in windows even though I still can access by IP address. After restart this is also resolved.

DESKTOP PC  - 192.168.100.100
MEDIA PC - 192.168.100.101

From desktop pc ---------------------------------------
C:\Users\xxx>ping 192.168.100.101

Pinging 192.168.100.101 with 32 bytes of data:
Reply from 192.168.100.101: bytes=32 time=2ms TTL=128
Reply from 192.168.100.101: bytes=32 time=1ms TTL=128
Reply from 192.168.100.101: bytes=32 time=1ms TTL=128
Reply from 192.168.100.101: bytes=32 time=1ms TTL=128

Ping statistics for 192.168.100.101:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 2ms, Average = 1ms

C:\Users\xxx>tracert media-pc
Unable to resolve target system name media-pc.

C:\Users\xxx>tracert 192.168.100.101

Tracing route to MEDIA-PC [192.168.100.101]
over a maximum of 30 hops:

  1     1 ms     2 ms     1 ms  MEDIA-PC [192.168.100.101]

Trace complete.

C:\Users\xxx>ping media-pc
Ping request could not find host media-pc. Please check the name and try again.
Windows Networking

Avatar of undefined
Last Comment
John

8/22/2022 - Mon
Dirk Mare

How do you have your DNS configured and how is your DNS configured on your routers DHCP settings?

To bypass this edit the windows HOST file on each pc and add IP and Name to the host file..
Link 1
Link 2

Are you sure your reservations are working correctly?
can you post ipconfig /all from both PC?

DirkMare
bbao

it might be a design flaw which is not uncommon for products of D-LINK, TP-LINK or similar brand names.

scheduling a restart is good practice for non-enterprise product lines such as home WiFi routers and printers.
John

Also check for a Firmware update for your D-Link routers. Firmware bugs can cause this.

I have two machines on reserved ips   <-- Consider using vanilla DHCP. It just works better.
Your help has saved me hundreds of hours of internet surfing.
fblack61
Konstantin Shatalov

ASKER
Hostname is not really an option as there are other devices such as chromecast/tablet/phone that can't connect to the pc.

The DNS server is set on router to 8.8.8.8, 8.8.4.4 but this is extern DNS, right? It shouldn't be used to resolve local machine names.

reservation is working for sure as I can continue to communicate via ip directly when problem comes up.

----------------------------------------------------------------------------------------------
Windows IP Configuration

   Host Name . . . . . . . . . . . . : MEDIA-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : phub.net.cable.rogers.com

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . : phub.net.cable.rogers.com
   Description . . . . . . . . . . . : D-Link DWA-160 Xtreme N Dual Band USB Adapter(rev.B2)
   Physical Address. . . . . . . . . : ....
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::9530:6075:e693:8d71%7(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.100.101(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Friday, August 19, 2016 7:58:10 AM
   Lease Expires . . . . . . . . . . : Thursday, October 12, 2152 3:30:12 PM
   Default Gateway . . . . . . . . . : 192.168.100.1
   DHCP Server . . . . . . . . . . . : 192.168.100.1
   DNS Servers . . . . . . . . . . . : 192.168.100.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

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

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Desktop-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : phub.net.cable.rogers.com

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . : phub.net.cable.rogers.com
   Description . . . . . . . . . . . : D-Link DWA-552 XtremeN Desktop Adapter
   Physical Address. . . . . . . . . : ...
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::30ac:c9c3:84ac:a924%6(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.100.100(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Sunday, September 04, 2016 1:33:01 PM
   Lease Expires . . . . . . . . . . : Thursday, October 12, 2152 3:35:12 PM
   Default Gateway . . . . . . . . . : 192.168.100.1
   DHCP Server . . . . . . . . . . . : 192.168.100.1
   DHCPv6 IAID . . . . . . . . . . . : 151003537
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1C-E8-6E-AD-6C-F0-49-00-D8-7D
   DNS Servers . . . . . . . . . . . : 8.8.8.8
                                       8.8.4.4
   NetBIOS over Tcpip. . . . . . . . : Enabled
John

3rd party DNS will not do anything for local DNS.  You can use a local host file on the computers to see if that works.

Did you try Firmware?
Konstantin Shatalov

ASKER
Router firmware is latest. I can easily edit host file on PCs but it seems to be painful process for android tablets and don't even know if it is possible for chromecast.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Dirk Mare

from your ipconfig..

desktop PC has google DNS configured for DNS and not your local DNS (192.168.100.1)

Which means when desktop pc tries to resolve media pc IP it tries to connect to Google DNS which will not work..

under your router reservation confirm the configuration for desktop pc..

DirkMare
Tomas Valenta

Try this like workaround
If you are using this router for DHCP and DNS than:
In router configuration make this changes:
DHCP reservation for both computers so they will have the same IP address assigned forever
add static DNS records for both computers in router DNS table

For troubleshooting the issue:
where is your DNS server ? D-link itself ?
put here result of IPCONFIG /ALL from both computers in time all is working
when the problem starts try these commands and actions on both computers:
ipconfig /flushdns
try ping to name
nslookup media-pc
Marcin Koprowski

Hi Konstantin.

If the ISP modem has a built in router, it's best to bridge the modem. Having 2 routers on the same line can cause connection problems: Link>Double NAT.

Sounds like you are in a double NAT condition and this an effect how the DIR-880L or any router behind this ISP modem can operate correctly, but I'm guessing here. I'm trying to come up with something to help you.

Best wishes,

Marcin
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
SOLUTION
John

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Konstantin Shatalov

ASKER
- I did indeed have DNS set manually on Desktop-PC to google DNS. Again, I don't think it makes a difference as after router restart it works again. I changed this to get DNS automatically.
- The modem from rogers is indeed set to bridge mode.
- Any recommendations for actually a good router? I have 2 versions of this one and both have problems.

thanks everyone on tips. I will do more diagnosing when the problem happens again.
Dirk Mare

Glad I could help..

DirkMare
ASKER CERTIFIED SOLUTION
pgm554

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
hypercube

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Dirk Mare

I do not agree that a new router would resolve the authors problems

You cannot have googles public DNS configured on the client and expect it to resolve local network address. Public Yes but not local computers and server ext.

DirkMare
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
John

The solution here is a new and better router. I use Rogers myself and it is not a Rogers issue based on the posts.