Subnetwork

A subnetwork or subnet is a logical subdivision of an IP network . The practice of dividing a network into two or more networks is called subnetting .

  • Devices in the same subnet share the same network number or routing prefix
  • The the second field (suffix) is considered the rest field or host identifier
  • The routing prefix may be experessed in Classless Inter-Domain Routing (CIDR) + Example: 198.51.100.0/24 or 2001:db8::/32
  • For IPv4 a network may be characterized by its subnet mask or netmask:
    • This is the bitmask that when applied by a bitwise AND operation to any IP address in the network, yields the routing prefix.
      • Usually expressed in dot-decimal notation . For example: 255.255.255.0 is the subnet mask for the prefix 198.51.100.0/24

Network addressing and routing #

STUB

IPv4 #

Determining the network prefix #

See Subnet Mask

Subnetting #

See Subnetting

References #

https://en.wikipedia.org/wiki/Subnetwork