CCNA Certification Study Guide - IP Addressing and Subnetting

CCNA Certification Study Guide by Todd Lammle

IntroductionT he study of IP addressing and subnetting is crucial for network design and management, as it forms the foundation for how devices communicate over a network. This section will cover the fundamental concepts associated with IP addresses, including the difference between IPv4 and IPv6, the purpose of subnetting, and best practices for assigning IP addresses within a network.

The chapter focuses on IP addressing and subnetting, which is crucial for mastering networking.

  • Emphasis on practical understanding of subnetting skills and methods.

Subnetting Basics

  • Previous knowledge of subnetting may hinder understanding; therefore, approach with an open mind.

  • Importance of being well-versed in subnetting as a skill central to networking.

Understanding Subnetting

  • Concept of Subnetting:

    • Dividing a large network into smaller, manageable sub-networks (subnets).

    • Helps in organizing networks and improving performance.

  • Illustration of a Network:

    • Figure 3.1 depicts a single large network.

    • Figure 3.2 shows multiple networks using addresses like 192.168.10.0/24.

Steps for Creating Subnets

  1. Determine required network IDs.

    • Each LAN subnet requires one network ID.

    • Each WAN connection requires one network ID.

  2. Determine required host IDs per subnet.

    • Each TCP/IP host requires one ID.

    • Each router interface requires one ID.

  3. Create:

    • A unique subnet mask for the network.

    • A unique subnet ID for each physical segment.

    • A range of host IDs for each subnet.

Subnet Masks and Concepts

  • Definition:

    • A subnet mask is a 32-bit value that distinguishes between the network and host portions of an IP address.

    • Comprised of 1s and 0s, where 1s indicate the network subnet addresses.

  • Default Subnet Masks:

    • Class A: 255.0.0.0

    • Class B: 255.255.0.0

    • Class C: 255.255.255.0

  • Explanation of implications and limitations regarding modifying default masks.

Understanding Powers of 2


  • Powers of 2 are crucial for subnetting knowledge; memorize key values:

    Power

    Value


    2^0

    1


    2^1

    2


    2^2

    4


    2^3

    8


    2^4

    16


    2^5

    32


    2^6

    64


    2^7

    128


    2^8

    256


    2^9

    512


    2^10

    1024


    2^11

    2048


    2^12

    4096


    2^13

    8192


    2^14

    16384

    Classless Inter-Domain Routing (CIDR)

    • CIDR provides a method for ISPs to allocate IP addresses in a block size, indicated with a slash notation (e.g., 192.168.10.32/28).

    • Explanation of subnet masks in CIDR format, how to interpret them, and the significant benefits of varying subnet sizes.

    IP Subnet-Zero

    • Definition: Allows the use of the first subnet in a network design.

    • Importance in obtaining additional subnets; introduced as a command in Cisco IOS version 12.x and remains default from version 15.x.

    Subnetting Class C Addresses

    • Available Class C Subnet Masks:

      Binary

      Decimal

      CIDR Notation

      00000000

      255.255.255.0

      /24

      10000000

      255.255.255.128

      /25

      11000000

      255.255.255.192

      /26

      11100000

      255.255.255.224

      /27

      11110000

      255.255.255.240

      /28

      11111000

      255.255.255.248

      /29

      11111100

      255.255.255.252

      /30

    • Explanation of each mask, including host bit availability, subnet counts, and valid host addresses.

    Subnetting Methodology

    • How to determine:

      • Number of subnets

      • Number of valid hosts per subnet

      • Valid subnet addresses

      • Broadcast addresses of each subnet

      • Valid host ranges

    Practice Example #1C: Subnetting 255.255.255.128 (/25)
    • Given IP: 192.168.10.0

      • Number of subnets: 2

      • Number of hosts: 126

      • Valid subnets: 0 and 128

      • Valid host ranges: 1-126, 129-254

      • Broadcast addresses: 127, 255

    Practice Example #2C: Subnetting 255.255.255.192 (/26)
    • Given IP: 192.168.10.0

      • Number of subnets: 4

      • Number of hosts: 62

      • Valid subnets: 0, 64, 128, 192

      • Valid host ranges and broadcast addresses specified.

    Network Implementation and Logical Addressing
    • Using routers to create subnets and determine valid hosts.

    • Practical approaches on subnetting recommendations to maintain flexibility for future growth.

    Summary of Practice Examples (Class C)
    • Consolidated information about subnetting methods showcases the ability to define valid subnets, broadcast addresses, and understanding of the implications of subnet sizes.

    Subnetting Class B Addresses

    • Available Class B Subnet Masks:

      • 255.255.0.0 (/16)

      • 255.255.128.0 (/17)

      • 255.255.192.0 (/18)

    • Similar process of subnetting as Class C; differences noted regarding subnet and broadcast addresses in higher octets.

    Practice Example #1B: Subnetting 255.255.128.0 (/17)
    • Given IP: 172.16.0.0

      • Number of subnets: 2

      • Number of hosts: 32,766

      • Valid subnet addressing analyzed.

    Practice Example #2B: Subnetting 255.255.192.0 (/18)
    • Given IP: 172.16.0.0

      • Number of subnets: 4

      • Number of hosts: 16,382

      • Valid subnet addressing and broadcast addresses specified.

    Summary Questions and Review

    1. Questions testing subnetting knowledge covering topics from subnet counts, host limits, CIDR notation.

    2. Review questions can be found in the Appendix providing further comprehension checks on the chapter topics.

    Conclusion

    • Mastery of subnetting is essential for furthering knowledge in Cisco certification processes; comprehension of the material ensures the ability to subnet effectively.

    • Encourage thorough review and practical application of subnetting scenarios for full grasp.