Subnetting - Subnetting

Definition and Purpose of Subnetting

  • Subnetting: The process of dividing a large network into smaller subnetworks or subnets.
  • Importance: Necessary for efficient IP address management and network organization.

Key Concepts

  • Subnet Masks: Extend the functionality of network and host IDs by indicating the network portion of an address.

  • Examples of subnet masks include 255.255.255.0 for a simple Class C network.

  • Determines how many addresses can be allocated within a subnet.

  • CIDR (Classless Inter-Domain Routing): A method that allows more flexible allocation of IP addresses compared to traditional subnetting methods.

  • Introduces the use of prefixes (e.g., /24) to specify network size.

  • Reduces wastage of IP addresses by allowing variable-length subnet masking.

Address Classes

  • IP Address Classes: Global IP space is divided into categories:
  • Class A: Supports a vast number of devices. Example: 9.0.0.0 class A network can accommodate 16,777,216 addresses.
    • Gateway Routers: Handle routing of messages within the Class A network to the correct device by examining the host ID after identifying the network ID.
    • Provides single entry and exit point for traffic within the network.
  • Class B and C: Support less than Class A; used for smaller networks.

Network Routing Process

  • Core routers: Routers that communicate with other core routers, know the class of an IP address and facilitate sending data to appropriate gateways.
  • Gateway Router's Role:
  • Responsible for directing incoming and outgoing data between the internet and the local subnet.
  • When a packet reaches the gateway, it uses the host ID to determine the final destination within the subnet.

Common Issues in Subnetting

  • Incorrect subnet setups can lead to connectivity problems. Understanding subnetting is crucial for IT support specialists to troubleshoot network issues effectively.

Conclusion

  • Binary Math Techniques: Essential for understanding how subnetting, subnet masks, and CIDR work. Knowledge of binary calculations aids in determining the size and number of possible subnets and hosts within a network.