Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Changing Hostname for dynamic ip address devices
« previous
next »
Print
Pages: [
1
]
Author
Topic: Changing Hostname for dynamic ip address devices (Read 109 times)
bbergen
Newbie
Posts: 3
Karma: 0
Changing Hostname for dynamic ip address devices
«
on:
October 30, 2024, 03:16:06 pm »
New to OPNsense and loving it. Created static ip addresses for my Proxmox LXCs, NAS drives and printers and gave them "friendly" Hostnames.
Is there a way to do that with dynamic ip address devices that show up in Services>ISC DHCPv4>Leases?
Changing the Hostname on the actual devices is not possible on some of my devices.
I tried setting a static reservation with MAC address/new Hostname and leaving the IP address blank hoping that the dynamic ip address would populate the lease entry but the IP address remains blank and I end up with two entries for that device, one with the dynamic ip address/original Hostname and the one I created.
Even just adding a Description to the dynamic ip address entries would be helpful.
Any help or direction would be greatly appreciated.
Logged
viragomann
Full Member
Posts: 186
Karma: 7
Re: Changing Hostname for dynamic ip address devices
«
Reply #1 on:
October 30, 2024, 03:44:50 pm »
Presuming you're using Unbound for DNS, did you enable "Register DHCP Static Mappings" in its geneural settings?
I don't know, however, it this even works with a blank IP reservation, but it does, if you state an IP in ISC DHCP.
Logged
bbergen
Newbie
Posts: 3
Karma: 0
Re: Changing Hostname for dynamic ip address devices
«
Reply #2 on:
October 30, 2024, 04:02:22 pm »
Yes, I do have "Register DHCP Static Mappings" checked (and Applied).
«
Last Edit: October 30, 2024, 05:00:32 pm by bbergen
»
Logged
bbergen
Newbie
Posts: 3
Karma: 0
Re: Changing Hostname for dynamic ip address devices
«
Reply #3 on:
October 30, 2024, 04:03:11 pm »
Quote from: bbergen on October 30, 2024, 04:02:22 pm
Yes, I do have "Register DHCP Static Mappings" checked (and Applied).
And am using Unbound
«
Last Edit: October 30, 2024, 05:00:17 pm by bbergen
»
Logged
dseven
Sr. Member
Posts: 301
Karma: 33
Re: Changing Hostname for dynamic ip address devices
«
Reply #4 on:
October 30, 2024, 06:11:07 pm »
Probably most of us use reservations with assigned IP addresses. The only reasons I can think of not to are that it takes a little bit more effort to manage the assignment manually, or maybe shortage of IP space? I'd assume that devices you want to access by name would be on a lot of the time, so there's probably not much saving in IP space by using a dynamic address pool for them?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Changing Hostname for dynamic ip address devices