Verify the configuration of a DHCP server.
From the J-Web interface, select Configuration>View and Edit>View Configuration Text. Alternatively, from configuration mode in the CLI, enter the show system services dhcp command from the top level.
You can also view the IP address pool from the CLI in operational mode by entering the show system services dhcp pool command.
- [edit]
- user@host# show system services dhcp
- pool 192.168.2.0/24 {
- address-range low 192.168.2.2 high 192.168.2.254;
-
- exclude-address {
- 192.168.2.33;
- }
- maximum-lease-time 2419200;
- default-lease-time 1209600;
-
- name-server {
- 192.168.10.2;
- }
-
- domain-search {
- mycompany.net;
- mylab.net;
- }
- option 16 ip-address 192.168.2.33;
- }
- static-binding 01.03.05.07.09.0b {
-
- fixed-address {
- 192.168.2.50;
- }
- }
Verify that the output shows the intended configuration of the DHCP server.