Pages

  • Networking foundations
    • Network Edge
    • Network Core
    • Delay
    • Layers
    • Networks Under Attack
  • Application layer
    • Web and HTTP
    • Emails
    • DNS
    • Peer-to-peer applications
  • Transport layer
    • Multiplexing and Demultiplexing
    • Connectionless Transport: UDP
    • Principles of Reliable Data Transfer
    • TCP
    • Principles of Congestion Control
    • TCP Congestion Control
    • Transport layer practice problems
  • Network layer and forwarding
    • Inside a router
    • IPv4 and IPv6 addressing
    • Generalized Forwarding and SDN
    • Middleboxes
    • Network layer review questions
    • Network layer practice problems
  • Routing and the control plane
    • Routing protocols
    • Intra-AS routing: OSPF
    • Inter-AS routing: BGP
    • Routing review questions
    • Routing practice problems
  • Link layer
    • Error Detection and Correction Techniques
    • Multiple Access Links and protocols
  • Networking lab fundamentals
    • Socket programming
    • Subnetting basics
    • Telnet and SSH
    • Subnetting practice
    • Static and dynamic routing
    • VLANs
Writeups/Computer Networking

January 25, 2024/13 min total

Computer Networking

Subnetting basics

Subnetting basics
  • Networking foundations
    • Network Edge
    • Network Core
    • Delay
    • Layers
    • Networks Under Attack
  • Application layer
    • Web and HTTP
    • Emails
    • DNS
    • Peer-to-peer applications
  • Transport layer
    • Multiplexing and Demultiplexing
    • Connectionless Transport: UDP
    • Principles of Reliable Data Transfer
    • TCP
    • Principles of Congestion Control
    • TCP Congestion Control
    • Transport layer practice problems
  • Network layer and forwarding
    • Inside a router
    • IPv4 and IPv6 addressing
    • Generalized Forwarding and SDN
    • Middleboxes
    • Network layer review questions
    • Network layer practice problems
  • Routing and the control plane
    • Routing protocols
    • Intra-AS routing: OSPF
    • Inter-AS routing: BGP
    • Routing review questions
    • Routing practice problems
  • Link layer
    • Error Detection and Correction Techniques
    • Multiple Access Links and protocols
  • Networking lab fundamentals
    • Socket programming
    • Subnetting basics
    • Telnet and SSH
    • Subnetting practice
    • Static and dynamic routing
    • VLANs

Subnet reveals how many bits in the IP addr are used for the network by masking the network portion of the IP address

IP address consists of two parts

Network address

Host address

CN Lab / MidTerm — Subnetting basics

Why even create subnets?

CN Lab / MidTerm — Subnetting basics

Ab har koi broadcast krta rahega network ka chopat hojaega

CN Lab / MidTerm — Subnetting basics

Now we create subnets

CN Lab / MidTerm — Subnetting basics
CN Lab / MidTerm — Subnetting basics

256 - 2 = 254 allowable hosts

0000..0 and 1111..1

Are for network and broadcast

CN Lab / MidTerm — Subnetting basics
CN Lab / MidTerm — Subnetting basics — notes

On this page

  1. Why even create subnets?