Coded Brain

The art of exploitation

One hell of an IP address (Part 1) – Non technical perspective.

by Coded Brainupdated on November 2, 2020December 10, 20193Min Read
21
21

In this series of blog posts , I am going to write everything I know about IP addresses.

What the heck is an IP address?

Let me begin with an analogy. Everyone in a class room is given roll numbers ranging from 1 to the total number of students.
Suppose there are 40 students in a classroom. Class teacher might assign roll numbers to the students alphabetically or through other criteria.
Roll numbers are assigned to the students so that they can be tracked by the class teacher for better and efficient communication. It is used as an attendance mechanism to check if the particular student has come to the class or not. Or for various other reasons.

What is an IP address

Consider students and teacher as a part of human network. Teacher is the one who assigns roll numbers to the students and students use that roll number to communicate with the teacher for various things like attendance, mark sheets and other stuff.

Similarly in a computer network every devices connected get an IP. Here in this case router is the teacher who assigns IP addresses to its students or network devices(mobile phone, tablet , laptop, printer etc).
Router assigns IPs to all devices in a network so that those devices can talk to router in some ways or vice-versa.

To conclude the definition , it is a unique number assigned to the devices connected in a network. Notice why I have used unique number. I will get back to it soon.

What does an IP address look like?

It looks like:
1) 192.168.1.1 (IPv4)
2) 0:0:0:0:0:ffff:d1ad:35a7 (IPv6)

There are different types which I will get back to in upcoming posts of this series.

Can two devices have a same IP address?

Getting back to the analogy what if two students are assigned the same roll number? There will be conflicts. Teacher asks if the roll number 5 is present or not and both of the students respond to the teacher. So two students can’t be assigned the same roll number. Similarly if the router happens to assign the same IP address to two different devices then there will be conflicts.

Can two devices have a same IP address

So, the answer is ‘NO‘. Each devices get a unique IP address. However, a device can have multiple ip addresses assigned to it.

Does router also have an IP address?

Yes, router does have one.

How does router assign IP addresses?

Router assigns IPs through a Dynamic Host Configuration Protocol(DHCP). I will cover about DHCP later.

In the upcoming blog post of this series , I will try to cover the types. I will try to cover more of technical portions in later posts.

Information
ip address what is an ip address
21
4

Coded Brain

Hi , I am an information security enthusiast from Nepal.

Post Navigation

Previous Article
Next Article

Recent Posts

  • One hell of an IP address(Part 2)
  • One hell of an IP address (Part 1) – Non technical perspective.
  • Intigriti 10k followers XSS challenge

Recent Posts

  • One hell of an IP address(Part 2)
  • One hell of an IP address (Part 1) – Non technical perspective.
  • Intigriti 10k followers XSS challenge

4 Comments

  1. White Label SEO
    January 26, 2020 at 5:33 am
    Reply

    Awesome post! Keep up the great work! 🙂

  2. AffiliateLabz
    February 15, 2020 at 11:17 pm
    Reply

    Great content! Super high-quality! Keep it up! 🙂

  3. Smaran Chand
    February 27, 2020 at 3:04 pm
    Reply

    Nice article, eagerly waiting for the remaining parts.

  4. Niraj Kharel
    July 3, 2020 at 4:22 pm
    Reply

    Nice one, Keep up the good work.

Leave a Reply Cancel reply

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

Pages

  • Home
  • test
January 2021
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Oct    

About

I will post random stuff.

Recent Posts

  • One hell of an IP address(Part 2) October 30, 2020
  • One hell of an IP address (Part 1) – Non technical perspective. December 10, 2019
© Copyright 2021 Coded Brain. All Rights Reserved.