OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: Mundan101 on May 03, 2019, 08:56:22 pm

Title: Unable to assign a static LAN IP address on dhcp4
Post by: Mundan101 on May 03, 2019, 08:56:22 pm
I did a fresh install of open and wanted to assign static IP address for lan. 

Under services, dhcpv4, leases, I see the entire list however there is no plus sign there to assign a static.  This is how I usually did it before.

I tried rebooting the firewall and stop and starting the services, but that didn't work.

I have that latest production firmware.

Any ideas?
Title: Re: Unable to assign a static LAN IP address on dhcp4
Post by: Mundan101 on May 03, 2019, 09:01:59 pm
Thought my DHCP was the entire subnet but it wasn't.  I changed the subnet ranges a bit from 100 to 254 and now I am able to assign static IP in LAN with the "+"....

Seems like a bug?
Title: Re: Unable to assign a static LAN IP address on dhcp4
Post by: Antaris on May 03, 2019, 09:20:12 pm
Nope. Static leases must be out of dynamic range.
Title: Re: Unable to assign a static LAN IP address on dhcp4
Post by: Mundan101 on May 06, 2019, 12:27:17 pm
ok, DHCP range was set by default (I believe) to xxx.xxx.xx.10 to 254, this was a fresh install..

I tried assigning static IP however the plus icon did not show up.

When I changed DHCP range from 100 to 254, it showed up?
Title: Re: Unable to assign a static LAN IP address on dhcp4
Post by: Antaris on May 06, 2019, 08:28:46 pm
Are you in:
Services>>DHCPv4>>Leases

or in:
Services>>DHCPv4>>[LAN]

?

Static mappings are through Leases, not through [LAN]...