ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Computer Networks
    COMP2119
    Progress0 / 24 topics
    Topics
    1. Introduction and Protocols Architecture2. Basic Concepts of Networking3. Network Topologies4. Layered Architecture5. Physical Layer Functionality6. Data Link Layer Functionality7. Multiple Access Techniques8. Circuit Switching and Packet Switching9. LAN Technologies10. Wireless Networks11. MAC Addressing12. Networking Devices13. Network Layer Protocols14. IPv4 and IPv615. IP Addressing16. Sub Netting17. CIDR18. Routing Protocols19. Transport Layer Protocols20. Ports and Sockets21. Connection Establishment22. Flow and Congestion Control23. Application Layer Protocols24. Latest Trends in Computer Networks
    CC-214›IP Addressing
    Computer NetworksTopic 15 of 24

    IP Addressing

    3 minread
    550words
    Beginnerlevel

    IP addressing is a system used to assign unique identifiers to devices on a network, allowing them to communicate with each other. Each IP address serves as a destination for data packets, enabling devices to send and receive information across the internet and local networks. Here’s a detailed overview of IP addressing, covering its structure, types, and key concepts.

    Structure of IP Addresses

    1. IPv4 Addressing

    • Format: IPv4 addresses are 32 bits long, typically represented in decimal format as four octets separated by periods (e.g., 192.168.1.1).
    • Octets: Each octet can range from 0 to 255, providing a total of about 4.3 billion unique addresses.

    Example:

    • Address: 192.168.1.1
      • Octet 1: 192
      • Octet 2: 168
      • Octet 3: 1
      • Octet 4: 1

    2. IPv6 Addressing

    • Format: IPv6 addresses are 128 bits long, represented in hexadecimal as eight groups of four hexadecimal digits separated by colons (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334).
    • Groups: Each group can contain values from 0000 to FFFF, allowing for a virtually limitless number of unique addresses.

    Example:

    • Address: 2001:0db8:85a3:0000:0000:8a2e:0370:7334

    Types of IP Addresses

    1. Public IP Addresses

    • Definition: Public IP addresses are assigned by Internet Service Providers (ISPs) and are accessible over the internet. They are unique globally.
    • Purpose: Used for communication between devices on different networks (e.g., accessing websites, email servers).

    2. Private IP Addresses

    • Definition: Private IP addresses are reserved for use within private networks and are not routable on the internet. They allow devices within a local network to communicate.
    • Ranges: Common private IP address ranges include:
      • 10.0.0.0 to 10.255.255.255
      • 172.16.0.0 to 172.31.255.255
      • 192.168.0.0 to 192.168.255.255

    3. Static IP Addresses

    • Definition: Static IP addresses are manually assigned to a device and remain constant over time.
    • Purpose: Useful for servers, printers, and other devices that require a stable address for consistent access.

    4. Dynamic IP Addresses

    • Definition: Dynamic IP addresses are assigned by a DHCP (Dynamic Host Configuration Protocol) server and can change over time.
    • Purpose: Commonly used for end-user devices like computers and smartphones, allowing for efficient use of IP addresses.

    Subnetting

    Subnetting is a technique used to divide a larger network into smaller, more manageable subnetworks (subnets). This allows for better organization, improved security, and efficient use of IP addresses.

    • Subnet Mask: A subnet mask determines which portion of an IP address identifies the network and which portion identifies the host. For example, a subnet mask of 255.255.255.0 means the first three octets represent the network, and the last octet represents the host.

    Example:

    • IP Address: 192.168.1.10
    • Subnet Mask: 255.255.255.0
      • Network Portion: 192.168.1
      • Host Portion: 10

    Address Resolution Protocol (ARP)

    • Definition: ARP is used to map IP addresses to MAC addresses within a local network.
    • Function: When a device wants to communicate with another device on the same network, it uses ARP to discover the MAC address associated with the target IP address.

    Conclusion

    IP addressing is fundamental to networking, enabling devices to communicate effectively over both local and global networks. Understanding the different types of IP addresses, the concept of subnetting, and the role of protocols like ARP is essential for anyone involved in networking. If you have any specific questions or want to delve deeper into a particular aspect of IP addressing, feel free to ask!

    Previous topic 14
    IPv4 and IPv6
    Next topic 16
    Sub Netting

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time3 min
      Word count550
      Code examples0
      DifficultyBeginner