netsh » interface » ipv4 » set » address

Microsoft Windows [Version 6.0.6001]
(C) Copyright 2006 Microsoft Corp.
c:\windows>netsh interface ipv4 set address ? Usage: set address [name=] [[source=]dhcp|static] [[address=][/] [[mask=]] [[gateway=]|none [gwmetric=]] [[type=]unicast|anycast] [[subinterface=]] [[store=]active|persistent] Parameters: Tag Value name - Interface name or index. source - One of the following values: dhcp: Enables DHCP for configuring IP addresses for the specified interface. static: Disables DHCP for configuring IP addresses for the specified interface. address - IPv4 address to add or modify, optionally followed by the subnet prefix length. mask - The IP subnet mask for the specified IP address. gateway - One of the following values: : A specific default gateway for the static IP address you are setting. none: No default gateways are set. This is the default. gwmetric - The metric for the default gateway. This field should be set only if gateway is specified. type - One of the following values: unicast: Marks the address as a unicast address. This is the default. anycast: Marks the address as an anycast address. subinterface - LUID of the subinterface on which the default gateway exists. This parameter is only needed on interfaces with multiple subinterfaces. store - One of the following values: active: Set only lasts until next boot. persistent: Set is persistent. This is the default. Remarks: Used to enabled or disable DHCP for IP address configuration. Also removes any previous static IP addresses and default gateways, and can add a new static IP address and default gateway. Examples: set address name="Local Area Connection" source=dhcp set address "Local Area connection" static 10.0.0.9 255.0.0.0 10.0.0.1 1

NETSH / INTERFACE / IPV4 / SET / ADDRESS


Quick - Link:








Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



Sets the IP address or default gateway to an interface. / Windows Vista

HTTP: ... cmd/en/Windows_Vista/netsh/interface/ipv4/set/address.htm
0.046
18115

Create a screenshot in Windows 8.1 / 10 and auto-save as a file!

What is phishing?

Can I use the screen testing tools on MS Windows 11 OS?

Facebook und andere Passwörter herausfinden ohne zurücksetzen?

Change settings in Win 8.1/8 when to be notified about customizes on your computer!

How to create a non-compressible file with your software?



(0)