Add description to DHCP Leases???
-
@amarcino thanks for the response but I was hoping i could add a description without reserving a specific IP to the device
When i click the + sign for the static reservation i get the following screen
I mean, if i do the static mapping route, i can manually fill the description field just as i wanted but, what would happen if i leave the "IP Address" field empty? will the device keep leasing and automatically renewing an IP from the DHCP server?
Or, am i forced to assign a specific IP to this device if i want to be able to add a description to it?
Also, what would happen if i change the hostname to something different than what the internal network setting of the device has? for example, my printer's internal network settings has a hostname like "HP inkjet XXX". If i change the hostname in pfsense to something like "printer" what would happen?
-
@lrossi said in Add description to DHCP Leases???:
what would happen if i leave the "IP Address" field empty?
This :
!?!
Did you try it ?
-
@gertjan, thanks for your response, I completely missed that reference. I guess I stopped reading after the first line.
Anyway, to answer your question, I haven’t tried it yet.
My network environment includes not only residential appliances but also supports 2 businesses and, the most demanding of all, a 4 year old that devours online content. What this means is that I cannot just experiment with settings without knowing the outcome and hope for the best.
Any idea on what would happen if I change the hostnames to something different than what the setting of the devices themselves have?
-
@lrossi said in Add description to DHCP Leases???:
if I change the hostnames to something different than what the setting of the devices themselves have?
That's what we all do ^^
Instead of using what the device is proposing, something like "HP4785HJYURDF-HJ" it's now know to the network as "Dave-PC-first-floor".
-
Why are you hiding the MAC address? They're only relevant on the local LAN.
-
So, i finally got a chance to give the static mapping a try. I used the OBI1022 as a test subject, added a description for it and left all other fields empty. Clicked save and apply changes.
(I even covered the MAC address to aggravate some people in this forum )But when i went to the DHCP leases list i noticed that PFsense did not add the description to the OBI1022 lease. Instead, it created a new line item that had only the information that i indicated on the static mapping settings. This duplicated the OBI1022 in the DHCP list which is not the expected or desired result.
Does anybody know how to add a description to an item in the DHCP lease without duplicating such item? -
@lrossi said in Add description to DHCP Leases???:
Does anybody know how to add a description to an item in the DHCP lease without duplicating such item?
You can add a description only to static leases!
-
@fireodo thank you so much for the straight forward response.
-
@lrossi said in Add description to DHCP Leases???:
@fireodo thank you so much for the straight forward response.
You're welcome - hope it answers you question.
-
Because it's an
this info :
is random because, by default, this option is set :
so the MAC is a random string.
Setting up a static lease needs a static MAC ....
@lrossi said in Add description to DHCP Leases???:
covered the MAC address to aggravate some people in this forum
so you're included ;)
-
@gertjan said in Add description to DHCP Leases???:
so the MAC is a random string.
In my environment i have only older android and the mac is from hardware! Thanks for enlightenment!