|
|
PS C:\Windows\system32> New-NetIPAddress -InterfaceAlias "以太网" -IPAddress 200.200.200.100 -PrefixLength 24 -Type Unicast
IPAddress : 200.200.200.100
InterfaceIndex : 2
InterfaceAlias : 以太网
AddressFamily : IPv4
Type : Unicast
PrefixLength : 24
PrefixOrigin : Manual
SuffixOrigin : Manual
AddressState : Tentative
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore
IPAddress : 200.200.200.100
InterfaceIndex : 2
InterfaceAlias : 以太网
AddressFamily : IPv4
Type : Unicast
PrefixLength : 24
PrefixOrigin : Manual
SuffixOrigin : Manual
AddressState : Invalid
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : PersistentStore
PS C:\Windows\system32> Get-NetIPAddress -IPAddress 200.200.200.100 | Format-List *
PrefixOrigin : Manual
SuffixOrigin : Manual
Type : Unicast
Store : ActiveStore
AddressFamily : IPv4
AddressState : Preferred
ifIndex : 2
Caption :
Description :
ElementName :
InstanceID :
CommunicationStatus :
DetailedStatus :
HealthState :
InstallDate :
Name : <::8<::8<::8;::55<55;55;
OperatingStatus :
OperationalStatus :
PrimaryStatus :
Status :
StatusDescriptions :
AvailableRequestedStates :
EnabledDefault : 2
EnabledState :
OtherEnabledState :
RequestedState : 12
TimeOfLastStateChange :
TransitioningToState : 12
CreationClassName :
SystemCreationClassName :
SystemName :
NameFormat :
OtherTypeDescription :
ProtocolIFType : 4096
ProtocolType :
Address :
AddressOrigin : 0
AddressType :
IPv4Address : 200.200.200.100
IPv6Address :
IPVersionSupport :
PrefixLength : 24
SubnetMask :
InterfaceAlias : 以太网
InterfaceIndex : 2
IPAddress : 200.200.200.100
PreferredLifetime : 10675199.02:48:05.4775807
SkipAsSource : False
ValidLifetime : 10675199.02:48:05.4775807
PSComputerName :
CimClass : ROOT/StandardCimv2:MSFT_NetIPAddress
CimInstanceProperties : {Caption, Description, ElementName, InstanceID...}
CimSystemProperties : Microsoft.Management.Infrastructure.CimSystemProperties
PS C:\Windows\system32> route print 200.200.200.191
===========================================================================
接口列表
17...6c 1f f7 df be bb ......Microsoft Wi-Fi Direct Virtual Adapter #3
14...6c 1f f7 df be b8 ......Microsoft Wi-Fi Direct Virtual Adapter #4
2...a4 bb 6d df 2c ed ......Intel(R) Ethernet Connection (11) I219-LM
7...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
6...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8
22...6c 1f f7 df be ba ......Ugreen USB WiFi
1...........................Software Loopback Interface 1
===========================================================================
IPv4 路由表
===========================================================================
活动路由:
无
永久路由:
无
IPv6 路由表
===========================================================================
活动路由:
无
永久路由:
无 |
|