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.