Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Windows 10 End of Service: What Must Be Done

    19 March 2025

    Elementor #7217

    5 March 2025

    Why Windows is Still the Best for Gamers: A Deep Dive

    27 February 2025
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram Vimeo
    Let's Tech It Easy
    Subscribe Login
    • Homepage
    • About
    • Blog
      • Computers
      • Cloud
      • Gaming
      • Cyber Security
      • iPhone
      • Mac
      • Windows
      • Android
    • Contact
    • My Tickets
    • Submit Ticket
    Let's Tech It Easy
    Home»Computers»INTERNET PROTOCOL
    Computers

    INTERNET PROTOCOL

    Gopi Krishna KattaBy Gopi Krishna Katta6 April 2024Updated:6 April 2024No Comments6 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr WhatsApp VKontakte Email
    Share
    Facebook Twitter LinkedIn Pinterest Email

    INTERNET PROTOCOL:   Ip address is a layer 3 protocol in OSI layer which is used for the communication between electronics devices for transferring information over the internet. IP address stands for Internet Protocol. For example, if a computer or an electronic device wants to communicate with the outside world it needs an IP address.   

    In the present world IP addresses are generated by an algorithm by the Internet of Assigned Numbers Authority (IANA). ISP (Internet Service Providers) who distributes these IP addresses to geographically assigned by IANA and DHCP protocol allocates these IP addresses to the locally connected devices over the WIFI network.    There are 2 versions of IP addresses IPv4 and IPv6. IPv4 is a 32-bit binary digit and for human understanding it is represented in decimal format (e.g., 192.168.0.5). IPv6 is 128-bit address representing in 32-bit hexa-decimal (16 digit) format (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334).​ [1] Hexa-decimal conversion: 

    0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
    0 1 2 3 4 5 6 7 8 9 A B C D E F 

      In hexa-decimal the maximum number is F which means 15 in decimal digit and lowest is 0 which mean 0 in digital.  Here are some examples for hexa-decimal conversion to decimal. 

    Hexa-decimal Decimal 
    19 25 
    FB82 64386 

      Conversion from Hexa-decimal to Decimal: 

        There are four types of IP addresses public, private, static and dynamic. Public IP is used to communicate outside world whereas private for inside the organization or company. Static IP is a fixed IP address and dynamic IP may change for every re connection. 

    IPv4 classful address: IPv4 is a 32-bit internet protocol version 4 in binary digit format. Ip address uses on network interface to identify a device uniquely over the internet. Format for IPv4 is looks like below  

    1100 0000       1010 1000       0000 1010       0110 0100

    192                  168                  10                    100

    IPv4 divides into 4 sets of octets which are in binary digits 0 &1. Range of an octet is 0 to 255. Based on this range divided into 5 class full IP addresses. And has 2 portions network portion and host portion.

    ClassRangeNo. of network bitsNo. of host bits/ hosts
    A0-127824 / 16,777,214
    B128-1911616 / 65,536
    C192-223248 / 254
    D224-239Not definedNot defined
    D240-255Not definedNot defined

    [2]

    ip classes network bits and host bits  [3]

    Class A: Class A has 8 bits of network portions and 24 bits for host portion. In total there will be 16,777,214 hosts per subnet in class A. e.g., 121.0.24.224

    Class B: In class B, 16 bits for network and 16 for host portions which we get 65536 hosts per subnet. E.g., 132.5.24.55

    Class C: Class C has 24 bits for network and 8 for host portion. In total we get 254 hosts per subnet. E.g., 195.56.45.4

    Class D: Class D range is from 224.0.0.0 – 239.255.255.255. It is reserved for multi-casting purpose. E.g., 235.23.46.68

    Class E: Class E ranges from 240.0.0.0 to 255.255.255.254. Class E is reserved for experimental and research purposes. E.g., 245.45.67.89 [2]

    Range of special IP addresses

    169.254.0.0 – 169.254.0.16    link-local addresses

    127.0.0.0 – 127.255.255.255 loop-back addresses

    0.0.0.0 – 0.0.0.8          used to communicate within the current network.

    Rules for assigning host and network:

    • Host ID must be unique in any network.
    • Host ID cannot be assigned all 0’s as to that of IP address because it uses for network ID.
    • Host &network ID cannot be assigned all 1’s because it uses for broadcast address.
    • Network ID cannot start with 127. It reserved for link-local address. [2]

    Private IP addresses: Private IP addresses used to assign local devices with in the network to communicate to other devices in the local network.

    Private IP address ranges are: 10.0.0.0 – 10.255.255.255                                                

    172.16.0.0 – 172.31.255.255                                                

    192.168.0.0 – 192.168.255.255

    In class A and B while assigning the Ip addresses, millions of Ip addresses are being wasted. To solve this problem CIDR (classless Inter-domain routing) being introduced. Example there are 100 devices which needs Ip addresses in class A. In class full Class A Ip address range each sub net has 16,777,216 addresses where as we need only 100. So, rest will be wasted. But, in CIDR we can reduced the greatest number of Ip address wastage. [2]

    CIDR (Classless Inter-domain Routing): It is a method for efficient use of Ip addresses routed based on network prefix rather than network class. CIDR uses slash / notation to represent prefix. E.g., 124.28.34.0/24. Advantages: Better Routing of IP packets, efficient use of IP addresses, IP addresses allocation flexibility. [4] A company needs 100 IP addresses in class A range. By using CIDR we can allocate 100 IP addresses and minimize the maximum number of IP address wastage. By using last 7 bits in host portion, we can allocate the 100 Ip addresses. e.g.: 10.25.0.0 /25

    First Ip 10.25.0.0/25 uses for network notation purpose and last Ip address 10.25.0.127/25 is for broadcast.

    DHCP Server: Dynamic host configuration protocol is a network server which automatically assigns the Ip address to client devices. It assigns IP address, default gateway and other network parameters. [5] DHCP works on 4-way handshake process called DORA (Discovery, Offer, Request and Acknowledgment).

     [6]

    DHCP Discover is the first step in DORA process, when we start the device, it tries to discover the DHCP server for Ip address. Then DHCP server offers an IP address for the client device. A request comes to DHCP server from client as a DHCP request for accepting the IP address. Finally, DHCP server acknowledges that request.

    dhcp steps how dhcp server and client work [6]

     Do not have IP beforeHave an IP before
    DiscoverClient broadcast messageBroadcast
    OfferDHCP-server broadcast messageUnicast
    RequestClient broadcast messageBroadcast
    AcknowledgmentDHCP server broadcast messageunicast

    [7] The world is now running out of IPv4 addresses. So, the networking industry has been shifting slowly towards IPv6 addresses which is 128-bit long enough to generate more than enough number of Ip addresses which is equal to 2 power 128 = 340282366920938463463374607431768211456 [8]. [9]

    References

    [1]C. MITCHELL, 29 09 2023. [Online]. Available: https://www.investopedia.com/terms/i/ip-address.asp. [Accessed 30 03 2024].
    [2]“GeeksforKeeks,” [Online]. Available: https://www.geeksforgeeks.org/introduction-of-classful-ip-addressing/. [Accessed 30 03 2024].
    [3]“computernetworkingnotes,” [Online]. Available: https://www.computernetworkingnotes.com/networking-tutorials/ip-address-classes-explained-with-examples.html. [Accessed 30 03 2024].
    [4]“geeksforgeeks,” [Online]. Available: https://www.geeksforgeeks.org/classless-inter-domain-routing-cidr/. [Accessed 02 04 2024].
    [5]“infoblox,” [Online]. Available: https://www.infoblox.com/glossary/dhcp-server/. [Accessed 02 04 2024].
    [6]“ComputerNetworkingNotes,” [Online]. Available: https://www.computernetworkingnotes.com/ccna-study-guide/how-dhcp-works-explained-with-examples.html. [Accessed 02 04 2024].
    [7]“cisco,” [Online]. Available: https://learningnetwork.cisco.com/s/question/0D53i00000Kt3m4CAB/dhcp-process-unicast-vs-broadcast. [Accessed 02 04 2024].
    [8]“wolframalpha,” [Online]. Available: https://www.wolframalpha.com/input/?i=2%5E128. [Accessed 02 04 2024].
    [9]“tech advisor,” [Online]. Available: https://www.techadvisor.com/article/739772/what-is-ipv6-and-do-i-need-it.html. [Accessed 02 04 2024].
    [10]“study-ccna,” [Online]. Available: https://study-ccna.com/what-is-ipv4-address/. [Accessed 30 03 2024].
    Share. Facebook Twitter Pinterest LinkedIn Tumblr WhatsApp Email
    Previous ArticleAccessing Windows External Hard Drive on Mac
    Next Article Accessing a Mac Hard Drive on Windows
    Gopi Krishna Katta

    Related Posts

    Windows 10 End of Service: What Must Be Done

    19 March 2025

    Elementor #7217

    5 March 2025

    Why Windows is Still the Best for Gamers: A Deep Dive

    27 February 2025

    Accessing a Windows External Hard Drive on Mac

    26 February 2025
    Leave A Reply Cancel Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Demo
    Our Picks
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo
    Don't Miss
    Business

    Windows 10 End of Service: What Must Be Done

    By Uneeb19 March 20250

    On October 14, 2025, Microsoft will officially end support for Windows 10, signalling a major shift…

    Elementor #7217

    5 March 2025

    Why Windows is Still the Best for Gamers: A Deep Dive

    27 February 2025

    Accessing a Windows External Hard Drive on Mac

    26 February 2025

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    You too can join us

    If you also think about technology and want to contribute either as a mentor or even from a learner’s perspective, look no further and join us. Write us at info@letstechiteasy.com and share your opinion. Our team will get back by sending you an invite to join the platform as a contributor. Empower others, empower yourself so each one of us can play with the technology safely one day without being scared.

    Subscribe Here
    Loading
    For Partnership Worldwide

    Contact:

    partner@letstechiteasy.com

     

    About Us
    About Us

    “Let’s Tech It Easy” or popularly known as “LTIE” is the blogging platform for everyone who wants to share and learn about technology. It is an initiative by the serial techpreneur Vish when he realized the wide gap between the pace at which the technology is evolving and at which it is getting adopted by a wider audience.

    Email Us: support@benchmarkitservices.com

    Latest Posts

    Upgrading RAM

    10 March 2023

    Desktop Vs Laptop

    10 March 2023

    Data Recovery

    3 March 2023

    MacOS on Windows Virtual Box

    10 February 2023

    macOS Monterey and what’s new in it?

    12 April 2022
    New Comments
    • How to Troubleshoot Sound and Mic on Windows 10 - Let's Tech It Easy on How to Access Troubleshooters on Windows 10
    • How to Stay Safe While Using Public Wi-Fi Networks - Let's Tech It Easy on Internet Security for Home Users – VPN 101
    • How to Set up Oracle VirtualBox on a Mac - Let's Tech It Easy on How to Install Windows 10 on a Mac Using Boot Camp Assistant
    • DoS Attack Implementation and Prevention in Ubuntu – Let's Tech It Easy on Top Kali Linux Commands
    Facebook X (Twitter) Instagram Pinterest
    • Homepage
    • About
    • Blog
    • Contact
    • Computers
    • Cloud
    • Gaming
    • Cyber Security
    • iPhone
    • Mac
    • Windows
    • My Tickets
    • Submit Ticket
    © 2025 LetsTechitEasy. Designed by Sukrit Infotech.

    Type above and press Enter to search. Press Esc to cancel.

    Sign In or Register

    Welcome Back!

    Login below or Register Now.

    Lost password?

    Register Now!

    Already registered? Login.

    A password will be e-mailed to you.