What is IP Addressing and classful addressing ?

What is IP Addressing and classful addressing ?

IP Addressing and Classful Addressing

➤ 1. What is IP Addressing?

📖 Definition: IP Addressing is the method of assigning a unique numerical address to each device connected to a network using the Internet Protocol (IP). This address helps in identifying and communicating with devices over a network.

📝 Important Points:

  • IP stands for Internet Protocol.
  • An IP address is a 32-bit number (in IPv4).
  • It is written in dotted decimal format, e.g., 192.168.1.1
  • IP address is divided into two parts:
    1. Network ID – identifies the network.
    2. Host ID – identifies the device within that network.

🎯 Example: IP Address = 192.168.1.1
→ Network ID = 192.168.1
→ Host ID = 1

🎓 Memory Trick: “N comes before H” → Network ID comes first, then Host ID.

➤ 2. What is Classful Addressing?

📖 Definition: Classful addressing is a method of categorizing IP addresses into 5 different classes (A to E), based on the starting bits and the number of networks and hosts they support.

📝 Important Points:

  • Used in early networking before Classless (CIDR) came.
  • Classes: A, B, C, D, and E
  • Based on the first few bits of the IP address.

📊 Table: IP Address Classes

ClassStarting BitsRange of First OctetNetwork BitsHost BitsNo. of NetworksNo. of Hosts per NetworkUse
A01 – 12682412816 million approxLarge networks
B10128 – 191161616,38465,000 approxMedium networks
C110192 – 2232482 million approx254Small networks
D1110224 – 239Multicasting
E1111240 – 255Experimental

🎯 Example: IP Address: 172.16.5.4 → First octet = 172
→ Falls in range 128-191 → Class B
→ Network ID = 172.16
→ Host ID = 5.4

📝 Final Exam Note:

  • IP addressing uniquely identifies each device on a network.
  • Classful addressing divides the IP address space into fixed classes.
  • Classes A, B, and C are used for unicast (host-based) communication.
  • Classes D and E are used for special purposes.
  • Helps routers and devices understand where to send data.

➤ 1. IP Addressing क्या है?

📖 परिभाषा:
IP Addressing एक ऐसी विधि है जिसमें नेटवर्क से जुड़े हर डिवाइस को एक यूनिक (अद्वितीय) संख्यात्मक पता (IP Address) दिया जाता है ताकि वे एक-दूसरे से डेटा भेज और प्राप्त कर सकें।

📝 मुख्य बिंदु:

  • IP का पूरा नाम है – Internet Protocol
  • यह 32-बिट संख्या होती है (IPv4 में)
  • इसे चार भागों में डॉट के द्वारा लिखा जाता है, जैसे: 192.168.1.1
  • IP Address दो भागों में बंटा होता है:
    1. Network ID – नेटवर्क को पहचानता है
    2. Host ID – उस नेटवर्क में डिवाइस को पहचानता है

🎯 उदाहरण: IP Address: 192.168.1.1
→ Network ID = 192.168.1
→ Host ID = 1

🎓 याद रखने की ट्रिक:
“N पहले आता है H से” → Network ID पहले, Host ID बाद में।

➤ 2. Classful Addressing क्या है?

📖 परिभाषा:
Classful Addressing एक पुरानी विधि है जिसमें IP Address को पांच क्लास (A से E) में बांटा जाता है, ताकि अलग-अलग नेटवर्क और होस्ट के हिसाब से IP address को वितरित किया जा सके।

📝 मुख्य बिंदु:

  • इसमें IP Address को 5 क्लासों में बांटा गया है: A, B, C, D, E
  • क्लास की पहचान पहले ऑक्टेट (First Octet) के नंबर से होती है
  • यह IPv4 में उपयोग होती थी (अब Classless भी चलता है)

📊 Classful Addressing की सारणी:

क्लासशुरुआती बिट्सFirst Octet का Rangeनेटवर्क बिट्सहोस्ट बिट्सनेटवर्क की संख्याहर नेटवर्क में होस्टउपयोग
A01 – 126824128लगभग 1.6 करोड़बड़े नेटवर्क
B10128 – 191161616,384लगभग 65 हजारमध्यम नेटवर्क
C110192 – 223248लगभग 20 लाख254छोटे नेटवर्क
D1110224 – 239मल्टीकास्टिंग
E1111240 – 255रिसर्च / एक्सपेरिमेंटल

🎯 उदाहरण: IP Address: 172.16.5.4 → First Octet = 172
→ यह 128-191 की रेंज में आता है → Class B
→ Network ID = 172.16
→ Host ID = 5.4

अंतिम परीक्षा नोट:

  • IP Address हर डिवाइस की पहचान के लिए जरूरी होता है
  • Classful Addressing में IP Address को क्लासों में बांटा जाता है
  • Class A, B, C – Unicast (host communication) के लिए
  • Class D – Multicasting के लिए
  • Class E – प्रयोग/रिसर्च के लिए
  • यह तरीका Routing और Address Assignment में मदद करता है

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *