DEV Community

Padma Priya R
Padma Priya R

Posted on

HOW INTERNET WORKS ? WHAT IS IP ADDRESS,SUBNET and DNS 🤔💭

WHAT IS INTERNET ?
Internet is a wide range of system that allows the machines to connect world wide to share and communicate with each other using the standard Protocols.

IP ADDRESS ?
AN IP address is a unique address for each and every device in Internet.
It is used to send messages and communicate to the devices when it is connected in the same network.

THE IP ADDRESS IS DIVIDED INTO TWO PARTS NAMELY

The Network Part
The Host Part
Example: 10.1.34.81/24
here the /24 defines the network
where 10.1.4 indicates the network part and remaining 81 denotes the host part.
The ip holds till 32 bits it cannot be extended. It can be allocated from (0 to 255)
The tool CIDR calculator is used to calculate The no of devices can be connected to the internet using the ip address.


TYPES OF IP ADDRESS
Public ip address - will be standard (eg: a college holds a public ip from that the subnets were divided but the public ip for the college unique and only that college has that ip in the world)
Private ip address - Can be used in the closed area Network.

FLOW OF HOW INTERNET WORKS ?
when the machine is connected in the same network, the machine send the request to the modem the modem searches wheather it able to read the request send by the other machine and the response got from the machine is send to modem the modem send back the response to the machine that arise the request.
MACHINE 1 > REQ > MODEM > MACHINE 2 > RES > MODEM > MSG > MACHINE 1

SUBNETS
The subnet is a smaller network inside the larger network
example : an public ip can have multiple subnets.

DNS
it converts the websites into ip address

EXAMPLE
www.wikipedia.org.
here (.) - indicates the Root of DNS system.(even without the root the website can run )
org - indicates the top level domain it will point the secondary level domain when we ask for the ip address
wikipedia - idicates the secondary level domain holds the ip address
www - indicates the subdomain even without sub domain also the website can run.

PROXY used in DNS
REVERSE PROXY - Mid man between the client and the servers it distributes the request.
FORWARD PROXY - Multiple requests are converted into single request.

Top comments (0)