Having trouble setting static IP lease

7 posts / 0 new
Last post
j.s.
j.s.'s picture
Having trouble setting static IP lease
I am trying to get a Static IP assigned so that I can forward some externaly visible ports to a device on the LAN.  Unfortunately no luck so far.
 
1. On the "setup" / "Basic Setup" tab in the "Network Address Server Settings (DHCP)" section I have:
 
DHCP Type:  DHCP Server
DHCP Server: Enable  
Start IP Address: 192.168.1.2
Maximum DHCP Users: 50
Client Lease Time: 1440 min
Static DNS 1: 0.0.0.0
Static DNS 2: 0.0.0.0
Static DNS 3: 0.0.0.0
WINS: 0.0.0.0
Use DNSMasq for DHCP
 
 
 
 
2. On the "Services" / "Services" tab I have
 
DHCP Server
 
Use JFFS2 for client lease DB: (Not mounted)
Use NVRAM for client lease DB: (Not checked)
Used Domain:  WAN
LAN Domain: (Blank)
Additional DHCPd Options: (Blank)
 
Static Leases
MAC Address           Hostname   IP Address    Client Lease Time
50:88:87:00:9C:3D   myDevice   192.168.100   (Blank) min
 
 
3.  The "Status" / "LAN" tab always shows the designated MAC address assigned a a value in the DHCP range.  Never the desired static assigned value.
 
Dynamic Host Configuration Protocol
DHCP Status
DHCP Server: Enabled 
DHCP Daemon: DNSMasq 
Start IP Address: 192.168.1.2 
End IP Address: 192.168.1.51 
Client Lease Time 1440 min 
 
 
DHCP Clients
Hostname IP Address MAC Address Client Lease Time Delete
* 192.168.1.14 50:88:87:00:9C:3D 1 day 00:00:00
 
 
4. On the "status" / "Router" tab 
 
Firmware Version: DD-WRT v3.0-r30910M kongac (12/02/16)
Kernel Version: Linux 4.4.36 #152 SMP Fri Dec 2 16:26:09 CET 2016 armv7l
 
 
I am open to any ideas.  Thanks in advance.
 
j.s.
j.s.'s picture
This is for DD-WRT

This is for DD-WRT

Cinghialino
Cinghialino's picture
How about

How about

 

in Server > Server

Set up a Static Lease

with the MAC address of the machine you want to assign a static ip

 

 

 

Cinghialino
Cinghialino's picture
Sorry the tab is Services,

Sorry the tab is Services, not server

j.s.
j.s.'s picture
Thanks for responding.

Thanks for responding.  Actually I had done that and noted the entry on item 2 of my post.  My device is called "myDevice" and MAC address "50:88:87:00:9C:3D".  No effect.   Seems like I am missing some other flag or setting.

 

2. On the "Services" / "Services" tab I have
 
DHCP Server
 
Use JFFS2 for client lease DB: (Not mounted)
Use NVRAM for client lease DB: (Not checked)
Used Domain:  WAN
LAN Domain: (Blank)
Additional DHCPd Options: (Blank)
 
Static Leases
MAC Address            Hostname   IP Address      Client Lease Time
50:88:87:00:9C:3D    myDevice   192.168.100    (Blank) min
 

Thanks again for looking at the post.  

 

 

 

 

--

j.s.
j.s.'s picture
And yes, I have the address

And yes, I have the address as 192.168.1.100.  Seems I typoed the address on the post.  Anyway, the 192.168.1.100 does not work.

j.s.
j.s.'s picture
Fixed.  Typo in MAC entry.

Fixed.  Typo in MAC entry.  Thanks for everyone's help.