Get the App
SLTechnology News&Howtos  ›  Servers  › 

Hyper-V IP address appears 169.254 static IP address is not valid

Shulou Source: shulou.com Published: 2022-06-03 02:11:00 09月22日 Update

In the test environment, after the Hyper-V virtual machine has been configured with a static IP address, the static IP address does not take effect, and two IPv4 addresses appear in the network adapter.

Through the step of deleting the network card, it is found that 169.254 of the IP address still exists.

Solution:

By adding the following registry information

1. Enter regedit in the runtime interface to open the registry

two。 Find the following path

HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentContrilSet\ Services\ Tcpip\ Parameters

3. Create a new subitem in the subfolder with the name ArpRetryCount, type Reg_DWORD, and key value 0

4. Restart the server

5. Use the command ipconfig to view the IP address information, which has returned to normal

Tags: Address static information registry two name command subkey file folder method server step environment interface type network card network path or Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Huawei Shulou Tech Info Xiaomi MySQL