From: Andrey R. <anr...@ya...> - 2023-11-06 17:31:09
|
Greetings, Buchanan! > Hi Jamie, thank you for responding. I have copied from the terminal 4 > leases from the /var/lib/dhcp/dhcpd.leases file -- the first 2 leases > (159.218.146.157 and 159.218.147.8) were taken from non-contiguous sections > of the lease file and are visible when in Webmin I click on the > 159.218.144.0 network and then click the List leases button. The next 2 > leases (159.218.43.117 and 159.218.42.219) were copied from the same > dhcpd.leases file and are not visible in the Webmin lease listing. Below > that I have copied the appropriate sections from the /etc/dhcp/dhcpd.conf > file. I can not say exactly when this problem made itself known or what > change may have triggered it. Thank you for any direction you can give. It only shows active leases. Expired leases may be left in the file but they are not useful nor used in any way. > lease 159.218.146.157 { > starts 2 2023/06/13 10:56:13; > ends 2 2023/06/13 11:56:13; > cltt 2 2023/06/13 10:56:13; > binding state active; > next binding state free; > rewind binding state free; > hardware ethernet 04:27:28:81:76:ba; > uid "\001\004'(\201v\272"; > set vendor-class-identifier = "MSFT 5.0 XBOX"; > client-hostname "XBOX"; > } > lease 159.218.147.8 { > starts 2 2023/06/13 10:58:30; > ends 2 2023/06/13 11:58:30; > cltt 2 2023/06/13 10:58:30; > binding state active; > next binding state free; > rewind binding state free; > hardware ethernet 00:7c:2d:87:e1:3d; > uid "\001\000|-\207\341="; > client-hostname "Samsung"; > } > lease 159.218.43.117 { > starts 6 2023/04/08 21:58:43; > ends 6 2023/04/29 21:58:43; > tstp 6 2023/04/29 21:58:43; > cltt 4 2023/04/13 20:06:50; > binding state free; > hardware ethernet 50:9a:4c:53:8e:5f; > uid "\001P\232LS\216_"; > set vendor-class-identifier = "MSFT 5.0"; > } > lease 159.218.42.219 { > starts 1 2022/10/03 10:14:07; > ends 1 2022/10/03 16:14:15; > tstp 1 2022/10/03 16:14:15; > cltt 1 2022/10/03 10:14:07; > binding state free; > hardware ethernet 6c:2b:59:d2:22:2c; > uid "\001l+Y\322\","; > } > ========================================== > # #### vlan 42 (WAB) > subnet 159.218.42.0 netmask 255.255.255.0 { > authoritative; > option broadcast-address 159.218.42.255; > option subnet-mask 255.255.255.0; > option routers 159.218.42.254; > range 159.218.42.138 159.218.42.169; > range 159.218.42.199 159.218.42.230; > } > # #### vlan 43 (Business Students) > subnet 159.218.43.0 netmask 255.255.255.0 { > option broadcast-address 159.218.43.255; > option subnet-mask 255.255.255.0; > option routers 159.218.43.254; > max-lease-time 1814400; > default-lease-time 1814400; > range 159.218.43.30 159.218.43.249; > } > # #### vlan 144 (VU Streaming) > subnet 159.218.144.0 netmask 255.255.248.0 { > option broadcast-address 159.218.144.255; > option subnet-mask 255.255.248.0; > option routers 159.218.144.254; > authoritative; > dynamic-bootp-lease-length 3600; > max-lease-time 3600; > default-lease-time 3600; > range 159.218.144.10 159.218.144.246; > range 159.218.145.5 159.218.145.249; > range 159.218.146.5 159.218.146.249; > range 159.218.147.5 159.218.147.249; > range 159.218.148.5 159.218.148.249; > range 159.218.149.5 159.218.149.249; > range 159.218.150.5 159.218.150.249; > range 159.218.151.5 159.218.151.249; > } > On Mon, Jun 12, 2023 at 6:24 PM Jamie Cameron <jca...@we...> wrote: >> Can you send a sample of the dhcpd.leases file that contains the leases >> that aren't showing up? The issue may be that Webmin isn't parsing the file >> properly.. >> >> On 12/Jun/2023 11:05 Buchanan, Ted <tbu...@vi...> wrote .. >> >> I'm running Oracle Enterprise Linux 8.8 as a DHCP server with ISC DHCP >> version 4.2.6-46 (from the Oracle distribution). I'm running webmin-2.021 >> to help with the administration of this server. Everything used to >> work/display just fine but suddenly, when trying to list the dynamic leases >> within a subnet, I get the message, "*The DHCPd lease file >> /var/lib/dhcpd/dhcpd.leases does not contain any leases that are active at >> the current time." *If I click on the List all active and expired leases >> button, I get the message "*The DHCPd lease file >> /var/lib/dhcpd/dhcpd.leases does not contain any leases."* Clearly, when >> I use a text editor on the /var/lib/dhcpd/dhcpd.leases file, all the leases >> exist, new clients receive new IP addresses and existing ones are able to >> renew successfully. The leases that _DO_ show up are from wireless subnets >> or subnets not directly connected to our campus. I'm not the only one who >> administers this server/service so the Webmin module is really helpful and >> currently missed. Any suggestions for troubleshooting and correcting this >> issue. Everything in the /etc/dhcp/dhcpd.conf file agrees with the current >> operation. Thank you. >> >> -- >> Ted Buchanan >> Senior Systems Administrator - Vincennes University >> tbu...@vi... >> <https://us01.z.antigena.com/l/dqUP8cOmul_TMVZ-c9CL53KECB-ktkSzU6E7GaQmZ7q1_NHLLv4ZTeV8IsnrHrzMnDEEC0h9tHVEduNNeXBWbIHDyhRcdRtElIMmRzoFYDIFNp_EwMISYrohLRiFA3HOIGN8Hi6Hwwae~OuP51J5kKF3BmOVOoieCNiSt~j21pCG~GqPQm> >> >> >> >> - >> Forwarded by the Webmin mailing list at >> web...@li... >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> -- With best regards, Andrey Repin Tuesday, June 13, 2023 18:40:50 Sorry for my terrible english... |