Chapter 62 DHCP
XGS2220 Series User’s Guide
411
C
HAPTER
62
DHCP
62.1 DHCP Overview
This chapter shows you how to configure the DHCP feature.
DHCP (Dynamic Host Configuration Protocol RFC 2131 and RFC 2132) allows individual computers to
obtain TCP/IP configuration at start-up from a server. You can configure the Switch as a DHCP server or
a DHCP relay agent. When configured as a server, the Switch provides the TCP/IP configuration for the
clients. If you configure the Switch as a relay agent, then the Switch forwards DHCP requests to DHCP
server on your network. If you do not configure the Switch as a DHCP server or relay agent then you must
have a DHCP server in the broadcast domain of the client computers or else the client computers must
be configured manually.
62.1.1 What You Can Do
• Use the
DHCPv4 Relay Status
) to display the relay mode and status.
• Use the
DHCPv4 Option 82 Profile
screen (
) to create DHCPv4 option 82
profiles.
• Use the
DHCPv4 Smart Relay
screen (
) to configure global DHCPv4 relay.
You can also use this screen to apply different DHCP option 82 profile to certain ports on the Switch.
• Use the
DHCPv4 Relay VLAN Setting
screen (
) to configure your DHCPv4
settings based on the VLAN domain of the DHCPv4 clients. You can also use this screen to apply a
different DHCP option 82 profile to certain ports in a VLAN.
• Use the
DHCPv6 Relay
screen (
) to enable and configure DHCPv6 relay.
• Use the
DHCP Server Guard
screen (
) to specify whether ports are trusted or
untrusted ports for DHCP packets.
62.1.2 What You Need to Know
Read on for concepts on DHCP that can help you configure the screens in this chapter.
DHCP Modes
If there is already a DHCP server on your network, then you can configure the Switch as a DHCP relay
agent. When the Switch receives a request from a computer on your network, it contacts the DHCP
server for the necessary IP information, and then relays the assigned information back to the computer.