NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
daghastly1
Apr 20, 2008Aspirant
DHCP Reservations
I just want to make sure. My ReadyNAS cannot do DHCP reservations correct? Basically I want one of my computers to get the same IP every time it connects to the network. Thank you.
andy_9_9_9_
May 14, 2008Aspirant
i don't know if anything has been fixed in the meantime, but i did a:
cp /etc/udhcpd.conf /etc/udhcpd.backup
apt-get update
apt-get install udhcpd
cp /etc/udhcpd.backup /etc/udhcpd.conf
This has upgraded my udhcpd to a newer version. Afterwards I could add the following line to the bottom of my udhcpd.conf using vi:
static_lease 00:de:ad:be:ef:00 1.2.3.4
Please replace the "00:de:ad:be:ef:00" with the actual mac address and "1.2.3.4" with the desired ip address.
What is even cooler is that you can add the following line as well if you want to manage the addresses using your DNS server (in case you run a DNS server on your box or somewhere else):
static_lease de:ad:00:00:be:ef this.is.my.hosts.dns.name.
In this case replace the mac address "de:ad:00:00:be:ef" with the actual mac address of the device and "this.is.my.hosts.dns.name." with a fully qualified dns name that resolves to the desired ip address. Quite nice, because if doing it like that an address change takes place within your DNS-Server settings only, while otherwise you got to make a change to DHCP & DNS settings.
Maybe this helps a little bit....
cp /etc/udhcpd.conf /etc/udhcpd.backup
apt-get update
apt-get install udhcpd
cp /etc/udhcpd.backup /etc/udhcpd.conf
This has upgraded my udhcpd to a newer version. Afterwards I could add the following line to the bottom of my udhcpd.conf using vi:
static_lease 00:de:ad:be:ef:00 1.2.3.4
Please replace the "00:de:ad:be:ef:00" with the actual mac address and "1.2.3.4" with the desired ip address.
What is even cooler is that you can add the following line as well if you want to manage the addresses using your DNS server (in case you run a DNS server on your box or somewhere else):
static_lease de:ad:00:00:be:ef this.is.my.hosts.dns.name.
In this case replace the mac address "de:ad:00:00:be:ef" with the actual mac address of the device and "this.is.my.hosts.dns.name." with a fully qualified dns name that resolves to the desired ip address. Quite nice, because if doing it like that an address change takes place within your DNS-Server settings only, while otherwise you got to make a change to DHCP & DNS settings.
Maybe this helps a little bit....
Related Content
- Feb 20, 2022Retired_Member
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!