OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Unable to assign a static LAN IP address on dhcp4
« previous next »
  • Print
Pages: [1]

Author Topic: Unable to assign a static LAN IP address on dhcp4  (Read 3384 times)

Mundan101

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 3
    • View Profile
Unable to assign a static LAN IP address on dhcp4
« 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?
Logged

Mundan101

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 3
    • View Profile
Re: Unable to assign a static LAN IP address on dhcp4
« Reply #1 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?
« Last Edit: May 03, 2019, 09:07:16 pm by Mundan101 »
Logged

Antaris

  • Full Member
  • ***
  • Posts: 146
  • Karma: 13
    • View Profile
    • EVOTEK ltd.
Re: Unable to assign a static LAN IP address on dhcp4
« Reply #2 on: May 03, 2019, 09:20:12 pm »
Nope. Static leases must be out of dynamic range.
Logged
Proxmox enthusiast @home, bare metal @work.

Mundan101

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 3
    • View Profile
Re: Unable to assign a static LAN IP address on dhcp4
« Reply #3 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?
Logged

Antaris

  • Full Member
  • ***
  • Posts: 146
  • Karma: 13
    • View Profile
    • EVOTEK ltd.
Re: Unable to assign a static LAN IP address on dhcp4
« Reply #4 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]...
Logged
Proxmox enthusiast @home, bare metal @work.

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Unable to assign a static LAN IP address on dhcp4
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2