I have setup isc-dhcp-server on my Raspberry Pi as a secondary DHCP server, as the one built in to my Comcast XB7 router has bugs with large numbers of devices.
I am able to manage DHCP reservations by hand in /etc/dhcp/dhcpd.conf . This works, but is not particularly user friendly.
I installed webmin today in order to have a GUI to manage the config file instead. It does work, but I am wondering if I'm missing something. I have a couple questions .
The "Hosts and hosts groups" view doesn't display enough details. I see one icon for each group, and one icon for each host. The IP address or MAC address is not displayed for each host. Only the name provided in the comment in the host section of the config file is shown. The list is not shown in table format either, just a bunch of icons. The options to group by assignment / file structure / name /hardware address / ip address seem to affect the sort order, but don't change any of the information displayed.
Is there a way to have the information for the hosts shown in table format ? I'm mostly looking for the following columns :
MAC address , IP address, Hostname, Comment (description), Manufacturer (based on MAC address)
This would be very similar to what's being shown under the "DHCP leases" screen.
My goal for this is to see how many hosts I have set reservations for, being able to see if I have "holes" in my IP reservation range, and being able to easily reassign IPs for hosts.
The process to set a DHCP IP reservation seems like it could use some streamlining. This is only my first day of using webmin, so bear with me. As far as I can tell, it involves the following steps :
a. clicking on "list active leases"
b. highlighting a MAC address, and copying it to the clipboard
c. going back to the DHCP server view
d. clicking "add a new host"
e. pasting the MAC address under "hardware address"
f. typing the IP for the reservation under the "Fixed IP address" field
g. typing a host description
h. clicking "Create"
That seems like a lot of steps to set a reservation. Is there a quicker way to do this in webmin ?
I was thinking of something along the lines of
a. clicking on "list active leases"
b. check the mark for one of the leases
c. click a (currently missing) add new host button
d. the "add new host" screens opens, prefilled with the MAC address and current leased IP address
e. typing a host description
f. typing the IP for the reservation under the "Fixed IP address" field
g. clicking "create"
I realize that's only one step less, but it would be a lot more intuitive this way
is there a way to see devices that don't currently have leases, but have previously negotiated DHCP ?
This would be useful for new devices, VMs, or devices that connect only rarely. For example, my AO Smith water softener goes online when it boots up, and then immediately goes offline. I would like all the MAC addresses from devices that requested DHCP in the past to show up somewhere, with the ability to "forget" (delete) some. This could in theory be obtained from the output of command "dhcp-lease-list -all". It would admittedly take a while to eliminate all the duplicate/renewed leases. This doesn't need to be run/parsed often, though. The main purpose is not to miss new devices, or anything foreign that might suspicious.
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have setup isc-dhcp-server on my Raspberry Pi as a secondary DHCP server, as the one built in to my Comcast XB7 router has bugs with large numbers of devices.
I am able to manage DHCP reservations by hand in /etc/dhcp/dhcpd.conf . This works, but is not particularly user friendly.
I installed webmin today in order to have a GUI to manage the config file instead. It does work, but I am wondering if I'm missing something. I have a couple questions .
The "Hosts and hosts groups" view doesn't display enough details. I see one icon for each group, and one icon for each host. The IP address or MAC address is not displayed for each host. Only the name provided in the comment in the host section of the config file is shown. The list is not shown in table format either, just a bunch of icons. The options to group by assignment / file structure / name /hardware address / ip address seem to affect the sort order, but don't change any of the information displayed.
Is there a way to have the information for the hosts shown in table format ? I'm mostly looking for the following columns :
MAC address , IP address, Hostname, Comment (description), Manufacturer (based on MAC address)
This would be very similar to what's being shown under the "DHCP leases" screen.
My goal for this is to see how many hosts I have set reservations for, being able to see if I have "holes" in my IP reservation range, and being able to easily reassign IPs for hosts.
The process to set a DHCP IP reservation seems like it could use some streamlining. This is only my first day of using webmin, so bear with me. As far as I can tell, it involves the following steps :
a. clicking on "list active leases"
b. highlighting a MAC address, and copying it to the clipboard
c. going back to the DHCP server view
d. clicking "add a new host"
e. pasting the MAC address under "hardware address"
f. typing the IP for the reservation under the "Fixed IP address" field
g. typing a host description
h. clicking "Create"
That seems like a lot of steps to set a reservation. Is there a quicker way to do this in webmin ?
I was thinking of something along the lines of
a. clicking on "list active leases"
b. check the mark for one of the leases
c. click a (currently missing) add new host button
d. the "add new host" screens opens, prefilled with the MAC address and current leased IP address
e. typing a host description
f. typing the IP for the reservation under the "Fixed IP address" field
g. clicking "create"
I realize that's only one step less, but it would be a lot more intuitive this way
is there a way to see devices that don't currently have leases, but have previously negotiated DHCP ?
This would be useful for new devices, VMs, or devices that connect only rarely. For example, my AO Smith water softener goes online when it boots up, and then immediately goes offline. I would like all the MAC addresses from devices that requested DHCP in the past to show up somewhere, with the ability to "forget" (delete) some. This could in theory be obtained from the output of command "dhcp-lease-list -all". It would admittedly take a while to eliminate all the duplicate/renewed leases. This doesn't need to be run/parsed often, though. The main purpose is not to miss new devices, or anything foreign that might suspicious.
Thanks in advance.