Open Network Connections by clicking the Start button , click Control Panel
Then open Network and Internet
then click Network and Sharing Center
and then click Change adaptor setting
Right-click the Local Area Connection and then click Properties. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
Click the Networking tab. Under This connection uses the following items, click either Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6), and then click Properties.
Click Use the following IP address, and then, in the IP address, Subnet mask, and Default gateway boxes, type the IP address given by your Internet Service Provider (ISP). Then click Use the following DNS server addresses, and then, in the Preferred DNS server and Alternate DNS server boxes, type the addresses of the primary and secondary DNS servers also given by your Internet Service Provider (ISP)
Hope it helps.