Как узнать свой ip через терминал windows

The IP address or Internet Protocol address is a numerical label used in networks to identify and locate network devices, from computers and smartphones to printers, TVs, and other devices. The IP address can be a useful piece of information, especially when you want to set up your home router or connect to other devices on a network. But how do you see a computer’s IP address in Windows? In this tutorial, I cover six methods guaranteed to work in Windows 10 and Windows 11:

NOTE: If you are unsure of what an IP address is and what purpose it serves, I recommend you to read: What is an IP address and a subnet mask, in simple terms?

1. How to find your IP address using CMD, PowerShell, or Windows Terminal

You can open the Command Prompt, PowerShell, or even the Windows Terminal, type the following command, and press Enter:

ipconfig

For each network adapter inside your Windows computer, you see its IPv4 and IPv6 addresses. The first is found in the IPv4 Address field, while the second is stored in the IPv6 Address field.

Find your IP address with ipconfig

Find your IP address with ipconfig

You can also add a variable to this command to filter the data shown by this command to show only the addresses you’re interested in, like this:

ipconfig | findstr /C:Address

Notice how you see only the Address fields. One thing that may confuse you is that a network adapter can use two different IPv6 addresses at the same time, not just one, as is the case with IPv4 addresses.

Find your IP address with ipconfig | findstr /C:Address

Find your IP address with ipconfig | findstr /C:Address

This second command variant is not that useful when you have multiple network adapters (Wi-Fi, Ethernet, VPN, etc.) on your computer because you can’t tell which address corresponds to each adapter. Therefore, if you have multiple network cards inside your PC, use the first command variant.

To learn more about the parameters accepted by ipconfig and what each of them does, run:

ipconfig /?

TIP: If you are interested in reading about other networking commands you can run using the Command Prompt, check this tutorial: Command Prompt (CMD): 10 network-related commands you should know.

2. How to find your IP address using PowerShell or Windows Terminal

You can also start PowerShell or open Windows Terminal and run other commands to find your computer’s IPv4 and IPv6 addresses on the local network. Inside the PowerShell window or a PowerShell tab in Windows Terminal, type this command and press Enter:

gip

You see details about each network adapter on your computer, including the IP addresses you were looking for, in the IPv6Address and IPv4Address fields.

Find your IP address with gip

Find your IP address with gip

Another command which returns the same results is:

Get-NetIPConfiguration

Don’t forget to press Enter to execute it. Then, you see details about each network adapter inside your computer, presented in a similar format. Look for the IPv6Address and IPv4Address fields to get the information you want.

Find your IP address with Get-NetIPConfiguration

Find your IP address with Get-NetIPConfiguration

TIP: Do you need to find the IP address of your router? Read this guide: How do I find my router’s IP address?

3. How to see your IP address in the Settings app

This information is available in the Settings app too. However, the steps involved are a bit different depending on whether you’re using Windows 10 or Windows 11. To help you out, we created a separate subchapter for each Windows operating system.

How to see your IP address in the Settings app from Windows 11

If you’re on a Windows 11 laptop or desktop computer, open the Settings app (Windows + I). In the left sidebar, choose Network & internet. On the right, select Wi-Fi or Ethernet, depending on the type of network connection you use.

In Windows 11 Settings, go to Network & internet

In Windows 11 Settings, go to Network & internet

I’m using a Windows 11 laptop without an Ethernet port, and you might be too. Therefore, I chose Wi-Fi. Then, click or tap on the Properties button for your active Wi-Fi connection.

Access the Properties of your active Wi-Fi connection

Access the Properties of your active Wi-Fi connection

Now you see all the technical properties of your wireless connection. Scroll down until you see the IPv6 address and IPv4 address fields.

Find your IP address in the highlighted fields

Find your IP address in the highlighted fields

If you’re using a desktop PC with a cable network connection, choose Ethernet instead of Wi-Fi, and you immediately see the properties of your connection. Scroll down to see the IPv4 and IPv6 addresses.

Find the IP address for an Ethernet connection in Windows 11

Find the IP address for an Ethernet connection in Windows 11

Close the Settings when you’re done.

How to see your IP address in the Settings app from Windows 10

On your Windows 10 PC, open Settings (Windows + I) and go to Network & Internet. You are shown a list of networking settings and categories. If you are connected to a wireless network, choose Wi-Fi on the left, and, on the right, click or tap on the name of the network you are connected to.

Click or tap Wi-Fi and then on the network's name

Click or tap Wi-Fi and then on the network’s name

Windows 10 will then list a whole series of properties for your Wi-Fi connection. Scroll down until you find the fields for the IPv6 and IPv4 addresses highlighted below.

Find the IP address for a Wi-Fi connection in Windows 10

Find the IP address for a Wi-Fi connection in Windows 10

If you are connected using a network cable, in the left sidebar, choose Ethernet and then click or tap on the network’s name on the right.

Click or tap Ethernet and then on the network's name

Click or tap Ethernet and then on the network’s name

Scroll down the list of network properties until you find the entries for the IPv6 and IPv4 addresses highlighted below.

Find the IP address for an Ethernet connection in Windows 10

Find the IP address for an Ethernet connection in Windows 10

Close the Settings app when you’re done.

4. How to find your IP address in the Control Panel

If you’re on an older version of Windows, you can also use the Control Panel to find this information. This works in Windows 10 and Windows 11 too, and the steps involved are the same in all versions:

Open the Control Panel and go to Network and Internet. Then, click on Network and Sharing Center.

In Control Panel, go to Network and Internet data-lazy-src=

In Control Panel, go to Network and Internet > Network and Sharing Center

In the left column, click “Change adapter settings.”

Click Change adapter settings

Click Change adapter settings

You see all the network adapters on your PC. Some of them may be virtual network adapters, like those installed by VPNs or Virtual Machines. Double click on the network adapter for which you want to see the IP address.

Double click on the network adapter

Double click on the network adapter

This action opens the Status window of that adapter. Next, click the Details button to see a series of details about that network adapter.

Click on Details

Click on Details

Scroll through the list of details until you find the IPv4 and IPv6 address fields highlighted below.

See the IP address

See the IP address

When done, click Close.

TIP: You may also want to find the MAC address of your PC.

5. How to find your IP address with System Information

You can use the Search bar in Windows 10 or the Search button in Windows 11 to look for “system information.” Click or tap on the app’s name in the search results list.

Search for system information

Search for system information

In System Information, in the left column, expand Components followed by Network and then Adapter. On the right side, you see detailed information about each network adapter on your computer. Scroll down the list until you find the network card you are interested in. There, you see a field named IP Address that shows both the IPv4 and the IPv6 address on the same line.

View the IP Address in System Information

View the IP Address in System Information

TIP: If you want to know more about System Information, read: How to see details about your PC’s hardware and software using System Information.

6. How to learn your IP address using Task Manager

The Task Manager can also tell you the IP address you’re using on the local network. To fire it up, press Ctrl + Shift+ Escape on your keyboard or use any of the other ways of opening Task Manager. If you’re using Windows 10, and you start the Task Manager in the compact view, click or tap More details. Then, select the Performance tab and look for your network adapter. If you are connected to a wireless network, choose Wi-Fi. If you’re using a cable connection, choose Ethernet. Then, on the right side, you see the IPv6 and IPv4 addresses.

View the IP address in Task Manager (Windows 10)

View the IP address in Task Manager (Windows 10)

Things are similar in Windows 11. However, when you fire up the Task Manager, there’s no annoying compact view. Instead, you just select the Performance tab on the left and click or tap on Wi-Fi or Ethernet, depending on your network connection. Then, on the bottom-right, you see your computer’s IPv6 and IPv4 addresses.

View the IP address in Task Manager (Windows 11)

View the IP address in Task Manager (Windows 11)

Do you know other ways of finding your IP address?

When writing this guide, I aimed to make it the most complete tutorial on this topic available right now on the internet. I hope I was successful in my mission and managed to help everyone reading it. However, if you know other ways of finding the IP address of a Windows PC, don’t hesitate to share it in a comment using the options below. I promise to update this guide based on your feedback.

Use a simple command to get your IP address on Windows

  • In Command Prompt, enter ipconfig. You’ll see your IP address next to the IPv4 Address.
  • In Command Prompt, enter ipconfig /all. You’ll see more detailed information in addition to your IP address.

This article shows you how to use Command Prompt on your Windows computer to obtain your IP address.

Open Command Prompt on Windows

Of course, you cannot run a command in Command Prompt until you open it. There are actually several ways to do this, but these two are super easy.

Use the Start Menu Search

If you have the Search box or icon in your Task Bar, you can use it. Otherwise, click the Start button (Windows icon) and type either «cmd» or «Command Prompt,» then select Command Prompt from the list.

Use the Start Menu

You can also click the Start button, scroll to and expand Windows System, and select Command Prompt.

How Can I Check My IP Address in CMD?

Once you have Command Prompt open, the rest is a piece of cake. Type the following command and then press Enter:

 ipconfig

You’ll then see a snippet of information. Your IP address is next to IPv4 Address:

 Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix .: lan.ourhost.net
IPv6 Address....................: fd21:9dl7:c305:5:cld3:ca26:flc
Temporary IPv6 Address..........: fd21:9dl7:c305:5:4d83:8a05:5ef4
Link-local IPv6 Address.........: fe80::cld3:ca36:flc:bd0c%24
IPv4 Address....................: 192.176.2.143 
Subnet Mask.....................: 255.355.455.0 
Default Gateway.................: 192.176.2.1

If you’d like more detailed information along with your IP address, type the following command and hit Enter:

 ipconfig /all

This second command gives you things like your hostname, ethernet adapter details, DHCP information, and more. But to keep it simple, and if you only need your IP address, the first command above is the way to go.

If you have a computer running macOS or Linux, check out our how-to for finding your IP address on those platforms.

FAQ

  • Use the nslookup tool to find domain name information. With the IP address handy, open the Command Prompt and enter nslookup IP address. The output will list the domain name in the Name line.

  • To find the name of a computer on your network, type nbtstat -A IP address and press Enter. Look for the machine’s name under Name near the top of the result.

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

In this tutorial, we will learn how to find your IP address in Windows 10 using the Command Prompt.

There are a couple of CMD Commands to check IP addresses in Windows 10/11. One is ipconfig. Another one is netsh.

To open a command prompt, right-click the start button and choose PowerShell (Admin) or Windows Terminal (Admin) if you are on Windows 11.

Using Ipconfig Command

In the command prompt, type ipconfig /all and press Enter:

ipconfig /all

The ipconfig command displays the current IP configuration for all of your computer’s network interfaces.

You should see an output similar to the following:

how to find ip address in windows 10 using command prompt

Using Netsh command

We can also use the netsh command to find IP Address(es) in Windows 10. First, run the following command to list all available network interfaces on your computer.

netsh interface show interface

To show the IP configuration, run the following command:

netsh interface ipv4 show addresses

To show IPv6 configuration, run the following command:

netsh interface ipv6 show addresses

To be more specific, you can specify the interface name. For example, to find the IP address of an interface named Ethernet, you will run the netsh command as follows:

netsh interface ipv4 show addresses name="Ethernet"
how to check ip address using netsh cmd command

And that is how you find IP Addresses using CMD. It will work on any Windows operating system.

Как узнать ip-адрес компьютера

Каждое сетевое устройство обладает двумя типами IP-адресов: локальным и публичным. Локальный адрес, также известный как «серый» IP, используется исключительно внутри частных сетей и не может быть применен для доступа к интернету. С другой стороны, публичный или «белый» IP-адрес служит для взаимодействия с глобальной сетью. Этот уникальный идентификатор позволяет устройству быть видимым и доступным в интернете, обеспечивая его распознавание другими участниками сетевого взаимодействия.

Умение найти IP-адрес компьютера — важный навык в современном цифровом мире. В эпоху удаленной работы, многочисленных онлайн-сервисов и приложений, важно обеспечить высокий уровень безопасности данных. По статистике за 1 квартал 2024 года, 22% всех мировых кибератак было направлено против частных лиц. Мы расскажем, как узнать свой IP в разных операционных системах и для чего.

Зачем нужно знать свой IP-адрес

Как узнать IP-адрес компьютера или телефона

Как узнать внутренний IP-адрес в Windows

Как узнать внутренний IP-адрес в Linux

Как проверить IP для системы Ubuntu Linux

Как посмотреть IP-адрес компьютера на Mac OS

Как узнать внешний IP-адрес

Что такое IP-адрес

Internet Protocol address — это неповторимый числовой номер устройства, которое выходит в сеть (локальную или интернет).

Он нужен для поиска местоположения гаджета в цифровом пространстве. Без него связаться по сети было бы невозможно.

Существует два основных вида IP-адресов:

  1. IPv4 (четвертая версия протокола) — это самый распространенный тип IP в формате четырех десятичных чисел, разделенных точками. Например, 192.168.1.100. Из-за ограниченности пространства IPv4-адресов, стал внедряться IPv6.

  2. IPv6 (шестая версия) — новый тип IP, который состоит из 8 групп по 16 бит, разделенных двоеточиями. Например, 2001:0db8:85a3:0000:0000:8a2e:0370:7334. Внедрение IPv6 позволяет обеспечить подключение к сети большего количества устройств.

Помимо публичных (или «белых») адресов, существуют адреса для локальных сетей, которые также известны как «серые» адреса. Они недоступны напрямую из интернета и называются внутренними. 

Существует два типа IP-адресов: статический и динамический. Статический адрес закрепляется за абонентом интернет-провайдером и остается неизменным. Динамический адрес, напротив, меняется при каждом подключении устройства к сети.

Таким образом, «белые» адреса — это публичные IP-адреса, доступные из интернета, а «серые» адреса — это внутренние адреса локальных сетей, недоступные напрямую из внешней сети. Оба типа адресов могут быть как статическими, так и динамическими, в зависимости от настроек сети и провайдера.

Зачем нужно знать свой IP-адрес

Это необходимо, чтобы отследить любые взаимодействия с сетью. Например:

  • Чтобы подключаться к удаленным ресурсам и сервисам. Многие сайты требуют указания адреса устройства для получения доступа.
  • Это необходимо для настройки сетевых подключений модемов и маршрутизаторов.
  • Для диагностики и устранения неполадок. Если возникают проблемы с подключением к интернету или доступом к локальным сетям.
  • Для отслеживания активности и потенциальных несанкционированных попыток доступа к устройству.
  • Определение геолокации, уточнение подробностей о провайдере и «чистоте» своего адреса.

Как узнать IP-адрес компьютера или телефона

Быстрее и легче найти эту информацию через браузер. В поисковую строку нужно вбить «IP» и нажать enter. Также это доступно через сервис «Интернетометр» от Яндекса. Так узнать можно адрес не только компьютера, но и телефона.

Для Wi-Fi соединения:

  1. Откройте меню «Пуск» и выберите «Настройки»
  2. Перейдите в раздел «Сеть и Интернет», затем выберите «Wi-Fi»
  3. Нажмите на название вашей активной Wi-Fi сети
  4. В открывшемся окне свойств найдите строку «IPv4-адрес»

Для проводного подключения:

  1. Через меню «Пуск» зайдите в «Настройки»
  2. Выберите «Сеть и Интернет», затем «Ethernet»
  3. В списке свойств подключения найдите пункт «IPv4-адрес»

Указанное значение и будет вашим текущим IP-адресом в сети.

На компьютере с MAC OS: После активирования иконки «Apple», нужно перейти в раздел системных настроек. Нажав на значок Сети нужно выбрать подключение и посмотреть информацию после значения «Статус».

Где посмотреть ip-адрес на MAC OS для Wi-Fi

На смартфонах также всегда можно найти идентификаторы устройства. Достаточно зайти в раздел характеристик и общей информации. В телефонах она находится в разных подразделах. Обычно там содержатся различные сведения о работе устройства в сети.

Как узнать ip адрес телефона Iphone

Как узнать внутренний IP-адрес в Windows

Windows 10 предоставляет несколько встроенных инструментов для выявления внутреннего IP-адреса вашего компьютера. Давайте рассмотрим наиболее эффективные способы:

Использование командной строки

Самый быстрый метод — это применение командной строки:

  • Откройте командную строку
  • Введите команду «ipconfig»
  • Найдите строку «IPv4-адрес» — это и есть искомый IP-адрес

Через Диспетчер задач

Альтернативный способ — использование Диспетчера задач:

  • Запустите Диспетчер задач (Ctrl+Shift+Esc)
  • Перейдите на вкладку «Производительность»
  • Выберите «Ethernet» или «Wi-Fi» в зависимости от типа подключения
  • IP-адрес будет указан в строке «IPv4-адрес»

В настройках сетевого подключения

Можно найти IP-адрес в параметрах сети:

  • Щелкните правой кнопкой мыши по значку сети на панели задач
  • Выберите «Открыть параметры сети и интернета»
  • Нажмите «Изменить свойства подключения»
  • Прокрутите вниз до раздела «Свойства», где будет указан IPv4-адрес

Через веб-интерфейс роутера

Для пользователей Wi-Fi есть возможность узнать IP-адрес через настройки роутера:

  • Войдите в веб-интерфейс роутера (обычно по адресу 192.168.0.1 или 192.168.1.1)
  • Найдите раздел «DHCP» или «Подключенные устройства»
  • В списке устройств найдите свой компьютер и его IP-адрес

Каждый из этих методов позволяет быстро определить внутренний IP-адрес вашего компьютера в сети. Выбирайте наиболее удобный для вас способ в зависимости от ситуации и личных предпочтений.

Где найти айпи-адрес компьютера на Windows

Как узнать внутренний IP-адрес в Linux

Есть три способа узнать внутренний адрес устройства на Linux:

  1. Командная строка в терминале: нужно ввести команду «ip addr show» и нажать Enter.

    Далее найдите раздел с сетевым интерфейсом (например, eth0 или wlan0) и посмотрите значение поля «inet» — это ваш внутренний IP-адрес.

  2. Команда в терминале «ifconfig». После нажатия enter нужно найти раздел с сетевым интерфейсом и посмотреть значение поля «inet addr».

  3. Команда «hostname -I»

    После тех же самых манипуляций, как и в первых двух случаях, вы увидите значение внутреннего IP-адреса.

Как проверить IP для системы Ubuntu Linux

Необходимо обратиться к терминалу и ввести команду «ifconfig», либо через настройки сети. На скрине ниже представлены оба варианта. 

Как проверить свой IP в Ubuntu Linux

Как посмотреть IP-адрес компьютера на Mac OS

В системных настройках сети слева на панели нужно выбрать активное соединение, которое вас интересует. И прямо под строкой «Статус» увидите искомые цифры.

Как посмотреть IP-адрес компьютера на Mac OS

Также можно узнать IP через терминал. Это внутреннее приложение для взаимодействия с операционной системой  Mac OS. Введите в нем команду «ifconfig», найдите раздел с названием вашего сетевого интерфейса (например, en0 для Ethernet или en1 для Wi-Fi). Рядом с «inet» будет указан ваш IPv4-адрес.

Как узнать ip через командную строку

Как узнать внешний IP-адрес

Сайт 2ip.ru после проверки определяет номер IP, операционную систему, название и параметры браузера, нахождение в черном списке и географическое местоположение. Именно эти сведения предоставляет сайтам ваш браузер.

Есть еще один элементарный способ узнать свой внешний адрес: введите в поисковой строке Яндекса фразу «мой IP» и узнаете всю необходимую информацию.

on June 15, 2017

Ipconfig command is used to find the IP address of a system from command line. Run the command ipconfig to print IP addresses for all network adapters installed on the system.

c:\>ipconfig
Windows IP Configuration

Ethernet adapter Local Area Connection:
   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 192.168.1.2
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

Wireless LAN adapter Wireless Network Connection:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

If you are interested in just knowing the IP address and not bothered about all other details printed by the command, you can use findstr to filter out unwanted details.

c:\>ipconfig | findstr /C:Address
   Link-local IPv6 Address . . . . . : fe80::f9d5:883c:9ae7:3af0%12
   IPv4 Address. . . . . . . . . . . : 192.168.0.105
   IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:14b6:3da3:b662:d819
   Link-local IPv6 Address . . . . . : fe80::14b6:3da3:b662:d819%11
c:\>

Here, it shows IP addresses for various interfaces installed on the computer, it includes IPv6 interfaces as well.

If the system is connected to a DHCP configured network then you can release the IP obtained from DHCP.

ipconfig /release

The above command works for IPv4. To release IPv6 address the command is given below.

ipconfig /release6

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Windows 10 20h1 download
  • Медленная работа windows 10 после обновления
  • Установка windows через dhcp
  • Кажется система виндовс загрузилась неправильно windows 10
  • Импорт закрытого ключа windows