Basics of Networking

Basics of Networking

Network

The interconnection of resources is known as network

For example, computers and printers can be interconnected through a network, enabling them to exchange information and perform tasks such as printing documents from a computer to a connected printer.

For example, Ipad, Mac, iPhone, and Apple Watch are all interconnected they communicate and share data.

LAN(Local Area Network): A LAN links devices, in one spot. In a room, or office or in a building the network is known as LAN (local area network)

From a single user to thousands, it connects the lot.

MAN(Metropolitan Area Network): Between two cities it is known as MAN. A metropolitan area network (MAN) is a computer network that connects computers within a metropolitan area, which could be a single large city, multiple cities and towns, or any given large area.

WAN(Wide Area Network): A collection of networks (LANs or MANs) or other networks that communicate with one another. A WAN is essentially a network of networks.

Internet

Network of networks. A network that consists of billions of resources. The word internet means Inter - Interconnected, net - networks (interconnected networks)

WWW(world wide web)

It is a subset of the internet. The web is a collection of interconnected documents and websites accessible through the Internet. It allows users to browse and access information, web pages, and multimedia content using web browsers.

IP Address ( Internet Protocol Address)

In simple terms, if we want to send a post by postbox or a courier we need destination address like dno, street, city. Likewise, if we want to communicate or connect to other servers or resources we need their address which is IP address here. Every device has a unique IP address.

Previously we were using IPv4 32 bits, now due to rapid growth of the internet, billions of devices and resources are connected to it. So we are using IPv6 128 bits.

IPv4

Browser

It is a tool used to access all the documents, resources, mp3, and images available on the internet

Clint-Server model

When you enter a domain name in a web browser, such as "youtube.com," the browser needs to find the IP address associated with that domain name to establish a connection to the correct server.

DNR (Domain name resolution)

Domain name resolution, also known as DNS resolution, is the process by which a domain name is translated into the corresponding IP address of the server of the website.

The domain name system (DNS) is responsible for mapping domain names to IP addresses.

• If the domain name is not found in the local cache,(which happens if you open a website for the first time)your computer sends a DNS query to a DNS resolver. This resolver is usually provided by your Internet Service Provider (ISP) or a public DNS resolver like Google DNS or Cloudflare DNS

We will get the IP address from the DNS server. Now we have the destination address. We will send a request( get, put, post, or delete requests) to the destination server and we will get a response from the server. Now both are connected.

Sending requests to the destination server

We will send the request to Local ISP(internet service provider) through a router via optic fibre, cable and find if ISP's routers have routing data(direction to the server), if not the request goes to Regional ISP. Regional ISPs connect multiple local ISPs and have a larger network reach. And if there is no routing data, it goes to NSP(National Service Provider) and then the request travels through many routers to reach the destination server. And in return, we will receive a response.

Conclusion

In summary, networks connect devices and allow them to share information. The Internet is a vast network of networks that revolutionized global communication. IP addresses are like unique addresses for devices. Web browsers help us access websites and resources.