Subnetwork Mask Format Options
Most commands allow you to specify IPv4 subnetwork masks in one of two ways:
dotted decimal or prefix length notation.
NOTE:
Protocol commands that use a reverse mask format (for example, RIP) cannot
use the prefix notation format. Use the CLI help to verify if a command supports the
/N prefix notation.
Dotted decimal notation expresses IP addresses and masks in dotted quads - four
octets separated by dots (A.B.C.D). In this format, each octet in the address or mask
is represented as a decimal number and the dots are used as octet separators.
For example, an IP address and subnetwork mask in dotted decimal notation would
appear as follows:
10.10.24.6 255.255.0.0
Prefix length notation (often called network prefix format) allows for more efficient
allocation of IP addresses than the old Class A, B, and C address scheme. The prefix
length is the number of leftmost contiguous bits equal to 1 in the subnetwork mask.
This format appears immediately following the dotted decimal IP address using a /N
format.
NOTE:
You can issue the network prefix with or without a space between the IP
address and the network prefix (/N).
For example, the same IP address and subnetwork mask mentioned above would
appear as follows using /N format:
10.10.24.6/16
or
10.10.24.6 /16
The following sections describe each subnetwork mask addressing method in more
detail.
Subnet Addressing
A subnet is a subset of a class A, B, or C network. Subnets cannot be used with class
D (multicast) addresses.
A network mask is used to separate the network information from the host
information about an IP address. Figure 3 on page 10 shows the network mask
255.0.0.0 applied to network 10.0.0.0. The mask in binary notation is a series of 1s
followed by a series of contiguous 0s. The 1s represent the network number; the 0s
represent the host number. The sample address splits the IP address 10.0.0.1 into
a network portion of 10 and a host portion of 0.0.1.
IP Addressing
■
9
Chapter 1: Configuring IP
Содержание IGP - CONFIGURATION GUIDE V11.1.X
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 18: ...xviii List of Figures JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 20: ...xx List of Tables JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 26: ...2 Internet Protocol JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 148: ...Set clauses set local pref 400 See show route map 124 Monitoring IP JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 228: ...204 Internet Protocol Routing JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 264: ...240 Monitoring RIP JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 438: ...414 Monitoring IS IS JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 439: ...Part 3 Index Index on page 417 Index 415...
Страница 440: ...416 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 454: ...430 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...