Juniper J-Series Administration Manual page 96

Juniper networks router administration guide
Hide thumbs Also See for J-Series:
Table of Contents

Advertisement

J-series
Services Router Administration Guide
Table 39: Configuring the DHCP Server
Task
Navigate to the Dhcp
server level in the
configuration hierarchy.
Define the IP address pool.
Define the default and
maximum lease times, in
seconds.
Define the domain search
suffixes to be used by the
clients.
Exclude addresses from
the IP address pool.
74
Configuring the DHCP Server with a Configuration Editor
J-Web Configuration Editor
1.
In the J-Web interface, select
Configuration>View and Edit>Edit
Configuration.
2.
Next to System, click Configure or Edit.
3.
Next to Services, make sure the check box
is selected, and click Configure or Edit.
4.
Next to Dhcp, click Configure or Edit.
5.
In the Next server box, type
1.
Next to Pool, click Add new entry.
2.
In the Subnet address box, type
.
192.168.2.0/24
3.
Next to Address range, select the check
box.
4.
Next to Address range, click Configure.
5.
In the High box, type
192.168.2.254
6.
In the Low box, type
192.168.2.2
7.
Click OK.
1.
From the Default lease time list, select
Enter Specific Value.
2.
In the Length box, type
1209600
3.
From the Maximum lease time list, select
Enter Specific Value.
4.
Next to Maximum lease time, type
2419200
.
1.
Next to Domain search, click Add new
entry.
2.
In the Suffix box, type
mycompany.net
3.
Click OK.
4.
Next to Domain search, click Add new
entry.
5.
In the Suffix box, type
mylab.net
6.
Click OK.
1.
Next to Exclude address, click Add new
entry.
2.
In the Address box, type
3.
Click OK.
CLI Configuration Editor
From the
[edit]
edit system services dhcp
edit system services dhcp next-server
192.168.2.5
.
192.168.2.5
Set the IP address pool range:
set pool 192.168.2.0/24 address-range
low 192.168.2.2 high 192.168.2.254
.
.
Set the default and maximum lease times:
set pool 192.168.2.0/24
.
default-lease-time 1209600
maximum-lease-time 2419200
Set the domain search suffixes:
set pool 192.168.2.0/24
.
domain-search mycompany.net
set pool 192.168.2.0/24
domain-search mylab.net
.
Set the address to exclude from the IP address
pool:
.
192.168.2.33
set pool 192.168.2.0/24
exclude-address 192.168.2.33
hierarchy level, enter

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents