In Tech Knowledge learn various technologies

Recent Post

Tuesday, November 5, 2019

CONFIGURE IP ADDRESS


How to configure IP Address

IP address of a computer or other device must be unique within a network.

Steps on how to set IP address in Windows 7 or Windows 10

A.    Using Graphical User Interface

1.      Click on Start or press Windows Key on keyboard > type Control Panel > press enter Key on Keyboard

2.      On Control Panel window select Category or Large icons / Small icons under View by
3.      If you select Category under View by, click on View network status and tasks under Network and Internet [OR] If you select Large icons / Small icons under View by, click on Network and Sharing Center
CONFIGURE IP ADDRESS


4.      Click on Change adapter settings
CONFIGURE IP ADDRESS

5.      Right click on Network Adapter (Ethernet or Wi-Fi) -> click on Properties 
6.      Click on Internet Protocol Version 4 (TCP/IPv4) -> click on Properties
7.    Select Obtain an IP address automatically and Obtain DNS server address automatically (If your network has DHCP server than your computer will get IP address automatically from DHCP server) [OR] Click on Use the following IP address (If you need to create a static address)


8.      Type the required IP address (for example; 192.168.0.1) in the IP address box
9.      Type the Subnet Mask (for example; 255.255.255.0) in the Subnet mask box
10. Type Default gateway address for that network (the IP address for the network’s router, modem etc.).
11.  Type the address of the Preferred DNS server.
12.  Type the address of the Alternative DNS server.
13.  Click Ok to save TCP/IPv4 parameters
14. Click on Close.
Note: The address of the Preferred and Alternative DNS server are obtained from your Internet Service Provider (ISP). 





B.    Using Command Line Interface

      1.      Click on Start or press Windows Key on keyboard > type cmd > right click on cmd > click on Run as administrator.  


      2.      Type the following command to view network interface name
ipconfig


a)      Static IP address
netsh interface ip set address name="[connection name]" static [IP address] [Subnet Mask] [Default Gateway]

Example: Type the following command on cmd

For Wired Network
netsh interface ipv4 set address name="Ethernet" static 192.168.0.1 255.255.255.0 192.168.0.254

For Wireless Network
netsh interface ipv4 set address name="Wi-Fi" static 192.168.0.1 255.255.255.0 192.168.0.254

b)     Obtain an IP address automatically
netsh interface ip set address name="[connection name]" dhcp

Example: Type the following command on cmd

For Wired Network
netsh   interface  ipv4  set  address  name="Ethernet"  dhcp

For Wirless Network
netsh   interface  ipv4  set  address  "Wi-Fi"  dhcp

c)      Static IP address for DNS
netsh interface ipv4 set dns name="[connection name]" static [IP address]

Example: Type the following command on cmd

For Wired Network
netsh interface ipv4 set dns name="Ethernet" static 8.8.8.8

For Wireless Network
netsh interface ipv4 set dns name="Wi-Fi" static 8.8.8.8

d)     Obtain an IP address automatically for DNS
netsh  interface  ipv4  set  dns  name="[connection name]"  dhcp

Example: Type the following command on cmd

For Wired Network
netsh   interface  ipv4  set  dns  name="Ethernet"  dhcp

For Wirless Network
netsh   interface  ipv4  set  dns  "Wi-Fi"  dhcp

No comments:

Post a Comment

please do not enter any spam link in the comment box