Fixed IP address for NAS

I have an image database on a Maxtor network storage drive at work. Every time there's a power cut to test the generator, something redistributes the NAS's IP address and the database paths are changed so I can't collect up images from it to write to a CD etc. I can't buy a UPS.

The network consists of several Macs mainly on OS 10.5 (nothing newer), a D-Link unmanaged switch, a smaller D-Link hub and a Time Capsule (the newest arrival).We have no internet connection, it's a purely local network.

I know nothing about networks, but I need the NAS to be given a fixed IP address and I can't see how to do it. Is it even possible?

Posted on Mar 23, 2013 6:32 AM

Reply
5 replies

Mar 23, 2013 7:11 AM in response to Herbie1

You may not have an Internet connection, but you do have a router somewhere on the network that is distributing "local" IP adddresses to all devices.


You, or the network administrator, need to get into the settings on the router, which is "upstream" on the network....maybe on another floor or in another building.....and set it up to deliver a fixed IP address to the NAS.

Mar 29, 2013 8:05 AM in response to Herbie1

An unmanaged switch does not do anything other than allow more physical connections. It is a "pass through" device on the network.


All of the the IP addresses are being assigned from a device somewhere on the network. That is the device that must be configured to provide a fixed IP address to the NAS. If you cannot get to that device, then you have no control over IP address assignments.

Mar 29, 2013 1:12 PM in response to Herbie1

, a smaller D-Link hub

You D-Link hub .. what is the model number.. that could be a router.


Or you may have one computer acting as the dhcp server.


What is the IP range being used by the network? ie 192.168.1.x


Any computer setup to provide dhcp or device will usually be the one taking the address 1, eg 192.168.1.1 or the highest address 254.


In your Mac, open the network preference and check the IP address.. and look at the gateway (apple call it router) and DNS address.


User uploaded file

As you can see my main router is set to 192.168.2.254 .. although dhcp server doesn't have to use the same address it generally will.


Now start a ping.. open terminal, type

ping 192.168.2.254 (in my case.. use whatever shows as router and dns in yours).


you should see ping responses.


MacProie-5:~ Ray$ ping 192.168.2.254

PING 192.168.2.254 (192.168.2.254): 56 data bytes

64 bytes from 192.168.2.254: icmp_seq=0 ttl=64 time=1.157 ms

64 bytes from 192.168.2.254: icmp_seq=1 ttl=64 time=0.831 ms

64 bytes from 192.168.2.254: icmp_seq=2 ttl=64 time=0.825 ms

64 bytes from 192.168.2.254: icmp_seq=3 ttl=64 time=0.825 ms

64 bytes from 192.168.2.254: icmp_seq=4 ttl=64 time=0.812 ms

64 bytes from 192.168.2.254: icmp_seq=5 ttl=64 time=0.827 ms

^C


Now go and turn off each device in the network.. (not switch).. starting with the little hub.. as I think that is likely the device that is a router.


Check back each time to check if the ping stops replying.. that was the router.. and in that device you may or may not be able to set the IP.


You should also be able to set the IP manually on the NAS.. then it won't change.


eg in the case of my network.. ping 192.168.1.253 it is highly unlikely to be used.


or 252 or 250 .. one of the high end addresses.. and simply set the NAS to that.


Here is a reference for how to find the dhcp server address directly by command in the terminal.


http://automatica.com.au/2009/07/how-to-find-your-dhcp-server-address-under-mac- os-x/


Works great

MacProie-5:~ Ray$ ipconfig getoption en1 server_identifier

192.168.2.254

Apr 5, 2013 12:01 PM in response to LaPastenague

Thanks for this. I've identified the Time Capsule as the current source of IP addresses. You've also helped me see what I think is happening. Haven't tested the theory yet. The Time Capsule is a late addition to the network. Before it arrived, the database path (that is, the IP address of the NAS) was 168.xxx etc. At some time after the TC was added, the NAS address became 10.x.x etc., probably after a power-off situation.

I finally managed to break into the NAS's browser setup page which I couldn't access before as I'd lost the password, and I hope I have fixed its IP address. Time will tell!

So thanks for pointing me in the right direction.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Fixed IP address for NAS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.