Chapter 5
Setup and Configuration
Section 5.15.7
Managing Subnets
Subnets control settings for each subnet that DHCP serves. A subnet can include a range of IP addresses to
give clients. Subnets contain groups, pools and hosts. Only one subnet can contain dynamic IP address ranges
without any access restrictions on any given physical port, since DHCP doesn't know which subnet a client
should belong to when the request is received.
The following sections describe how to configure and manage subnets on a DHCP server:
•
Section 5.15.7.1, "Viewing a List of Subnets"
•
Section 5.15.7.2, "Adding a Subnet"
•
Section 5.15.7.3, "Configuring Subnet Options"
•
Section 5.15.7.4, "Configuring a Subnet Client"
•
Section 5.15.7.5, "Deleting a Subnet"
Section 5.15.7.1
Viewing a List of Subnets
To view a list of subnets, type:
show running-config services dhcpserver subnet
If subnets have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config services dhcpserver subnet network-ip | tab
NAME
NETWORK IP
-----------------------
SUB1
192.168.0.0/27
SUB2
192.168.0.32/27
!
!
If no subnets have been configured, add subnets as needed. For more information, refer to
"Adding a
Subnet".
Section 5.15.7.2
Adding a Subnet
To add a subnet to the DHCP server, do the following:
NOTE
Make sure a shared network is configured before adding a new subnet. For information about
configuring a shared network, refer to
1.
Make sure the CLI is in Configuration mode.
2.
Add the subnet by typing:
services dhcpserver subnet name
Where:
244
Section 5.15.6.2, "Adding a Shared
RUGGEDCOM ROX II
CLI User Guide
Section 5.15.7.2,
Network".
Managing Subnets