DHCP Server Settings
Dell EMC Networking N2000, N2100-ON, N3000, N3100-ON, and
N4000 Series Switches
‘This chapter deseribes how to configure the switch to dynamically assign
network information to hosts by using the Dynamic Host Configuration
Protocol (DHCP).
EA _ NOTE: The DHCP servis nt available on the Dell EMC Networking N1S00
Seri switches
‘The topies covered in this chapter include:
+ DHCP Overview
+ Default DHCP Server Vales
+ Default DHCP Server Vahues
+ Configuring the DHCP Server (Web)
+ Configuring the DHCP Server (CLI)
+ DHCP Server Configuration Examples
DHCP Overview
DHCP is generally used between clients and servers for the purpose of
assigning IP addresses, gateways, and other network settings such as DNS and
(TP server information
DHCP Snooping is a security feature that monitors DHCP messages between
DHCP client and DHCP server. It filters harmful DHCP messages and
builds a bindings database of (MAC address, IP address, VLAN ID, port)
tuples that are specified as authorized. DHCP snooping can be enabled
globally and on specifie VLANs. For information about DHCP Snooping, see
‘Snooping and Inspecting Traffic’ on page 1001
DHCP Server Settings | 1149Dell EMC Networking N-Series switches support a DHCP client for
obtaining the switch address from the network, an [Pvt DHCP server for
serving [Pv addresses to DHCP clients in the network, layer-2 and layer-3
DHCP relay for relaying IPv4 address assignments from network-based
DHCP servers to clients in the same or different subnets, and DHCP.
snooping for protecting the switch and DHCP clients from certain security
risks
How Does DHCP Work?
When a host connects to the network, the host’s DHCP client broadeasts
message requesting information from any DHCP server that receives the
broadcast. One or more DHCP servers respond to the request. The response
includes the requested information, such as the IP address, subnet mask, and
default gateway IP address. The client accepts an offer from one of the
servers, and the server sends an acknowledgment to the client to confirm the
transaction,
Figure 31-1, Message Exchange Botweon DHCP Client and Server
= oHCPOFFER (unicast
DHGPREQUEST (broadcast) —e
DHCP Client DHCP Server
{Dell EMC Netwarking
N-Series switch}
‘The DHCP server maintains one or more set of IP addresses the and other
configuration information available, by request, to DHCP clients, Fach set of
information is known as an address pool.
‘After client leases an [P address from the DHCP server, the server adds an.
entry to its database, The entry is called a binding
1150 | DHCP Server Settings‘What are DHCP Options?
DHCP options are collections of data with type codes that indicate how the
“options should be used. Options ean specify information that is required for
the DHCP protocol, IP stack configuration parameters for the client,
information allowing the client to rendezvous with DHCP servers, and so on.
When a client broadcasts a request for information, the request includes the
‘option codes that correspond to the information the client wants the DHCP
server to supply. The Web pages and CLI commands to configure DHCP
seaver settings include many predefined options for the information that is
‘most commonly requested by DHCP clients. For example, DHCP client
discover requests typically include options for the IP address (option 50),
subnet mask (option 1), default gateway (option 3), and DNS server (option
6). These options are predefined.
For options that are not predefined, the option code can be entered and the
‘data type can be specified, along with the data that the switch should include
in DHCP offers, RFC2132 specifies many of the DHCP options. Additional
‘options are deseribed in later RECs,
‘What Additional DHCP Features Does the Switch Support?
‘The switch software includes a DHCP client that can request network
information from a DHCP server on the network during the initial system
configuration process. For information about enabling the DHCP client, see
"Setting the IP Address and Other Basic Network Information’ on page 203
If the switeh is functioning as a layer-3 device, the layer-3 DHCP Relay Agent
(IP Helper) can relay DHCP messages between DHCP clients and DHCP
servers that are located in different IP subnets.
‘The DHCP 1.2 relay feature permits 13 relay agent functionality in layer-2
switched networks. The switch supports [2 DHCP relay configuration on
individual ports, link aggregation groups (ACs) and VLANs. For information|
about layer-2 and layer-3 DHCP Relay, see "Layer-2 and Layer-3 Relay
Features” on page 1215.
‘Additionally, the switch may be configured to perform DHCP validation as
protection against spoofed DHCP Release messages. For further information,
sce Section 34, "Layer-2 and Layer-3 Relay Features" on page 1215
DHCP Server Settings | 1151