Navigate to the Dhcp server level in the
configuration hierarchy.
|
- In the J-Web interface, select Configuration>View
and Edit>Edit Configuration.
- Next to System, click Configure.
- Next to Services, make sure the check box is selected,
and click Configure.
- Next to Dhcp, click Configure.
|
From the [edit] hierarchy level, enter
edit system services dhcp
|
Define the IP address pool.
|
- Next to Pool, click Add new
entry.
- In the Subnet address box, type 192.168.2.0/24.
- Next to Address range, select the check box.
- Next to Address range, click Configure.
- In the High box, type 192.168.2.254.
- In the Low box, type 192.168.2.2.
- Click OK.
|
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
|
Define the default and maximum lease times, in seconds.
|
- From the Default lease time list, select Enter Specific Value.
- In the Length box, type 1209600.
- From the Maximum lease time list, select Enter Specific Value.
- Next to Maximum lease time, type 2419200.
|
Set the default and maximum lease times:
set pool 192.168.2.0/24 default-lease-time 1209600
maximum-lease-time 2419200
|
Define the domain search suffixes to be used by the clients.
|
- Next to Domain search, click Add new entry.
- In the Suffix box, type mycompany.net.
- Click OK.
- Next to Domain search, click Add
new entry.
- In the Suffix box, type mylab.net.
- Click OK.
|
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
|
Define a DNS server.
|
- Next to Name server, click Add new entry.
- In the Address box, type 192.168.10.2.
- Click OK.
|
Set the DNS server IP address:
set pool 192.168.2.0/24 name-server 192.168.10.2
|
Define DHCP option 32—the router solicitation address
option.
|
- Next to Option, click Add new
entry.
- In the Option identifier code box, type 32.
- From the Option type choice list, select Ip address.
- In the Ip address box, type 192.168.2.33.
- Click OK twice.
|
Set the router solicitation IP address:
set pool 192.168.2.0/24 option 32 ip-address 192.168.2.33
|
Assign a static IP address of 192.168.2.50 to MAC address 01:03:05:07:09:0B.
|
- Next to Static binding, click Add new entry.
- In the Mac address box, type 01:03:05:07:09:0B.
- Next to Fixed address, click Add
new entry.
- In the Address box, type 192.168.2.50.
- Click OK until you return
to the Configuration page.
|
Associate a fixed IP address with the MAC address of the client:
set static-binding 01:03:05:07:09:0B fixed-address 192.168.2.50
|