---
title: Change TCP/IP settings – Microsoft Support
description: CP/IP defines how your PC communicates with other PCs. To make it easier to manage TCP/IP settings, we recommend using automated Dynamic Host Configuration Protocol (DHCP). DHCP automatically assigns Internet Protocol (IP) addresses to the computers on your network if…
url: "https://cleversupport.ca/docs/windows-11/change-tcp-ip-settings-microsoft-support/"
updated: "2024-06-17"
category: Windows / Windows 11
---

# Change TCP/IP settings – Microsoft Support

CP/IP defines how your PC communicates with other PCs.

To make it easier to manage TCP/IP settings, we recommend using automated Dynamic Host Configuration Protocol (DHCP). DHCP automatically assigns Internet Protocol (IP) addresses to the computers on your network if your network supports it. If you use DHCP, then you don't have to change your TCP/IP settings if you move your PC to another location, and DHCP doesn't require you to manually configure TCP/IP settings, such as Domain Name System (DNS) and Windows Internet Name Service (WINS).

[Windows 11](javascript:)

## To enable DHCP or change other TCP/IP settings

1. Select **Start**, then type **settings**. Select **Settings** > **Network & internet**.
2. Do one of the following:
   - For a Wi-Fi network, select **Wi-Fi** > **Manage known networks**. Choose the network for which you want to change the settings.
   - For an Ethernet network, select **Ethernet**, then select the Ethernet network you’re connected to.
3. Next to **IP assignment**, select **Edit**.
4. Under **Edit network IP settings **or **Edit IP settings**, select **Automatic (DHCP)** or **Manual**.
   - To specify IPv4 settings manually
     1. Under **Edit network IP settings **or **Edit IP settings**, choose **Manual**, then turn on **IPv4**.
     2. To specify an IP address, in the **IP address, Subnet mask**, and **Gateway** boxes, type the IP address settings.
     3. To specify a DNS server address, in the **Preferred DNS** and **Alternate DNS** boxes, type the addresses of the primary and secondary DNS servers.
     4. To specify if you want to use an encrypted (DNS over HTTPS) or unencrypted connection to the DNS server or servers you specify, for **DNS over HTTPS**, choose the setting you want:
        - **Off**: All DNS queries will be sent to the DNS server unencrypted in plaintext over HTTP.
        - **On (automatic template)**: DNS queries will be encrypted and sent to the DNS server over HTTPS. DNS queries will use the default settings for the automatic template or try to discover them automatically.
        - **On (manual template)**: DNS queries will be encrypted and sent to the DNS server over HTTPS. They’ll use the settings you enter in the **DNS over HTTPS template** box.
     5. If you use DNS over HTTPS (automatic or manual template), turn **Fallback to plaintext** on or off:
        - When it’s turned on, a DNS query will be sent unencrypted if it can’t be sent over HTTPS.
        - When it’s turned off, a DNS query won’t be sent if it can’t be sent over HTTPS.
   - To specify IPv6 settings manually
     1. Under **Edit network IP settings** or **Edit IP settings**, choose **Manual**, then turn on **IPv6**.
     2. To specify an IP address, in the **IP address**,** Subnet prefix length**, and **Gateway** boxes, type the IP address settings.
     3. To specify a DNS server address, in the **Preferred DNS** and **Alternate DNS** boxes, type the addresses of the primary and secondary DNS servers.
     4. To specify if you want to use an encrypted (DNS over HTTPS) or unencrypted connection to the DNS server or servers you specify, for **DNS over HTTPS**, choose the setting you want:
        - **Off**: All DNS queries will be sent to the DNS server unencrypted in plaintext over HTTP.
        - **On (automatic template)**: DNS queries will be encrypted and sent to the DNS server over HTTPS. DNS queries will use the default settings for the automatic template or try to discover them automatically.
        - **On (manual template)**: DNS queries will be encrypted and sent to the DNS server over HTTPS. They’ll use the settings you enter in the **DNS over HTTPS template** box.
     5. If you use DNS over HTTPS (automatic or manual template), turn **Fallback to plaintext** on or off:
        - When it’s turned on, a DNS query will be sent unencrypted if it can’t be sent over HTTPS.
        - When it’s turned off, a DNS query won’t be sent if it can’t be sent over HTTPS.
   - When you select **Automatic (DHCP)**, the IP address settings and DNS server address setting are set automatically by your router or other access point (recommended).
   - When you select **Manual**, you can manually set your IP address settings and DNS server address.
5. When you’re done, select **Save**.

**Note: **To install IPv4, run Command Prompt as an administrator, type **netsh interface ipv4 install**, and then press **Enter**.
