Меню Рубрики

Windows phone 10 static ip

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

Если вы испытываете проблемы с сетевым подключением и настроили его на DHCP, то выяснение вашего IP-адреса может быть довольно сложной задачей. Использование статического IP-адреса помогает предотвратить конфликты IP-адресов между сетевыми устройствами и позволяет легко управлять ими. В этой статье показано, как назначить статический IP-адрес на компьютере с Windows 10.

Назначьте статический IP-адрес в Windows 10

В большинстве случаев IP-адреса для компьютеров или компьютеров автоматически настраиваются на протокол динамической конфигурации хоста (DHCP) соответствующим маршрутизатором. Это полезно, поскольку устройства подключаются к вашей сети мгновенно. Вы избавляете себя от необходимости вручную настраивать IP-адрес для каждого нового устройства. Однако с этим процессом связан один недостаток: время от времени IP-адрес устройства может меняться.

Установка статического IP-адреса может потребоваться, если вы регулярно обмениваетесь файлами, принтером или настраиваете переадресацию портов.

Мы увидим три способа сделать это:

  1. Через панель управления
  2. Через настройки Windows
  3. Использование PowerShell.

1] Установка статического IP-адреса через панель управления

Щелкните правой кнопкой мыши значок сети (или Wi-Fi), видимый на панели задач Windows 10.

В списке из 2-х вариантов выберите последний — Открыть настройки сети и Интернета.

Перейдите в настройки Wi-Fi и немного прокрутите вниз, чтобы найти раздел Связанные настройки . Найдя его, нажмите на ссылку Изменить параметры адаптера .

Мгновенно откроется отдельное окно, которое направит вас в раздел «Сетевые подключения» панели управления.

Щелкните правой кнопкой мыши сетевое соединение, для которого нужно установить статический IP-адрес, и выберите параметр Свойства ‘.

После этого выберите Протокол Интернета версии 4 (TCP/IPv4) на вкладке Сеть и нажмите кнопку Свойства .

Переключите селектор на « Использовать следующий IP-адрес ».

Теперь введите данные в следующие поля, соответствующие настройкам вашей сети.

  1. IP-адрес (найдите его с помощью команды ipconfig /all )
  2. Маска подсети (в домашней сети это 255.255.255.0)
  3. Шлюз по умолчанию (это IP-адрес вашего маршрутизатора.)

В конце не забудьте проверить параметр Проверить настройки при выходе . Это помогает Windows быстро проверить ваш новый IP-адрес и другую соответствующую информацию, чтобы убедиться, что он работает.

Если все выглядит хорошо, нажмите кнопку «ОК» и закройте окно свойств сетевого адаптера.

2] Назначить статический IP-адрес через настройки

Нажмите значок «Настройки» и выберите вкладку Сеть и Интернет .

Выберите Wi-Fi> Текущее соединение, т. Е. Сеть, к которой вы подключены.

Прокрутите страницу вниз до раздела настроек IP и нажмите кнопку Изменить .

Затем, когда появится окно Настройки IP , нажмите стрелку раскрывающегося списка и выберите параметр Вручную .

Включите тумблер IPv4 .

Теперь установите статический IP-адрес. Также установите длину префикса подсети (маска подсети). Если ваша маска подсети 255.255.255.0, то длина префикса подсети в битах равна 24.

После этого настройте адрес шлюза по умолчанию, предпочитаемый адрес DNS и сохраните изменения.

3] Назначение статического IP-адреса через PowerShell

Откройте Powershell от имени администратора и введите следующую команду, чтобы просмотреть текущую конфигурацию сети:

После этого запишите следующую информацию:

  1. InterfaceIndex
  2. IPv4-адрес
  3. IPv4DefaultGateway
  4. DNSServer.

После этого введите следующую команду, чтобы установить статический IP-адрес, и нажмите Enter.

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

Когда закончите, введите следующую команду, чтобы назначить адрес DNS-сервера и нажмите Enter.

Источник

Портал устройств для мобильных устройств Device Portal for Mobile

Начиная c Windows 10 версии 1511, для семейства мобильных устройств доступны дополнительные функции разработчика. Starting in Windows 10, Version 1511, additional developer features are available for the mobile device family. Эти функции доступны, только когда на устройстве включен режим разработчика. These features are available only when Developer mode is enabled on the device.

Сведения о том, как включить режим разработчика, см. в разделеПодготовка устройства для разработки. For info about how to enable Developer mode, see Enable your device for development.

Настройка Портала устройств на Windows Phone Set up Device Portal on Windows Phone

Включите обнаружение и связывание устройств Turn on device discovery and pairing

Для подключения к порталу устройств необходимо включить функцию обнаружения устройств и портал устройств в параметрах телефона. To connect to Device Portal, you must enable Device discovery and Device Portal in your phone’s settings. Это позволит связать ваш телефон с компьютером или другим устройством с Windows 10. This lets you pair your phone with a PC or other Windows 10 device. Оба устройства должны быть подключены к одной подсети с помощью проводного или беспроводного подключения или соединены друг с другом через USB. Both devices must be connected to the same subnet of the network by a wired or wireless connection, or they must be connected by USB.

При первом подключении к Порталу устройства потребуется ввести шестизначный код безопасности (с учетом регистра символов). The first time you connect to Device Portal, you are asked for a case-sensitive, 6 character security code. Это обеспечит вам доступ к телефону и защитит ваши устройства от атак. This ensures that you have access to the phone, and keeps you safe from attackers. Нажмите кнопку «Связать» на телефоне, чтобы создать и отобразить код, а затем введите 6 символов в текстовое поле в браузере. Press the Pair button on your phone to generate and display the code, then enter the 6 characters into the text box in the browser.

Вы можете подключиться к Порталу устройства тремя способами: через кабель USB, через локальный узел и по локальной сети (включая VPN и привязку). You can choose from 3 ways to connect to Device Portal: USB, local host, and over the local network (including VPN and tethering).

Подключение к порталу устройств To connect to Device Portal

В браузере введите адрес, указанный ниже для используемого вами типа подключения. In your browser, enter the address shown here for the connection type you’re using.

  • USB: http://127.0.0.1:10080 USB: http://127.0.0.1:10080

Воспользуйтесь этим адресом, если телефон подключен к компьютеру через кабель USB. Use this address when the phone is connected to a PC via a USB connection. Оба устройства должны работать под управлением Windows 10 версии 1511 или более поздней. Both devices must have Windows 10, Version 1511 or later.

  • Localhost: http://127.0.0.1 Localhost: http://127.0.0.1

Воспользуйтесь этим адресом, чтобы локально открыть портал устройства на телефоне в браузере Microsoft Edge для Windows 10 Mobile. Use this address to view Device Portal locally on the phone in Microsoft Edge for Windows 10 Mobile.

Воспользуйтесь этим адресом для подключения по локальной сети. Use this address to connect over a local network.

IP-адрес телефона отображается в параметрах Портала устройства на телефоне. The IP address of the phone is shown in the Device Portal settings on the phone. Для проверки подлинности и безопасного обмена данными необходима поддержка протокола HTTPS. HTTPS is required for authentication and secure communication. Имя узла (можно изменить в меню «Параметры > Система > О системе») также может использоваться для доступа к порталу устройства в локальной сети (например, http://Phone360) ), что может быть удобно для тех устройств, которые могут часто менять сети или IP-адреса или к которым нужно обеспечить общий доступ. The hostname (editable in Settings > System > About) can also be used to access Device Portal on the local network (for example, http://Phone360), which is useful for devices that may change networks or IP addresses frequently, or need to be shared.

Нажмите кнопку «Связать» на телефоне, чтобы создать и отобразить код безопасности. Press the Pair button on your phone to generate and display the required security code

Введите шестизначный код безопасности в поле пароля на Портале устройства в браузере. Enter the 6 character security code into the Device Portal password box in your browser.

(Необязательно) Установите флажок Запомнить мой компьютер в браузере, чтобы запомнить это связывание для использования в будущем. (Optional) Check the Remember my computer box in your browser to remember this pairing in the future.

Ниже показана страница параметров разработчика на Портале устройства в Windows Phone. Here’s the Device Portal section of the developer settings page on Windows Phone.

Если вы используете Портал устройств в защищенной среде, например лаборатории тестирования, в которой вы доверяете всем пользователям в локальной сети, на устройстве нет личных сведений и у вас имеются особые требования, вы можете отключить проверку подлинности. If you are using Device Portal in a protected environment, like a test lab, where you trust everyone on your local network, have no personal information on the device, and have unique requirements, you can disable authentication. В этом случае шифрование связи будет отключено, и любой пользователь сможет управлять вашим телефоном, зная его IP-адрес. This enables unencrypted communication, and allows anyone with the IP address of your phone to control it.

Заметки по средствам Tool Notes

Страницы Портала устройств Device Portal pages

Процессы Processes

Возможность прекращения произвольных процессов не включена на портале устройств Windows Mobile. The ability to terminate arbitrary processes is not included in the Windows Mobile Device Portal.

Портал устройства на мобильных устройствах обеспечивает стандартный набор страниц. Device Portal on mobile devices provides the standard set of pages. Подробные описания см. в разделе Обзор Портала устройств Windows. For detailed descriptions, see Windows Device Portal overview.

  • Диспетчер приложений App Manager
  • Проводник приложений (Обозреватель изолированного хранилища) App File Explorer (Isolated Storage Explorer)
  • Процессы Processes
  • Диаграммы производительности Performance charts
  • Трассировка событий Windows (ETW) Event Tracing for Windows (ETW)
  • Трассировка производительности (WPR) Performance tracing (WPR)
  • . Devices
  • Сетевое взаимодействие Networking

Источник

How to set a static IP address on Windows 10

You can set a static IP address manually on Windows 10 in a number of ways, and in this guide, you’ll learn using Command Prompt, PowerShell, Control Panel, and Settings.

On Windows 10, setting a static IP address to your device is an essential configuration that may be required in a number of scenarios. For example, if you’re planning to share files or a printer on a local network, or when trying to configure port forwarding.

If you don’t assign a static IP address, the services your computer provides to other devices, or a port forwarding configuration, will eventually stop working. This is because, by default, connected devices use dynamic IP addresses assigned by the Dynamic Host Configuration Protocol (DHCP) server (usually the router), which can change as soon as you restart your machine or after the dynamically assigned configuration expires.

In this guide, you’ll learn the steps to set a static IP (version 4) address to your Windows 10 device when it’s providing a service on the network, or you’re simply configuring port forwarding to your device on the router. (You can also configure your router to assign a static IP address using the DHCP settings.)

How to assign static IP address using Command Prompt

Although using commands may be challenging for some users, this is one of the quickest way to assign a static IP address on Windows 10.

Use these steps to set a static IP address on Windows 10 using Command Prompt:

Open Start on Windows 10.

Search for Command Prompt, right-click the top result and select the Run as administrator option to open the console.

Type the following command to see your current networking configuration and press Enter:

Under the network adapter note the name of the adapter as well as the following information in these fields:

  • IPv4
  • Subnet mask
  • Default Gateway
  • DNS Servers

Windows 10 ipconfig command

Type the following command to assign a static IP address and press Enter:

In the above command make sure to change Ethernet0 for the name of your network adapter, and you must change 10.1.2.220 255.255.255.0 10.1.2.1 with the device IP address, subnet mask, and default gateway address that corresponds to your network configuration.

Type the following command to set a DNS server address and press Enter:

In the above command make sure to change Ethernet0 with the name of your adapter and 10.1.2.1 with the DNS server address of the network.

Type the following command to set an alternate DNS server address and press Enter:

In the above command make sure to change Ethernet0 with the name of your adapter and 8.8.8.8 with an alternate DNS server address.

Windows 10 netsh command to set static IP address

After you complete the steps, you can test the new configuration using the ping command (for example, ping google.com ) to see if the internet is working. Alternatively, you can simply open your web browser and try to navigate to a website to see if the configuration works.

Microsoft is in the process of retiring netsh from Windows 10, as such you should start using the “NetTCPIP” networking module available in PowerShell instead.

How to assign static IP address using Control Panel

If Command Prompt isn’t for you, it’s possible to use Control Panel to change the IP settings on Windows 10.

Use these steps to assign a static IP configuration using Control Panel:

Open Control Panel.

Click on Network and Internet.

Click on Network and Sharing Center.

On the left pane, click the Change adapter settings option.

Control Panel Network and Sharing Center

Right-click the network adapter and select the Properties option.

Select the Internet Protocol Version 4 (TCP/IPv4) option.

Click the Properties button.

Control Panel’s network adapter properties

Select the Use the following IP address option.

Set the IP address (for example, 10.1.2.220).

Set the Subnet mask. Usually, on a home network, the subnet mask is 255.255.255.0.

Set the Default gateway. This address is typically your router’s IP address (for example, 10.1.2.1).

Under the “Use the following DNS server addresses set Preferred DNS server” section, set the Preferred DNS server address, which is usually your router’s IP address, or IP address of the server providing DNS resolutions (for example, 10.1.2.1).

(Optional) Set the Alternative DNS server, which your computer will use if it can’t reach the preferred server.

Click the OK button.

Windows 10 network adapter TCP/IPv4 properties

Click the Close button again.

Once you complete the steps, you can open your web browser and try loading a website to see if the configuration is working.

How to assign static IP address using PowerShell

Windows 10 also includes the PowerShell command line platform that allows you to use the “NetTCPIP” module to manage networking settings, including the ability to change the IP address settings of your device.

To set a static IP address with PowerShell, use these steps:

Open Start.

Search for PowerShell, right-click the result, and select the Run as administrator option to open the console.

Type the following command to view your current network configuration and press Enter:

After running the command, note the following information:

  • InterfaceIndex
  • IPv4Address
  • IPv4DefaultGateway
  • DNSServer

PowerShell Get-NetIPConfiguration command

Type the following command to set a static IP address and press Enter:

PowerShell New-NetIPAddress command

In the above command make sure to change the InterfaceIndex number with the one corresponding to your adapter. Change IPAddress with the static IP address you want to assign to your device. Only if necessary, change PrefixLength (subnet mask) with the correct bit number. Typically on a home network the setting is 24.

Also, change the DefaultGateway option with the default gateway address of the network.

Type the following command to assign a DNS server address and press Enter:

PowerShell Set-DNSClientServerAddress command

If you need to set a secondary DNS server address, you can use the same command, and to add another address simply use a comma. Here’s an example:

In the above command make sure to change the InterfaceIndex number with the one corresponding to your adapter, and change ServerAddresses with the DNS IP address.

After you complete the steps, you can test the new configuration by opening your web browser and trying to navigate to a website.

How to assign static IP address using Settings

On Windows 10, you can also change the IP address settings using the Settings app for wireless as well as wired adapters.

Assign static IP address for Wi-Fi adapter

To assign a static IP address configuration to a Wi-Fi adapter, use these steps:

Open Settings.

Click on Network & Internet.

Click on Wi-Fi.

Click on the current connection.

Wi-Fi settings

Under the “IP settings” section, click the Edit button.

Wi-Fi IP settings on Windows 10

Using the drop-down menu, select the Manual option.

Wi-Fi static IP option

Turn on the IPv4 toggle switch.

Wi-Fi edit IP address settings

Set the static IP address.

Set the Subnet prefix length (subnet mask). If your subnet mask is 255.255.255.0, then the subnet prefix length in bits is 24.

Set the Default Gateway address.

Set the Preferred DNS address.

Set the Alternate DNS address (if applicable).

Click the Save button.

Wi-Fi TCP/IPv4 static configuration

Once you complete the steps, you can test your settings using your web browser to try opening a website.

Assign static IP address for Ethernet adapter

To assign a static IP address configuration to an Ethernet (wired) adapter, use these steps:

Open Settings.

Click on Network & Internet.

Click on Ethernet.

Click on the current connection.

Ethernet settings

Under the “IP settings” section, click the Edit button.

Ethernet IP settings on Windows 10

Using the drop-down menu, select the Manual option.

Ethernet static IP option

Turn on the IPv4 toggle switch.

Ethernet edit IP address settings

Set the static IP address.

Set the Subnet prefix length (subnet mask). If your subnet mask is 255.255.255.0, then the subnet prefix length in bits is 24.

Set the Default Gateway address.

Set the Preferred DNS address.

Set the Alternate DNS address (if applicable).

Click the Save button.

Ethernet TCP/IPv4 static configuration

After you complete the steps, you can test your settings using your web browser to try opening a website.

Whatever the method you use, it’s recommended to assign an IP address within the network range and outside of the DHCP server scope to allow proper connectivity and avoid address conflicts, as two devices sharing the same IP address, neither of them will be able to connect to the internet.

We’re focusing this guide on Windows 10, but you can use the Command Prompt and Control Panel methods on Windows 8.1 and Windows 7.

If you need help configuring a static IP address on Windows 10, make sure to ask in the Pureinfotech forums.

Update September 14, 2020: This guide was originally published in September 2017, and it’s been updated to reflect the new changes available on Windows 10.

We may earn commission for purchases using our links to help keep offering the free content. Privacy policy info.

All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Windows phone 10 reset protection
  • Windows phone 10 nokia 1320
  • Windows phone 10 jailbreak
  • Windows phone 10 4pda игры
  • Windows phone 8s blue htc