DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
Cupertino desk3 min

How Do I Install TCP/IP on Windows or Mac?

You usually don’t install TCP/IP separately. Configure DHCP or administrator-supplied IP settings in Windows or macOS, and use Windows reset steps only for connection problems.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

On Windows 10 or 11 and macOS, TCP/IP is built into the operating system—you usually do not install a separate program. Most of the time, “install TCP/IP” means choosing how the computer gets its network settings. Use DHCP for automatic setup when the network supports it; enter manual settings only when your network administrator or ISP has provided them.

First, decide whether you are setting up or repairing a connection

If you are connecting to a network for the first time, configure its IP assignment. DHCP is the usual choice: the router or access point provides the computer’s IP and DNS settings automatically. Microsoft recommends DHCP when the network supports it. If an administrator or ISP gave you specific settings, use those instead; do not guess an IP address, subnet mask or prefix length, gateway, or DNS server. Microsoft’s Windows network settings guide and Apple’s Mac DHCP and manual-address guide describe these options.

As an Amazon Associate I earn from qualifying purchases.

If a connection that used to work has stopped working, that is a repair task, not a reason to begin with an installation command. Use the Windows repair sequence below if applicable.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set TCP/IP options in Windows 10 or 11

  1. Open Settings > Network & internet.
  2. Select the relevant connection: choose the Wi-Fi network (under Manage known networks, if needed) or select Ethernet.
  3. Next to IP assignment, select Edit.
  4. Choose Automatic (DHCP) if the network assigns settings automatically, then save.
  5. For settings supplied by an administrator or ISP, choose Manual, enable the required protocol, and enter the supplied values. For IPv4, these include the IP address, subnet mask, gateway, and preferred or alternate DNS. For IPv6, enter the address, prefix length, gateway, and DNS values provided for that network.

IPv4 and IPv6 have separate controls. Configure only the version and values your network requires. Microsoft documents the settings and the netsh interface ipv4 install command in its Windows network settings guide.

#1 Best Overall
Sale
Pearson Computer Networking, 8E
  • brand: Pearson
  • Computer Networking, 8e

When the Windows IPv4 installation command applies

Microsoft documents an explicit IPv4 installation command for the unusual case where IPv4 itself needs installing. Open Command Prompt as an administrator and run netsh interface ipv4 install. This is not a universal TCP/IP installation command, does not apply to macOS, and is not the routine fix when a connection simply needs automatic DHCP settings.

Set TCP/IP options in macOS

  1. Open Apple menu > System Settings > Network.
  2. Select the network service, then choose Details > TCP/IP.
  3. In the IPv4 menu, choose Using DHCP for automatic assignment, or Manually if your administrator or ISP supplied a specific address and related values.
  4. Use the IPv6 controls if the network supplied IPv6 settings. You can also renew a DHCP lease from the TCP/IP settings when needed.

Apple documents the settings path and options in its guides to using DHCP or a manual IP address on Mac and changing TCP/IP settings on Mac.

Repair a broken Windows connection

For a connection problem, Microsoft’s troubleshooting sequence uses an administrator Command Prompt. Run these commands in order, then check whether the connection works:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. netsh winsock reset
  2. netsh int ip reset
  3. ipconfig /release
  4. ipconfig /renew
  5. ipconfig /flushdns

These commands reset Winsock and the IP stack, release and renew the DHCP lease, and clear the DNS cache. Follow Microsoft’s Ethernet connection troubleshooting guidance for the repair context.

Keep Network reset as a later step

Microsoft describes Network reset as a last resort. It removes installed network adapters and their settings, restarts the computer, and reinstalls the adapters with default settings. A VPN client or Hyper-V virtual switch may need to be installed or configured again afterward. Do not use this step simply to switch between DHCP and manual addressing.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What about Linux?

Linux network configuration depends on the distribution and the network-management setup. The Windows commands and settings paths above should not be treated as Linux instructions. Check the official documentation for your distribution and version before changing IP settings.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.