DHCP In a VPC
Last updated
Last updated
DHCP (Dynamic Host Configuration Protocol) is a network protocol that provides configuration information to hosts on a TCP/IP network.
It helps automatically assign important network settings like IP addresses, domain names, and DNS servers to devices (hosts).
When you create a VPC, AWS automatically creates a set of DHCP options and associates them with your VPC.
DHCP options include parameters such as:
Domain name
Domain name server (DNS)
NetBIOS node type (for legacy systems)
You can also configure your own custom DHCP options for the VPC, if needed.
Purpose
Automatically assign network configuration (IP, DNS)
Automatic Configuration
AWS creates default DHCP options for VPC
Customization
You can define your own DHCP options set
A standard protocol used to automatically assign network configuration to devices in a TCP/IP network.
It provides settings like:
Domain name
DNS servers
NetBIOS node type
When you create a VPC, AWS automatically creates a default DHCP options set.
This DHCP options set is associated with the VPC by default.
You can also create your own DHCP options set to customize:
DNS servers
Domain name
Other DHCP options
Purpose of DHCP
Automatically assign IP-related config to devices
Used in AWS for
Setting up DNS, domain names, NetBIOS for instances in a VPC
Default behavior
AWS creates a DHCP options set automatically with every VPC
Customization
You can define your own DHCP options and attach them to a VPC