LAN network problem -- Can't enable the router as DHCP Server

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Muse

Lifer
Jul 11, 2001
40,875
10,222
136
Yes, I installed the latest router firmware approximately when I started the thread.
 

sdifox

No Lifer
Sep 30, 2005
100,266
17,902
126
set ip statically to nas on dsm
set ip statically on laptop

connect both the nas and the laptop to switch, leaving the router-switch connection active. See how it works.

At this point I am trying to isolate the problem.

My Synology DSM Control Panel/DHCP Server/Network Interface shows "LAN Disabled." I never set it up, there are no IP addresses assigned.
 

VirtualLarry

No Lifer
Aug 25, 2001
56,587
10,225
126
I don't know that I would say a NAS should respond within 3 seconds to a request for data.

My QNAP TS-451 4-bay NAS, with 4x5TB Seagate desktop drives inside, sometimes takes maybe 30 seconds or more before it's "ready" to send/recieve data. Whether that is spinning up drives, I don't know, but whenever I look at the lights, it doesn't indicate that the drives have spun down.

I think OP might have slightly unrealistic expectations from a small SOHO NAS. Or perhaps I am having issues with my configuration as well.
 

sdifox

No Lifer
Sep 30, 2005
100,266
17,902
126
I don't know that I would say a NAS should respond within 3 seconds to a request for data.

My QNAP TS-451 4-bay NAS, with 4x5TB Seagate desktop drives inside, sometimes takes maybe 30 seconds or more before it's "ready" to send/recieve data. Whether that is spinning up drives, I don't know, but whenever I look at the lights, it doesn't indicate that the drives have spun down.

I think OP might have slightly unrealistic expectations from a small SOHO NAS. Or perhaps I am having issues with my configuration as well.

He said he configured the drive so they don't go to sleep. response should be better than what he is getting.
 

Ketchup

Elite Member
Sep 1, 2002
14,559
248
106
I know on my little wireless network with an i5 desktop running Windows server responds pretty much instantly to data requests from the Blu-Ray player, wired desktop, wireless laptops, tablets, phones, and Roku box. The only thing that might be a little differently is that my server is assigned a static IP address from the router.
 

sdifox

No Lifer
Sep 30, 2005
100,266
17,902
126
I know on my little wireless network with an i5 desktop running Windows server responds pretty much instantly to data requests from the Blu-Ray player, wired desktop, wireless laptops, tablets, phones, and Roku box. The only thing that might be a little differently is that my server is assigned a static IP address from the router.
I5 has a lot more oomph than the soc on a nas
 

Ketchup

Elite Member
Sep 1, 2002
14,559
248
106
I wouldn't think seeing data available would take that much demand of a CPU. Actually playing it might. Makes me wonder if his box or drives are going to sleep when not in use. I know he said that he has configured them not to, but that doesn't mean they are obeying. Getting some hard drives not to park can be quite a trick.
 

sdifox

No Lifer
Sep 30, 2005
100,266
17,902
126
I wouldn't think seeing data available would take that much demand of a CPU. Actually playing it might. Makes me wonder if his box or drives are going to sleep when not in use. I know he said that he has configured them not to, but that doesn't mean they are obeying. Getting some hard drives not to park can be quite a trick.
Two hdds dont take that long to spin up even if synology decided to spin them up individually
 

Muse

Lifer
Jul 11, 2001
40,875
10,222
136
Yes, the RAID1 two 3TB WD Red HD NAS is configured to have the HDs always on. The lights stay on and from the sound of it, evidently the HDs spin continuously.

Op try this. Turn off the dhcp on the wifi router and have it in ap mode. Then connect to its ssid and see if that laptop is working correctly. Open command window, type in ipconfig/all and see what it says. If your laptop gets an ip addr, mask and gateway than you have another dhcp server.

http://serverfault.com/questions/8526/how-do-i-find-if-there-is-a-rogue-dhcp-server-on-my-network
I will try this.
AP mode? Pardon my ignorance. I suppose this is the alternative mode that the router will be in when I select "No" to the question "Enable DHCP Server."

The command window you indicate, that would be on the laptop I recently reported trouble with that took ~90 seconds to get a handle on data on the NAS. Now, I've had similar problems with my other wifi connected laptop. It probably doesn't matter which laptop I use for this. However, I'll use this one that had the ~90 second delay.

Right now, before turning off the DHCP function of the router, ipconfig shows this:

Link-local IPv6 Address..... etc.
Ipv4 Address: 192.168.1.114
Subnet Mask 255.255.255.0
Default Gateway: 192.168.1.1

Edit: So, I go into the Asus router configuration and disable the DHCP Server function, the new configuration takes around 30 seconds and I'm at the login screen. I look and check that DHCP Server is disabled and then run ipconfig again on this laptop and again I get:

Link-local IPv6 Address .... etc.
Ipv4 Address: 192.168.1.114
Subnet Mask 255.255.255.0
Default Gateway: 192.168.1.1

In the router configuration there's still a manually assigned IP for the DISKSTATION (i.e. the NAS) of 192.168.1.56. I made that assignment a few days ago. As stated above in this thread I have my wifi connected laptops looking for that IP, not \\DISKSTATION.

Anyway, not sure if the experiment described in this post indicates that there's another DHCP server in my network. The slow data access is not continuous, in fact is very occasional. When it happens it's a surprise, completely baffling and generally very disconcerting. I get an hourglass or just a big white blank screen that sits there and if I go to task manager I'm apt to see "not responding."
 
Last edited:

sdifox

No Lifer
Sep 30, 2005
100,266
17,902
126
Yes, the RAID1 two 3TB WD Red HD NAS is configured to have the HDs always on. The lights stay on and from the sound of it, evidently the HDs spin continuously.

I will try this.
AP mode? Pardon my ignorance. I suppose this is the alternative mode that the router will be in when I select "No" to the question "Enable DHCP Server."

The command window you indicate, that would be on the laptop I recently reported trouble with that took ~90 seconds to get a handle on data on the NAS. Now, I've had similar problems with my other wifi connected laptop. It probably doesn't matter which laptop I use for this. However, I'll use this one that had the ~90 second delay.

Right now, before turning off the DHCP function of the router, ipconfig shows this:

Link-local IPv6 Address..... etc.
Ipv4 Address: 192.168.1.114
Subnet Mask 255.255.255.0
Default Gateway: 192.168.1.1

Edit: So, I go into the Asus router configuration and disable the DHCP Server function, the new configuration takes around 30 seconds and I'm at the login screen. I look and check that DHCP Server is disabled and then run ipconfig again on this laptop and again I get:

Link-local IPv6 Address .... etc.
Ipv4 Address: 192.168.1.114
Subnet Mask 255.255.255.0
Default Gateway: 192.168.1.1

In the router configuration there's still a manually assigned IP for the DISKSTATION (i.e. the NAS) of 192.168.1.56. I made that assignment a few days ago. As stated above in this thread I have my wifi connected laptops looking for that IP, not \\DISKSTATION.

Anyway, not sure if the experiment described in this post indicates that there's another DHCP server in my network. The slow data access is not continuous, in fact is very occasional. When it happens it's a surprise, completely baffling and generally very disconcerting. I get an hourglass or just a big white blank screen that sits there and if I go to task manager I'm apt to see "not responding."

Did you do a ipconfig/release then dhcp/renew after disabling the wifi router's dhcp server?
 

boomerang

Lifer
Jun 19, 2000
18,883
641
126
I don't know that I would say a NAS should respond within 3 seconds to a request for data.
I have a Synology and access is instant through either a wireless or wired connection to my Asus router. The Synology resides in a remote location in the house behind a four port switch.

I think if sdifox can get his latest question answered the situation will become much clearer.

I'm going to add that IMO, the OP should stick to one computer for troubleshooting purposes. There is a large mix of operating systems in this equation and I think it would be best to stick with just one until a solution is reached.
 
Last edited:

Muse

Lifer
Jul 11, 2001
40,875
10,222
136
Did you do a ipconfig/release then dhcp/renew after disabling the wifi router's dhcp server?
No, I did not. Hadn't heard of that. Will do that now and report the results. Thanks.

I'm now at my other laptop (the 32 bit win10 machine) that's wifi connected. This is after recording what you will see below this to my 64 bit win10 laptop, which is wifi connected but lost it's connection so I can't post that info yet. To my amazement, the 32bit wifi connected machine is still connected. I figured not, because of what I'm going to post next (as soon as I re-enable DHCP Server status in router config, as soon as I did that, the 64bit machine had a connection again and I was able to paste in the following):
- - - -
I assume that both those commands are to be executed at the command prompt?

I just opened a new Command Prompt. The first command appeared to execute. The second command elicited this:
'dhcp' is not recognized as an internal or external command, operable program or batch file.

Edit: I then couldn't post back here because the laptop didn't have a wifi connection. Trouble shooting this I got a message that "wifi does not have a valid IP configuration" or just about exactly that message. I'm going to run ipconfig, and record here what I see, then re-enable DHCP Server in the router config, hopefully have a connection again and then paste this message into my last post.

ipconfig gives this:

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix : [nothing]
Link-local IPv Address: [a string of info]
Autoconfiguration IPv4 Address : 169.254.123.254
Subnet Mask : 2455.255.0.0
Default Gateway : [blank]

Trying to reach router config entering 192.168.1.1, I get this:

Settings have been updated. Web page will now refresh.
Changes have been made to the IP address or port number. You will now be disconnected from RT-N66R.
To access the settings of RT-N66R, reconnect to the wireless network and use the updated IP address and port number.

I'm going to go to one of my ethernet connected machines and reestablish DHCP Server enabled status and post this info in my last message... [actually, I never did go to an ethernet connected machine because the 32bit laptop which was wifi connected still had it's connection, I reset the router to DHCP Server status from there, using wifi]

I hope all that made sense.

I suppose this maybe means that there's no other DHCP server in my network???
 
Last edited:

sdifox

No Lifer
Sep 30, 2005
100,266
17,902
126
No, I did not. Hadn't heard of that. Will do that now and report the results. Thanks.

I'm now at my other laptop (the 32 bit win10 machine) that's wifi connected. This is after recording what you will see below this to my 64 bit win10 laptop, which is wifi connected but lost it's connection so I can't post that info yet. To my amazement, the 32bit wifi connected machine is still connected. I figured not, because of what I'm going to post next (as soon as I re-enable DHCP Server status in router config, as soon as I did that, the 64bit machine had a connection again and I was able to paste in the following):
- - - -
I assume that both those commands are to be executed at the command prompt?

I just opened a new Command Prompt. The first command appeared to execute. The second command elicited this:
'dhcp' is not recognized as an internal or external command, operable program or batch file.

Edit: I then couldn't post back here because the laptop didn't have a wifi connection. Trouble shooting this I got a message that "wifi does not have a valid IP configuration" or just about exactly that message. I'm going to run ipconfig, and record here what I see, then re-enable DHCP Server in the router config, hopefully have a connection again and then paste this message into my last post.

ipconfig gives this:

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix : [nothing]
Link-local IPv Address: [a string of info]
Autoconfiguration IPv4 Address : 169.254.123.254
Subnet Mask : 2455.255.0.0
Default Gateway : [blank]

Trying to reach router config entering 192.168.1.1, I get this:

Settings have been updated. Web page will now refresh.
Changes have been made to the IP address or port number. You will now be disconnected from RT-N66R.
To access the settings of RT-N66R, reconnect to the wireless network and use the updated IP address and port number.

I'm going to go to one of my ethernet connected machines and reestablish DHCP Server enabled status and post this info in my last message... [actually, I never did go to an ethernet connected machine because the 32bit laptop which was wifi connected still had it's connection, I reset the router to DHCP Server status from there, using wifi]

I hope all that made sense.

I suppose this maybe means that there's no other DHCP server in my network???

Sorry, meant ipconfig/renew. The hardwired machines, are they on dhcp as well?
 

Muse

Lifer
Jul 11, 2001
40,875
10,222
136
Sorry, meant ipconfig/renew. The hardwired machines, are they on dhcp as well?
Meaning what? Meaning that the mapping is to \\192.168.1.56\Diskstation share and not to \\DISKSTATION\Diskstation share? If that isn't what you mean, what/where is that setting?
 

sdifox

No Lifer
Sep 30, 2005
100,266
17,902
126
Meaning what? Meaning that the mapping is to \\192.168.1.56\Diskstation share and not to \\DISKSTATION\Diskstation share? If that isn't what you mean, what/where is that setting?

As in did you setup static ip for the computer hooked up by ethernet cable or do you just plug it in to the switch and you get an ip. Doesnt matter if you are hardwired or on wifi, ipconfig works the same way.
 

Muse

Lifer
Jul 11, 2001
40,875
10,222
136
As in did you setup static ip for the computer hooked up by ethernet cable or do you just plug it in to the switch and you get an ip. Doesnt matter if you are hardwired or on wifi, ipconfig works the same way.
I think it gets its IP from the router's DHCP server.

I set up static IP for the computer in router config? Or is that done on the computer?

I just tried to access data via my Visual Foxpro app using an ethernet connected machine and it didn't gain access for approximately 4 1/2 minutes! That machine is mapped to DISKSTATION, not to the router IP.

Edit: A few minutes later, I make the next data request in the same app and it's been another 4 1/2 minutes and still nothing. Usually it's a matter of a second or two. This is ethernet connected. Finally, after over 5 minutes my data was accessed.
 
Last edited:

sdifox

No Lifer
Sep 30, 2005
100,266
17,902
126
I think it gets its IP from the router's DHCP server.

I set up static IP for the computer in router config? Or is that done on the computer?

I just tried to access data via my Visual Foxpro app using an ethernet connected machine and it didn't gain access for approximately 4 1/2 minutes! That machine is mapped to DISKSTATION, not to the router IP.

Disconnect dsl modem from wifi router and repeat your access nas test.
I am concered about your ipconfig not showing a gateway.
 

Muse

Lifer
Jul 11, 2001
40,875
10,222
136
OK, I see where I can have the computer use a specific IP address instead of getting it "automatically." I set it to the current IP address, 192.168.1.166 and will go into router config and see if I can pin it down to that address.

Edit: Now that machine can access data on the NAS but it has no internet connection. I did map that IP address to that machine in router config.

Edit2: I did not enter anything for DNS server addresses when I assigned the IP address in the computer's config for TCP/IP properties.
 
Last edited:

Muse

Lifer
Jul 11, 2001
40,875
10,222
136
Using another ethernet connected PC, I'm accessing that data in around 3 seconds or less. It's still getting its IP address automatically.