Updated: Aug 18
Open Network & Internet Settings: Click on the Start button and then click on the "Settings" gear icon. In the Settings window, click on "Network & Internet."
Access Network Settings: In the left sidebar, select "Ethernet" or "Wi-Fi," depending on your connection type.
Choose Your Network Connection: Under "Ethernet" or "Wi-Fi," locate and click on the network connection you're using.
Manage Network: Click on the "Manage" button under your selected network connection.
Edit IP Settings: In the network management window, scroll down and click on "IP settings."
Change to Manual IP: In the "Edit IP settings" section, change the "IP assignment" from "Automatic (DHCP)" to "Manual."
Enter IP Address: Fill in the IP address you want to assign to your PC. Make sure the IP is within the range of your network's IP addresses and doesn't conflict with other devices.
Subnet Prefix Length: Enter the subnet prefix length. This is usually 24 for typical home networks (which translates to a subnet mask of 255.255.255.0).
Default Gateway: Enter the IP address of your router (default gateway).
Preferred DNS Server: Enter the IP address of your preferred DNS server. This could be your router's IP or a public DNS server like Google's (18.104.22.168).
Alternate DNS Server (Optional): If you want to specify a secondary DNS server, you can enter its IP address here.
Save Changes: After entering the necessary IP settings, click the "Save" button.
Restart Your PC: To ensure the changes take effect, it's a good idea to restart your PC.
Remember that assigning a static IP can help with certain network configurations and port forwarding, but it's important to choose an IP that doesn't conflict with other devices on your network. If you're unsure about the appropriate settings for your network, you might want to consult your network administrator or refer to your router's documentation.