I wouldn’t normally recommend using a gateway as a DHCP server (most environments don’t need to), but it can be useful in a smaller environment or lab scenario. Getting R77.20 GAiA setup to provide addresses is a whole other topic. After setting up DHCP you will want to see what addresses have actually been handed out.
In the 1100 web interface it is pretty straightforward:
On “real” GAiA gateways you need to enter ‘expert’ mode. From there run:
cat /var/lib/dhcpd/dhcpd.leases
If your Check Point device has actually handed out addresses, you will see something like the following:
[Expert@firewall:0]# cat /var/lib/dhcpd/dhcpd.leases
# All times in this file are in UTC (GMT), not your local timezone. This is
# not a bug, so please don’t ask about it. There is no portable way to
# store leases in the local timezone, so please don’t request this as a
# feature. If this is inconvenient or confusing to you, we sincerely
# apologize. Seriously, though – don’t ask.
# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-V3.0.5-RedHat
lease 192.168.11.251 {
starts 1 2015/04/13 08:58:41;
ends 1 2015/04/13 20:58:41;
tstp 1 2015/04/13 20:58:41;
binding state free;
hardware ethernet 10:0b:a9:0c:02:24;
uid “\001\020\013\251\014\002$”;
}
lease 192.168.11.250 {
starts 1 2015/04/13 15:21:57;
ends 2 2015/04/14 03:21:57;
tstp 2 2015/04/14 03:21:57;
binding state free;
hardware ethernet 00:08:54:e8:e4:84;
uid “\001\000\010T\350\344\204”;
}
lease 192.168.11.254 {
starts 2 2015/04/14 00:09:39;
ends 2 2015/04/14 12:09:39;
binding state active;
next binding state free;
hardware ethernet 00:1c:7f:23:02:10;
client-hostname “Home-1100”;
}
lease 192.168.11.253 {
starts 2 2015/04/14 04:04:59;
ends 2 2015/04/14 16:04:59;
binding state active;
next binding state free;
hardware ethernet 68:5d:43:6d:5c:13;
uid “\001h]Cm\\\023”;
client-hostname “OneTon-PC”;
}
lease 192.168.11.249 {
starts 2 2015/04/14 05:25:40;
ends 2 2015/04/14 17:25:40;
binding state active;
next binding state free;
hardware ethernet d8:50:e6:80:98:e2;
uid “\001\330P\346\200\230\342”;
client-hostname “android-506a69b37b34b0ed”;
}
lease 192.168.11.252 {
starts 2 2015/04/14 01:53:20;
ends 3 2015/04/15 01:53:20;
binding state active;
next binding state free;
hardware ethernet e4:98:d6:8c:f5:37;
uid “\001\344\230\326\214\3657”;
client-hostname “Admins-iPad”;
}