To assign a static IP address on a Windows computer, open the Network Connections control panel, select the network connection, click Properties, choose Internet Protocol Version 4 (TCP/IP), click Properties, and enter the IP address, subnet mask, default gateway, preferred DNS server address, and alternate DNS server address provided by the Internet Service Provider. Click OK to confirm the settings.