共用方式為


Value (Standard 7 Package Reference)

7/8/2014

Value specifies the value of the IpAddress.

It can also optionally specify a routing prefix length, which is often expressed as a subnet mask. The routing prefix length refers to the number of leading bits in the IP address. A subnet mask is a bit mask covering the number of bits used in the prefix.

If the routing prefix length is not defined, the default routing prefix length will be used, based on the class of the IP address.

Default routing prefix lengths and subnet masks for IPv4 addresses

Class

Start

End

Default routing prefix length

Default subnet mask in dotted decimal

A

0.0.0.0

127.255.255.255

8

255.0.0.0

B

128.0.0.0

191.255.255.255

16

255.255.0.0

C

192.0.0.0

223.255.255.255

24

255.255.255.0

D

224.0.0.0

239.255.255.255

Multicasting

Multicasting

E

240.0.0.0

255.255.255.254

Reserved

Reserved

Values

Value

Specifies the value of the IP Address, and routing prefix length. Value is a string.

To use the default routing prefix length, use the format: <IP_Address>. <IP_Address> can be any valid IPv4 or IPv6 address.

To define a routing prefix length, use the format: <IP_Address>/<Routing_Prefix_Length>. For IPv4 addresses, <Routing_Prefix_Length> can be any value between 0 and 32. For IPv6 addresses, <Routing_Prefix_Length> can be any value between 0 and 64.

Valid Passes

specialize

windowsPE

See Also

Concepts

IpAddress