netsh » interface » ipv4 » add » address

Microsoft Windows [Version 6.1.7000]
(C) Copyright 2009 Microsoft Corp.
C:\Windows>netsh interface ipv4 add address ? Usage: add address [name=] [[address=][/ [[mask=]]] [[type=]unicast|anycast]] [[gateway=] [gwmetric=]] [[validlifetime=]|infinite] [[preferredlifetime=]|infinite] [[subinterface=]] [[store=]active|persistent] Parameters: Tag Value name - Interface name or index. address - IPv4 address to add, optionally followed by the subnet prefix length. mask - The IP subnet mask for the specified IP address. type - One of the following values: unicast: Adds a unicast address (default). anycast: Adds an anycast address. gateway - The IPv4 address of a default gateway to add. gwmetric - The metric to the default gateway. validlifetime - Lifetime over which the address/route is valid. The default value is infinite. preferredlifetime - Lifetime over which the address/route is preferred. The default value is infinite. subinterface - LUID of subinterface on which the default gateway exists. This parameter is only needed on interfaces with multiple subinterfaces. store - One of the following values: active: Address will disappear on next boot. persistent: Address will be persistent. This is the default. Remarks: Adds static IP addresses and default gateways to an interface. If DHCP is enabled on the interface, it will be disabled. Examples: add address "Local Area Connection" 10.0.0.2 255.0.0.0 add address "Local Area Connection" gateway=10.0.0.3 gwmetric=2 The first command adds a static IP address of 10.0.0.2 with a subnet mask of 255.0.0.0 to the Local Area Connection interface. The second command adds the IP address of 10.0.0.3 as a second default gateway for this interface with a gateway metric of 2.

NETSH / INTERFACE / IPV4 / ADD / ADDRESS


Quick - Link:
netsh interface ipv6 set subinterface
Modifies subinterface configuration parameters.
netsh ras diagnostics show securityeventlog
Shows whether Security Event Logs are enabled.
netsh interface ipv4 show neighbors
Shows neighbor cache entries.
netsh ras aaaa show authentication
Displays the current authentication provider.
netsh interface ipv4 delete neighbors
Flushes the ARP cache for one or all interfaces.








Windows-10


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


Windows 10 How To


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



Adds a static IP address or default gateway to the specified interface. / Windows 10, 8.1, Seven

HTTP: ... cmd/en/Windows_7/netsh/interface/ipv4/add/address.htm
0.046
19908

Is it possible to customize the title of the Quad-Explorer window?

Can I delete Autocomplete entries, strings, text entered by mistake or no longer wanted?

I would love to see the full name of the directory on the tab instead of "..."!

Hide the title bar and menu, move the window by dragging the background!

Why at Copy Paste actions show the selection menu on Windows?

The autopilot and the benchmark, what's the difference?



(0)