Manually Set IP Address Version 4
ip config /all

Manually Set IP Address Version 4

By 0fajarpurnama0 | 0fajarpurnama0 | 18 Oct 2020


Today, Internet Protocol (IP) address version 4 is majorly used between computer communication over the network. However, most common people does not know that IP address is set on the network interface and not in the core system of the computer. For example, a laptop can have two IP address, one is on the cable and one is on the WiFi. This article guides users in setting IP address manually which can be for:

  • The network that we connect to have technical problem that we may have to set manually.
  • The usual automatic IP address received maybe blacklist and may not be from the main system but from malicious peers such as those who uses netcut to monopolize the traffic.
  • If you are going to be a administrator, you need to have this skill.
  • If you are studying in computers and engineerings, you may stumble on a class that requires you to set IP address manually for an experiment.
  • Eventhough you are not in computers or engineerings but you may come across a software that requires manual IP address setting.

Short Description

  • IP address is the address of your network card and if you do not understand them well, just change the last numbers and if you do not have a reference for users, just set it to automatic, take note of the IP address you receive and set it manually to a similar number.
  • Subnet mask determines the cluster of network you belong to. For example with subnet mask means you belong to a cluster which groups IP address ranging -
  • Gateway is the IP address destination when you want to send packet outside of the network. For example, to the Internet, if you cannot connect to the Internet, most likely a proble with your gateway configuration or the gateway itself.
  • Domain Name Service (DNS) is a server destination that can understand domain names. Your browser will not understand without a DNS server. If you successfully connect to the Internet but cannot open any website, then DNS setting can potentially be the problem.
  • Gateway metric is rarely touch because this configuration is only necessary if you more than one gateway for example you connect to the Internet using two different network such as cable and wireless. Without any settings, your computer will be confused so set the metric with a number. A metric with higher number will have lower priority and vice versa.
  • Learn more about the fundamental at Simple Introduction to Computer Network.

Set Up IP Address Manually

Windows GUI

Setting IP in Windows 1.png

Go to control panel.

Setting IP in Windows 2.png

Click Network and Internet.

Setting IP in Windows 3.png

Click Network and Sharing Center.

Setting IP in Windows 4.png

Change Adapter Setting.

Setting IP in Windows 5.png

Choose a connection, right click, and properties.

Setting IP in Windows 6.png

Open Internet Protocol.

Setting IP in Windows 7.png

Use Following.

Windows Command Line

Using command prompt (CMD):

netsh interface show interface
netsh interface ip set address "[chosen interface]" static [ip address] [subnet mask] [gateway] [metric]
netsh interface ipv4 set dns name=”[YOUR INTERFACE NAM]” static [DNS SERVER], for example:
netsh interface ip set address "Ethernet" static 1
netsh interface ipv4 set dns name=”” static Ethernet

Linux GUI (Debian)


Go to settings or straight to network manager.


Go to WiFi or Network.


Go to Identity and Choose a Network Interface.


Go to IP, choose manual, and input addresses.


Scroll down and set DNS also routes if necessary.


If necessary, go to security.

Linux Command Line (Debian)

Using ifconfig:

sudo ifconfig [interface] [ip address] netmask [subnet mask] up
route add default gw [IP-ADDRESS] [INTERFACE-NAME], for example
sudo ifconfig eth0 netmask up
route add default gw eth0

Using ip:

sudo ip addr add [ip address]/[netmask id] dev [interface]
sudo ip route add default via [gateway], for example
sudo ip addr add dev eth0
sudo ip route add default via

For DNS, edit /etc/resolve.conf:





I'm a content creator who is interested in financial freedom, decentralization, internet, computer, censorship resistance, unconfiscateable, cryptocurrency, monetization, passive income, and referrals.


This blog contains all my articles of various categories which I will separate in the future once a category becomes big. This blog along with other online contents are licensed under creative commons attribution customized sharealike (cc-by-sa) where I Fajar Purnama as the creator customized the ShareAlike (sa) license here where you are also allowed to sell my contents but with a condition that you must mention that the free and open version is available here.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.