DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-04-02 19:34:14

nbremond
New member
Registered: 2010-04-02
Posts: 1

Make the DNS-323 to assign static IP as a DHCP server

I needed to assign static IP addresses to machines on my network. Unfortunatly, the DNS-323 does not allow to specify static IP for hosts (MAC addresses) as a DHCP server.

The trick I have used consist of adding the following at the end of the "/etc/udhcpd.conf" and "/etc/udhcpd.conf.def" files:

static_lease    00:23:54:90:xx:xx       192.168.0.2       # my_upnp_server
static_lease    00:19:66:2A:xx:xx       192.168.0.150   # my_computer
static_lease    00:13:D3:A9:xx:xx       192.168.0.170   # my_AV_amplifier

And it worked.
I hope this can be helpfull...

Offline

 

#2 2010-04-02 23:23:11

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Make the DNS-323 to assign static IP as a DHCP server

Just so that you're aware - any ip address assigned by a DHCP server, is, by definition, dynamic - if the DHCP server is not available, the device will not receive the address.

Static addresses do not require a DHCP server to be present - they are set at the device.

What you are referring to above is correctly known as a DHCP reservation.

Last edited by fordem (2010-04-02 23:24:06)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB