• February 28, 2025, 01:57:07 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: IP address keeps changing  (Read 11136 times)

mziarko

  • Level 1 Member
  • *
  • Posts: 1
IP address keeps changing
« on: May 27, 2010, 06:58:23 AM »

My iMac is connected to my 323.  The server address keeps changing.  One day it was 10.0.1.16, another day its 10.0.1.2.  How can I make it static?

Thanks,
mike
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: IP address keeps changing
« Reply #1 on: May 27, 2010, 07:07:04 AM »

Go into the web setup for the DNS-323 and configure a static IP address.  Make sure you configure it outside the range of your router's DHCP server, but in the same subnet, i.e. 10.0.0.x where x is not in the address range of the DHCP server.  x also can't be less than 2 or greater than 254.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

dosborne

  • Level 5 Member
  • *****
  • Posts: 598
Re: IP address keeps changing
« Reply #2 on: May 27, 2010, 01:52:50 PM »

Go into the web setup for the DNS-323 and configure a static IP address.  Make sure you configure it outside the range of your router's DHCP server, but in the same subnet, i.e. 10.0.0.x where x is not in the address range of the DHCP server.  x also can't be less than 2 or greater than 254.

Just a couple of minor corrections:
- You are assuming the router is the DHCP server, it may or may not be :)
- The "x" in the address can be extended to other segments i.e. 192.168.x.y if the subnet mask is also changed  :)
- x.y.z.1 can be used as long as it does not conflict with other devices.

In addition, when selecting a static IP address, it is important to not only ensure that the address is not within the DHCP servers assignment range, but also that it does not conflict with any existing device.

:) :)
Logged
3 x DNS-323 with 2 x 2TB WD Drives each for a total of 12 TB Storage and Backup. Running DLink Firmware v1.08 and Fonz Fun Plug (FFP) v0.5 for improved software support.

OlegMZ

  • Level 2 Member
  • **
  • Posts: 50
Re: IP address keeps changing
« Reply #3 on: May 27, 2010, 02:08:05 PM »

One way to do it is to configure everything static (IP address, mask, default gateway, DNS server etc.) on NAS itself from config page. This is preferred way for any server or network box which has to have the same IP all the time.

Another way is to tweak your DHCP server settings as follows:
1) increase DHCP lease time is much more than time your NAS is in sleeping state (if network card is online 24/7 DHCP lease normally never changes IP settings, just resets timer)

2) Statically map MAC address of NAS to IP certain address (most DHCP servers support it).

The only advantage of static DHCP servers settings over static configuration of device itself is potential ability to modify all network settings on DHCP server for all devices on your network, including NAS, at one place.

Disadvantage is that in case on link problems or DHCP failure you may end up with some "default" network setting for your NAS. For example I use Powerline D-LINK network adapters to connect my PS3 to the network, which have powersaving feature (link between adapters is down if ethernet connection [to attached device] is down. The problem is that DHCP query timeout at PS3 is shorter than powerline adapters wake-up time. So every time I start PS3 I have either to unplug-plug PS3 ethernet cable or go to PS3 settings and force it to renew IP settings. Static IP configured on PS3 in this case is the best solution.


Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: IP address keeps changing
« Reply #4 on: May 27, 2010, 02:11:01 PM »

Seems you're trying to make a simple problem complex!
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

OlegMZ

  • Level 2 Member
  • **
  • Posts: 50
Re: IP address keeps changing
« Reply #5 on: May 27, 2010, 02:29:38 PM »

Seems you're trying to make a simple problem complex!

It depends.

In case of D-Link routers all you need to set static DHCP mapping is to go to DHCP servers settings page, clone and save current IP address assignment for NAS. And that's it! No fears to create IP conflict, misconfigure IP address, subnet mask, default gateway, DNS etc.

If you screw static IP settings you may lose access to the NAS and have a lot of fun restoring it. Especially if you are not familiar with network stuff.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: IP address keeps changing
« Reply #6 on: May 27, 2010, 03:00:03 PM »

Please!  Reset to factory defaults and run the D-Link utility!  After all, they had to do that when they bought it, so I don't think it's too complex to do it again.

In addition, at least 99% of the folks coming here and looking for advice on configuring have a broadband router that uses DHCP.

My comment still applies.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

OlegMZ

  • Level 2 Member
  • **
  • Posts: 50
Re: IP address keeps changing
« Reply #7 on: May 27, 2010, 07:36:47 PM »

Please!  Reset to factory defaults and run the D-Link utility!

Exactly. Reset to factory defaults.... and manually restore all shares and settings you have already spent so many time on before. Just because you mistyped IP address. I'd rather connect NAS directly to my laptop and run Wireshark to detect its current IP address :-)

  After all, they had to do that when they bought it, so I don't think it's too complex to do it again.

I did not. Just went to my D-link broadband router config page and saw IP address leased to the box.


In addition, at least 99% of the folks coming here and looking for advice on configuring have a broadband router that uses DHCP.

That's what I was talking about. 99% of consumer routers have DHCP server built in with capability to create static mapping between network device and leased IP address. My old DI-624 allows to do it in 2 clicks.

BTW I did not tell that configuring static IP on NAS was a bad idea. Just pointed that there are other ways to do the same, maybe with less chances to get into trouble, especially for people who are not good with network stuff.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: IP address keeps changing
« Reply #8 on: May 28, 2010, 05:54:53 AM »

Many of those consumers have Linksys routers, please show me the page that allows static IP reservations. ;)
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

OlegMZ

  • Level 2 Member
  • **
  • Posts: 50
Re: IP address keeps changing
« Reply #9 on: May 28, 2010, 04:40:49 PM »

Many of those consumers have Linksys routers

Impossible! Everyone should have d-link! :-)

.. please show me the page that allows static IP reservations. ;)

Out of curiosity checked RV042 and E3000. Both have these settings on DHCP server config page. For RV042 it is DHCP Server > Setup. For E3000 I forgot exact menu item name, but it is easy to google. I'm positive that the rest of models also have it.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: IP address keeps changing
« Reply #10 on: May 28, 2010, 05:05:52 PM »

I'll bet you didn't look at the most common Linksys router, the WRT54G/GS series, right? ;)
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

OlegMZ

  • Level 2 Member
  • **
  • Posts: 50
Re: IP address keeps changing
« Reply #11 on: May 31, 2010, 05:49:39 PM »

I'll bet you didn't look at the most common Linksys router, the WRT54G/GS series, right? ;)

Did not have any with original firmware. Checked manual and did not find it indeed. Was really surprised that such basic feature was not implemented. But at least lease time can be increased.
Logged