Skip to main content

How to Configure DHCP on a Computer?

DHCP (Dynamic Host Configuration Protocol) is used to automatically assign IP addresses, allowing devices to connect to a network with minimal configuration. The following sections explain how to enable DHCP on Windows and macOS systems.

1. Configure DHCP on Windows

  1. Open the Network Connections Panel
  • Press Win + R, type ncpa.cpl, and click OK.
  1. Select the Network Adapter
  • Right-click the target network connection (such as Ethernet or Wi-Fi) and select Properties to configure IPv4.
  • Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
  • Select Obtain an IP address automatically and Obtain DNS server address automatically.
  • Click OK.
  1. Configure IPv6 (Optional)
  • Select Internet Protocol Version 6 (TCP/IPv6) and click Properties.
  • Select Obtain an IPv6 address automatically and Obtain DNS server address automatically.
  • Click OK.

2. Configure DHCP on macOS

  1. Open Network Settings
  • Click the Apple menu → System PreferencesNetwork.
  • Select the active connection (such as Wi-Fi or Ethernet) from the left panel and open the advanced settings.
  • Click Advanced → select the TCP/IP tab.
  • In the Configure IPv4 drop-down menu, select Using DHCP, then confirm and save the settings.
  1. Apply the Settings
  • Return to the Network settings window and click Apply to ensure the changes take effect.
Note

After completing the above steps, your computer will automatically obtain IP address and DNS server information through DHCP, simplifying network configuration.