Basic Networking

Basic Networking

What is an IP Address?

All the computers of the world in the Internet network communicate with each other with underground or underwater cables or wirelessly. If I want to download a file from the internet or load a web page or literally do anything related to the internet, my computer must have an address so that other computers can find and locate mine in order to deliver that particular file or webpage that I am requesting. In technical terms, that address is called IP Address or Internet Protocol Address. IP Address is of two types:

  1. IPv4: Internet Protocol version 4. It consists of 4 numbers separated by the dots. Each number can be from 0-255 in decimal numbers. But computers do not understand decimal numbers, they instead change them to binary numbers which are only 0 and 1. Therefore, in binary, this (0-255) range can be written as (00000000 - 11111111). Since each number N can be represented by a group of 8 digit binary digits. So, a whole IPv4 binary address can be represented by 32-bits of binary digits. In IPv4, a unique sequence of bits is assigned to a computer, so a total of (2^32) devices approximately = 4,294,967,296 can be assigned with IPv4.

  1. IPv6: But, there is a problem with the IPv4 address. With IPv4, we can connect only the above number of 4 billion devices uniquely, and apparently, there are much more devices in the world to be connected to the internet. So, gradually we are making our way to IPv6 Address which is a 128-bit IP address. In human-friendly form, IPv6 is written as a group of 8 hexadecimal numbers separated with colons(:). But in the computer-friendly form, it can be written as 128 bits of 0s and 1s. Since, a unique sequence of binary digits is given to computers, smartphones, and other devices to be connected to the internet. So, via IPv6 a total of (2^128) devices can be assigned with unique addresses which are actually more than enough for upcoming future generations. IPv6 can be written as: 2011:0bd9:75c5:0000:0000:6b3e:0170:8394

Classification of IP Address-

An IP address is classified into the following types:

  1. Public IP Address: This address is available publicly and it is assigned by your network provider to your router, which further divides it to your devices.

  2. Private IP Address: This is an internal address of your device which are not routed to the internet and no exchange of data can take place between a private address and the internet.

TCP/IP Protocols-

  1. FTP (File Transfer Protocol) Port-21

    It is used for file transmission between internetwork nodes.

  2. SMTP (Simple Mail Transfer Protocol) Port-23

    It can be used for exchanging email.

  3. TELNET Port-21

    TELNET represents Terminal Network. It allows the client to create host-based software by initiating one of the host terminals. It also supports connectivity between the diverse operating framework.

  4. DNS (Domain Name Systems) Port-53 The DNS can change the domain name into IP addresses. The TCP/IP protocol needs the IP address that recognizes linking a host to the computer network.

  5. HTTP (Hypertext Transfer Protocol) Port-80

    HTTP is an internet protocol created for a particular software, the World Wide Web (WWW).

  6. HTTPS (Hypertext Transfer Protocol Secure) Port-443

    HTTPS is Hypertext Transfer Protocol Secure. The HTTP protocol does not provide the security of the data, while HTTPS ensures the security of the data. Therefore, we can say that HTTPS is a secure version of the HTTP protocol. This protocol allows transferring the data in an encrypted form.

  7. RDP (Remote Desktop Protocol) Port 3389

    Remote Desktop Protocol is a proprietary protocol developed by Microsoft which provides a user with a graphical interface to connect to another computer over a network connection.

  8. SSH (Secure Shell) Port- 22

    It provides secure access to users and automated processes. It is an easy and secure way to transfer files from one system to another over an insecure network.

    e.g., #ssh ubuntu@192.168.100.10.