Thanks gents, I have my server running now, everything locally on one machine.
Server name: dhcp01
- ISC DHCP
- foreman
- foreman-proxy
Successfully reads dhcpd.conf and dhcpd.leases - I have imported all subnets, so that idicates it can read dhcpd.conf. Im also getting no erros in the log about the lease file permissions.
The problem is I am getting NO lease info, I have installed foreman_dhcp_browser. The DHCP button is there in the Subnet sections. Just zero records are populated. I can’t work out why no records are being read.
Am I correct in assuming the smart-proxy + foreman_dhcp_browser should read an existing lease file and populate in the subnets?
These are my permissions:
[root@dhcp01v-bj settings.d]# ls -la /var/lib/dhcpd
total 44
drwxr-xr-x. 2 dhcpd dhcpd 68 Jan 23 21:33 .
drwxr-xr-x. 60 root root 4096 Jan 23 19:59 …
-rwxr-xr-x. 1 dhcpd dhcpd 0 Aug 4 14:07 dhcpd6.leases
-rw-r–r-x. 1 dhcpd dhcpd 13923 Jan 23 22:01 dhcpd.leases
-rwxr-xr-x. 1 dhcpd dhcpd 22205 Jan 23 21:33 dhcpd.leases~
[root@dhcp01v-bj settings.d]# ls -la /var/lib | grep dhcp
drwxr-xr-x. 2 dhcpd dhcpd 68 Jan 23 21:33 dhcpd
Thanks so much, just one more step to go!
Ollie