[
    {
        "role": "user",
        "content": "when%20I%20am%20connected%20to%20my%20home%20network%2C%20i%20want%20a%20static%20ip%20address.%20how%20do%20I%20do%20this%20on%20windows%2011%3F"
    },
    {
        "role": "assistant",
        "content": "Here\u2019s how to assign a **static IP address** on Windows 11 when you're connected to your home network. You can do it through the Settings app, Control Panel, Command Prompt, or PowerShell. I\u2019ll cover all the options\u2014pick what works best for you.\n\n---\n\n## \u2699\ufe0f Prep Steps\n\nBefore you begin, gather this info (you\u2019ll need them):\n\n- Your network\u2019s **default gateway** (typically your router\u2019s IP, like `192.168.1.1`)  \n- Your **subnet mask** (often `255.255.255.0`)  \n- A suitable **static IP address** within your network, but *outside* the router\u2019s DHCP range (so you don\u2019t conflict with other devices)  \n- DNS server addresses (you can use your router\u2019s address, your ISP\u2019s DNS, or public ones like Google\u2019s `8.8.8.8`)  \n\nTo find details about your current network:  \n```bash\nipconfig /all\n```  \nThis shows your current IP, gateway, subnet mask, etc. ([pureinfotech.com](https://pureinfotech.com/set-static-ip-address-windows-11/?utm_source=openai))\n\n---\n\n## \ud83d\udee0 Methods\n\nHere are four methods. Use whichever you feel comfortable with.\n\n---\n\n### Method 1: Using the Settings App (Windows 11)\n\n1. Open Settings (`Win + I`) \u2192 **Network & Internet**.  \n2. Click your connection type: **Wi-Fi** or **Ethernet** depending on your connection. ([support.sasktel.com](https://support.sasktel.com/app/answers/detail/a_id/26465/~/setting-up-static-ip-in-windows-10-and-11?utm_source=openai))  \n3. Click on your active network.  \n4. Scroll down to **IP Assignment**, click **Edit**. ([support.sasktel.com](https://support.sasktel.com/app/answers/detail/a_id/26465/~/setting-up-static-ip-in-windows-10-and-11?utm_source=openai))  \n5. Change from **Automatic (DHCP)** to **Manual**. ([support.sasktel.com](https://support.sasktel.com/app/answers/detail/a_id/26465/~/setting-up-static-ip-in-windows-10-and-11?utm_source=openai))  \n6. Toggle **IPv4** to On, then enter:  \n   - IP address  \n   - Subnet prefix length (if subnet mask is `255.255.255.0`, the prefix length is `24`)  \n   - Default gateway  \n   - Preferred and alternate DNS servers ([pureinfotech.com](https://pureinfotech.com/set-static-ip-address-windows-11/?utm_source=openai))  \n7. Click **Save**. Your system should now be using the static IP you assigned. ([techbloat.com](https://www.techbloat.com/how-to-set-a-static-ip-in-windows-11-a-step-by-step-guide-2.html?utm_source=openai))\n\n---\n\n### Method 2: Using Control Panel (Classic Adapter-Properties Way)\n\n1. Right-click the **Network icon** in the taskbar \u2192 **Network & Internet settings** \u2192 **Advanced network settings** \u2192 **More network adapter options**. ([learn.microsoft.com](https://learn.microsoft.com/en-us/answers/questions/4134585/how-to-set-up-a-ip-%28-ex-192-168-168-2%29-mobile-hots?utm_source=openai))  \n2. In the **Network Connections** window, right-click your active adapter (Wi-Fi or Ethernet) \u2192 **Properties**.  \n3. Scroll and double-click **Internet Protocol Version 4 (TCP/IPv4)**.  \n4. Select **Use the following IP address**, enter:\n   - IP address (static one you picked)  \n   - Subnet mask  \n   - Default gateway  \n5. Under **Use the following DNS server addresses**, enter preferred and alternate DNS.  \n6. Click **OK** to apply and close everything. ([thewindowsclub.com](https://www.thewindowsclub.com/set-a-static-ip-address-in-windows-10?utm_source=openai))\n\n---\n\n### Method 3: Command Prompt\n\nIf you prefer command line:\n\n1. Open **Command Prompt** as Administrator.  \n2. To set the IP address, subnet mask, and default gateway, do:\n\n   ```\n   netsh interface ip set address name=\"AdapterName\" static 192.168.1.50 255.255.255.0 192.168.1.1\n   ```\n\n   Replace \"AdapterName\" (e.g., `Ethernet` or `Wi-Fi`) with your adapter\u2019s name. Replace `192.168.1.50`, `255.255.255.0`, and `192.168.1.1` with your values. ([pureinfotech.com](https://pureinfotech.com/set-static-ip-address-windows-11/?utm_source=openai))\n\n3. To set DNS:\n\n   ```\n   netsh interface ip set dns name=\"AdapterName\" static 8.8.8.8\n   netsh interface ip add dns name=\"AdapterName\" 8.8.4.4 index=2\n   ```\n   Use the DNS addresses you prefer. ([pureinfotech.com](https://pureinfotech.com/set-static-ip-address-windows-11/?utm_source=openai))\n\n---\n\n### Method 4: PowerShell\n\nAnother command-line approach that\u2019s more modern:\n\n1. Run **PowerShell** as Administrator.  \n\n2. Find the adapter\u2019s index:\n\n   ```powershell\n   Get-NetIPConfiguration\n   ```\n\n   Note `InterfaceIndex`, current IP, Gateway, etc. ([pureinfotech.com](https://pureinfotech.com/set-static-ip-address-windows-11/?utm_source=openai))\n\n3. Assign static IP:\n\n   ```powershell\n   New-NetIPAddress -InterfaceIndex 12 -IPAddress 192.168.1.50 -PrefixLength 24 -DefaultGateway 192.168.1.1\n   ```\n\n4. Then set DNS:\n\n   ```powershell\n   Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses 8.8.8.8,8.8.4.4\n   ```\n\n   Adjust `InterfaceIndex` and address values as needed. ([pureinfotech.com](https://pureinfotech.com/set-static-ip-address-windows-11/?utm_source=openai))\n\n---\n\n## \ud83d\udea8 What to Watch Out For\n\n- **IP Conflicts**: Don\u2019t pick an IP that\u2019s already in use or inside the DHCP range. ([techbloat.com](https://www.techbloat.com/how-to-set-a-static-ip-in-windows-11-a-step-by-step-guide-2.html?utm_source=openai))  \n- **Correct Subnet and Gateway**: If these don\u2019t match your network setup, you could lose connectivity.  \n- **DNS Required**: Especially when using the Settings app, you\u2019ll often need both preferred and alternate DNS entries for Windows to accept the static IP. ([support.etcconnect.com](https://support.etcconnect.com/ETC/FAQ/Can%27t_Set_IP_Address_on_Windows_11?utm_source=openai))  \n\n---\n\nIf you tell me your router\u2019s DHCP range or current network IP/gateway, I can help suggest a safe static IP to choose!"
    }
]