NAS IP address changing
Posted by: Rockingdoc on 02 February 2011
Another question which will doubtless appear dim to you IT pros, but why/how did my NAS change its IP address when it was forced to do a hard re-boot when I pulled its mains plug in error? Caused me minor problems because my streamer couldn't see it any more, and I couldn't access the server's streamer software, until I noticed the address had changed.
Posted on: 02 February 2011 by Aleg
I think you have your NAS using dhcp to get an IP-address from your router.
Your hard boot made him request for an IP address again and the router supplied a different one.
To prevent this you usually can add your NAS onto a reserved IP list which makes the router give your NAS the same IP address each time.
Check your router manual how to do this. It usually consists of entering the MAC address of your NAS into a table together with the reserved IP address. Sometimes you're being helped with this by the router which can show which IP address is used on which MAC address and have you select this combination added as a reserved IP address.
The MAC address is a fixed address that is hardcoded into the network component of your device and is unique for that device. It looks something like this 01:23:45:67:89:ab
-
aleg
Your hard boot made him request for an IP address again and the router supplied a different one.
To prevent this you usually can add your NAS onto a reserved IP list which makes the router give your NAS the same IP address each time.
Check your router manual how to do this. It usually consists of entering the MAC address of your NAS into a table together with the reserved IP address. Sometimes you're being helped with this by the router which can show which IP address is used on which MAC address and have you select this combination added as a reserved IP address.
The MAC address is a fixed address that is hardcoded into the network component of your device and is unique for that device. It looks something like this 01:23:45:67:89:ab
-
aleg
Posted on: 02 February 2011 by garyi
You rrouter will be dealing out DHCP this is a pool of ip addresses available to anything that wants one.
You can also have a number of IPs which are 'fixed'
MOst routers out of the box have 10 fixed 0-10 and reserves one for itself so usually your routers ip is 192.168.1.1 or .0
Look on one of your computers, on a mac goto system prefs then network. in here is detail on the specifics your router is giving out.
There are a number of numbers that will need to be inputted to a uniti to set a fixed ip.
The first is the ip you want to choose probably one up from your routers for a punt, then there is gateway. This is your routers address then sub net mask usually 255.255.255.0 then and finally one or two DNS addresses usually supplied by your ISP.
This sound complicated but network settings on a mac or PC will give you all this info.
Dig through the uniti settings to find this detail then you will have a fixed IP.
You can also have a number of IPs which are 'fixed'
MOst routers out of the box have 10 fixed 0-10 and reserves one for itself so usually your routers ip is 192.168.1.1 or .0
Look on one of your computers, on a mac goto system prefs then network. in here is detail on the specifics your router is giving out.
There are a number of numbers that will need to be inputted to a uniti to set a fixed ip.
The first is the ip you want to choose probably one up from your routers for a punt, then there is gateway. This is your routers address then sub net mask usually 255.255.255.0 then and finally one or two DNS addresses usually supplied by your ISP.
This sound complicated but network settings on a mac or PC will give you all this info.
Dig through the uniti settings to find this detail then you will have a fixed IP.
Posted on: 02 February 2011 by Simon-in-Suffolk
Hi, the previous advice is all correct. An alternative that you might find simpler is to hard wire or statically assign the address on the NAS it it's settings. If the NAS address when assigned by DHCP is something like 192.168.x.y and subnet mask of 255.255.255.0 then when you create the hardwired address, ensure 192.168 and x stays the same value, and y can be between 1 and 254. However it is important it's not the same as any other address on your network, so chose a high number for y like 200 as the odds are that is free. Now a compliant DHCP server in your router will not assign an address that it sees in use. If your NAS is always on when you turn on your router then you are fine.
Use this method if you don't know what MAC or physical address means, and you are not sure what it is on your NAS or how to reserve it on the DHCP server in your router.
Simon
Use this method if you don't know what MAC or physical address means, and you are not sure what it is on your NAS or how to reserve it on the DHCP server in your router.
Simon
Posted on: 02 February 2011 by garyi
TBH I have never messed with MAC hardware addresses just the method I outlined above and have never had an issue.
Posted on: 02 February 2011 by Rockingdoc
Thanks chums. I think I've got that.
Anyway, I've printed it out and stuck it to the wall beside my router for when I do it next time.
Anyway, I've printed it out and stuck it to the wall beside my router for when I do it next time.
Posted on: 02 February 2011 by Aleg
"TBH I have never messed with MAC hardware addresses just the method I outlined above and have never had an issue."
@garyi
The fixed-IP address is also an easy solution, but requires that one manages the IP-adresses oneself.
Easy enough for only a few devices, but dhcp is very convenient and once one knows how to add devices to the reserved IP list you'll never have to look at it again. And having a somewhat lazy nature I opt for the dhcp method.
Most routers nowadays will let you add a given IP-address to the reserved list and copies the MAC-address automatically so you don't have to handle the MAC yourself. It is easy enough once you know how your router works.
-
aleg
@garyi
The fixed-IP address is also an easy solution, but requires that one manages the IP-adresses oneself.
Easy enough for only a few devices, but dhcp is very convenient and once one knows how to add devices to the reserved IP list you'll never have to look at it again. And having a somewhat lazy nature I opt for the dhcp method.
Most routers nowadays will let you add a given IP-address to the reserved list and copies the MAC-address automatically so you don't have to handle the MAC yourself. It is easy enough once you know how your router works.
-
aleg