beautypg.com

Ip addresses and octets, Subnet masks and octets, Determining whether devices are on the same subnet – Extron Electronics FOX Matrix 14400 User Guide User Manual

Page 94: The same subnet

background image

IP Addresses and Octets

Valid IP addresses consist of four 1-, 2-, or 3-digit numeric subfields, properly called
“octets,” separated by dots (periods) (see figure 55). Each octet can be numbered from 000
through 255. Leading zeroes, up to three digits total per octet, are optional. Values of 256
and above are invalid.

192.168.254.254

Typical IP Address:

Octets

Figure 55.

Typical IP Address

Subnet Masks and Octets

The subnet mask (see figure 56) is used to determine whether the local and remote devices
are on the same subnet or different subnets. The subnet mask consists of four numeric
octets separated by dots. Each octet can be numbered from 000 through 255. Leading
zeroes, up to three digits total per octet, are optional. Each octet typically contains either
255 or 0. The octets determine whether or not the same octets of two IP addresses will be
compared when determining if two devices are on the same subnet.

255.255.0.0

Typical Subnet Mask:

Octets

255 indicates that this octet will be

compared between two IP addresses.

0 indicates that this octet will not be
compared between two IP addresses.

Figure 56.

Typical Subnet Mask

Determining Whether Devices Are on the Same Subnet

To determine the subnet, the IP address of the local device is compared to the IP address
of the remote device (see figure 57). The octets of each address are compared or not
compared, depending on the value in the related subnet mask octet.

If a subnet mask octet contains the value 255, the related octets of the IP addresses of
the local device and the remote device are unmasked.
Unmasked octets are compared (indicated by

?

in figure 57).

If the subnet mask octet contains the value 0, the related octets of the IP addresses of
the local device and remote device are masked.
Masked octets are not compared (indicated by

X

in figure 57).

If the unmasked octets of the two IP addresses

match (indicated by

=

in figure 57, example 1),

the two addresses

are on the same subnet.

If the two unmasked fields

do not match (indicated by

in figure 57, example 2 and

example 3), the addresses

are not on the same subnet.

192.168.254.254
255.255.0.0 (

?

.

?

.

X

.

X

)

192.168.2.25

=

.

=

.

X

.

X

Match

(

Same subnet

)

(

Different subnet

)

(

Different subnet

)

Local IP Address:

Subnet Mask:

Remote IP Address:

Match?:

Example 1

Example 2

192.168.254.254
255.255.0.0 (

?

.

?

.

X

.

X

)

190.190.2.25

.

.

X

.

X

No match

Example 3

192.168.254.254
255.255.0.0 (

?

.

?

.

X

.

X

)

192.190.2.25

=

.

.

X

.

X

No match

Figure 57.

Comparing the IP Addresses of the Local and Remote Devices

FOX Matrix 320x and FOX Matrix 14400 • Ethernet Connection

88

This manual is related to the following products: