Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
Static IP from DHCP Pool
« previous
next »
Print
Pages: [
1
]
Author
Topic: Static IP from DHCP Pool (Read 15600 times)
tfcb
Newbie
Posts: 5
Karma: 0
Static IP from DHCP Pool
«
on:
July 12, 2018, 06:14:24 pm »
Hi,
I'm attempting to understand how static ip addresses are allocated and presented. When clicking the "+" on Services: DHCPv4: Leases the instructions state:
If an IPv4 address is entered, the address must be outside of the pool.
If no IPv4 address is given, one will be dynamically allocated from the pool.
Unfortunately the IP address for a statically assigned device is always blank on the above-mentioned page and on Services: DHCPv4: [LAN]. How can I view the assigned IP address?
Thanks,
Tim
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: Static IP from DHCP Pool
«
Reply #1 on:
July 12, 2018, 09:33:55 pm »
You decide the static address. Really it's only static if the address is set within the device itself. That being the case you will not see it in the dhcp logs. If you wish to assign a fixed address to a client so it always gets the same address, then set the device to use dhcp and let it get an address from the server. Once that is done then you look at the assigned leases and add that device to the static leases, you also give it an ip address that is outside of the dhcp server range. When the device either reboots or the lease renews it will get the address you have assigned it. You can also add it manually by just entering the mac address of the device and ip address into the static leases table.
«
Last Edit: July 12, 2018, 09:35:59 pm by marjohn56
»
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
tfcb
Newbie
Posts: 5
Karma: 0
Re: Static IP from DHCP Pool
«
Reply #2 on:
July 12, 2018, 11:42:43 pm »
Thanks for the detailed response. I was misinterpreting the instruction, "If no IPv4 address is given, one will be dynamically allocated from the pool."
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
Static IP from DHCP Pool