Apipa отключить windows 10 как

  1. Lavcat
    Master Guru

    Messages:
    567
    Likes Received:
    47
    GPU:

    Recently I installed a new network card. Initially I had the IP address of the new card set to the same address as another device. That is something I could easily fix. However Windows «helpfully» enabled APIPA (Automatic Private IP Addressing). It took me hours to get my network settings back. I was almost about to reimage my Windows machine from backups.

    Now everything is working properly again. However «ipconfig /all» shows «Autoconfiguration Enabled…..Yes». I would very much like to turn Autoconfiguration off so there is no possibility of it messing me up again. What little information I can find seems old and out of date. Can anyone tell me how to turn Autoconfiguration off? Thanks.

  2. A new DWORD called IPAutoconfigurationEnabled in the specific interface here > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces

    APIPA is used when there is no DHCP server giving an IP address. An APIPA (169.x.x.x) address is then given. If you disable APIPA, you’ll get 0.0.0.0. You wont be doing anything with this address.

    Either set the IP manually or activate a DHCP server on your subnet.


    386SX and Lavcat like this.

  3. Lavcat
    Master Guru

    Messages:
    567
    Likes Received:
    47
    GPU:

    Thank you. However the registry fix did not work for me. Ipconfig /all still shows Autoconfiguration Enabled «Yes».

  4. 386SX
    Ancient Guru

    Messages:
    2,210
    Likes Received:
    2,350
    GPU:

    https://support.waters.com/KB_Inf/M…disable_Automatic_Private_IP_Addressing_APIPA
    [Edit: besides this article being from 2021 everything else to this topic seems to be for Server 2003/XP and 99% of articles are from 1999 to 2012, so MS may have removed this feature in Win10/11.]

    Did you create the key under the correct interface?

    Btw. APIPA is a fallback, so it is almost safe to assume you either do not have/use a DHCP server or it has connection issues. Disabling APIPA, as member @hypnotize99 already wrote, will disconnect you completely instead of providing at least some network access.

  5. Lavcat
    Master Guru

    Messages:
    567
    Likes Received:
    47
    GPU:

    Thanks for your help. I believe I chose the correct interface. I even deleted the keys for the interfaces and adaptors that were not in use.

    As a further experiment I tried using netsh. The command
    netsh lan set autoconfig enabled=no «Ethernet 7»
    reported autoconfig was now off, however that «autoconfig» may refer to something else. The netsh command did not seem to hurt anything however.

    But after all that I’ve tried so far ipconfig still reports Autoconfiguration is enabled.

    My wired network uses static IP addressing. I use DHCP for wireless.

  6. 386SX
    Ancient Guru

    Messages:
    2,210
    Likes Received:
    2,350
    GPU:

    I somewhere read about some people having problems with APIPA because somehow it does not vanish besides them manually setting an IP. Is that the case with your LAN? Or why specifically do you want to disable something which should not get used at all when having IPs set manually?

  7. Lavcat
    Master Guru

    Messages:
    567
    Likes Received:
    47
    GPU:

    I want to disable APIPA because if I ever mistakenly again set two devices to the same IP address I don’t want APIPA to «help» by reconfiguring my network.

Share This Page

Иногда пользователи Windows могут сталкиваться с таким явлением как автонастройка IPv4-адреса. В результате происходит автоматическая подмена прописанного в настройках IP адреса. Обнаружить это можно набрав в коносли команду ipconfig /all и получив в ответ следующее сообщение:

Автонастройка IPv4-адреса: 169.254.254.183 (Основной)

Подмена происходит из-за технологии APIPA (Automatic Private IP Addressing). Используется она операционной системой Windows чтобы присвоить компьютеру IP адрес (вида 169.254.x.x) если он не может достучаться до DHCP сервера, указанного в настройках сетевого адаптера.

Чтобы отключить автонастройку IPv4 добавьте параметр DWORD «IPAutoconfigurationEnabled» со значением «0x0» в раздел реестра:

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\Adapter GUID]

Adapter GUID — это идентификатор сетевой карты. В этом разделе системного реестра хранятся её настройки.

отключение автонастройки IPv4

Если параметра «IPAutoconfigurationEnabled» нет, то автонастройка IPv4 осуществляется по умолчанию.

Если при отключении автонастройки сетевая карта перестает выдавать IP-адрес, то перейдите снова в указанный ключ реестра, найдите там параметр «IPAddress» и пропишите ему в качестве значения нужный IP.

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

Automatic Private IP Addressing (APIPA), is a feature of Windows (except Windows NT) operating systems. With APIPA, DHCP clients can automatically self-configure their IP configuration with an IP address and subnet mask when a DHCP server isn’t available.

When a DHCP client boots up, it first looks for a DHCP server in order to obtain an IP configuration. If the client is unable to successfully negotiate a DHCP lease, it uses APIPA to automatically configure itself with an IP address from a range that has been reserved especially for Microsoft.

The IP address range is 169.254.0.1 through 169.254.255.254. The client also configures itself with a default class B subnet mask of 255.255.0.0. A client uses the self-configured IP address until a DHCP server becomes available.

The APIPA service also checks every five minutes for the presence of a DHCP server. If it detects a DHCP server on the network, APIPA stops, and the DHCP server replaces the APIPA networking addresses with dynamically assigned addresses.

How to disable APIPA

Windows XP/Vista/7/200x

  1. Open Registry Editor
  2. In Registry Editor, navigate to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\adaptername
  3. Create the following entry: IPAutoconfigurationEnabled: REG_DWORD
  4. Assign a value of 0 to disable Automatic Private IP Addressing (APIPA) support for the selected network adapter
  5. Close Registry Editor

If the IPAutoconfigurationEnabled entry is not present, a default value of 1 is assumed, which indicates that APIPA is used.

If multiple adapters are installed, you can disable APIPA for all installed adapters by setting the IPAutoconfigurationEnabled entry (create a REG_DWORD if it does not exist) to 0 at the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Windows 9x/ME

  1. Open Registry Editor
  2. In Registry Editor, navigate to the following registry key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\DHCP
  3. Create the following entry: IPAutoconfigurationEnabled: REG_DWORD
  4. Assign a value of 0 to disable Automatic Private IP Addressing (APIPA) support for the selected network adapter.
  5. Close Registry Editor.

Смена IP адреса может происходить по следующим причинам:

1) Использование динамической адресации провайдером (на это вы повлиять не можете, разве что купить статический адрес у провайдера и выполнить соответствующие настройки).

2) Если провайдер вам выдал статический адрес, а компьютер периодически виден под разными адресами, значит вы используете либо VPN, либо прокси с динамической адрессацией. Отключите туннели и прокси, и будет вам счастье.

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

How to disable Zeroconf automatic network configuration APIPA, Link-Local for TCP/IP addressing if no DHCP server is available

Disable Network Zeroconf APIPA

ZEROCONF known as IPv4 Link-Local and Automatic Private IP Addressing (APIPA) uses 169.254.0.0 for network addresses.

ZEROCONF commonly known as IPv4 Link-Local (IPv4LL) and Automatic Private IP Addressing (APIPA) uses the range 169.254.0.0/16 for network addresses. This APIPA addressing is activated by default, this are often not desired by system administrators.

Most Windows versions and Linux distributions use zero network configuration (ZEROCONF) to automatically configure the network without a central instance, i.e. without the need for a DHCP or DNS server to be present in a network. ZEROCONF published at IETF that plans and coordinates a number of dynamic protocols. It is intended to enable an operating system to automatically configure networks.

Under Windows network APIPA ZEROCONF can be disable due modify the registry, to do it with open the command prompt as administrator and run the REG command with Copy & Paste.

REG ADD HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v IPAutoconfigurationEnabled /t REG_DWORD /d "00000000" /f

Linux disable ZEROCONF

In Linux edit the network file and insert ZEROCONF = YES or NO.

$ sudo vi /etc/sysconfig/network

NOZEROCONF=yes

RHEL / Fedora / CentOS configuring as follows.

$ service network restart

Debian – Ubuntu avahi-daemon

For Linux Mint and Ubuntu the avahi-daemon configuration has to be changed.

$ sudo vi /etc/default/avahi-daemon

AVAHI_DAEMON_DETECT_LOCAL=0

Now restart Linux Mint / Ubuntu avahi-daemon.

$ sudo /etc/init.d/avahi-daemon restart

The avahi-daemon should do not start automatically on system boot.

$ update-rc.d -f avahi-daemon remove

Using RHEL or CentOS run this command.

$ chkconfig avahi-daemon off

Network Zero-configuration

Network Zero-configuration (zeroconf), also know as APIPA and Link-local is a set of technologies that automatically creates a usable computer network based on the Internet Protocol Suite (TCP/IP) when computers or network peripherals are interconnected. It does not require manual operator intervention or special configuration servers. Without zeroconf, a network administrator must set up network services, such as Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS), or configure each computer’s network settings manually.

Zeroconf is built on three core technologies: automatic assignment of numeric network addresses for networked devices, automatic distribution and resolution of computer hostnames, and automatic location of network services, such as printing devices.

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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как убрать шум в микрофоне на windows 10
  • Right click disable windows 10
  • Wifi analyzer for windows 10 download
  • Ошибка 0x000006d9 при установке принтера windows 7
  • Как раздать интернет с одного компьютера на другой через кабель windows 7