Basic Intro on Networking

πŸ’‘ Common terms

ISP : An Internet service provider (ISP) is an organization that provides services for accessing, using, or participating in the Internet.

LAN : A local area network (LAN) is a group of computers and associated devices that share a common communications line or wireless link to a server.

WAN : A wide area network is a telecommunications network or computer network that extends over a large geographical distance.

Hub : It is a network hardware device for connecting multiple Ethernet devices together and making them act as a single network segment

Switch : It is a computer networking device that connects devices together on a computer network by using packet switching to receive, process, and forward data to the destination device


πŸ’‘ Speed & Data

Bit [b]: Smallest information a computer can understand

Byte [B]: 8 Bit can form a Byte

Speed always mention with Bit [b] & Data always mentioned with Byte [B]


πŸ’‘ Fundamental Topology

Star : All the devices are connected to the central switch/connecting device

Ring : A topology in which each node connects to exactly two other nodes, forming a single continuous pathway for signals through each node

Bus : A bus network is a network topology in which nodes are directly connected to a common linear (or branched) half-duplex link called a bus

Hybrid : combination of all the above topology


πŸ’‘ OSI - TCP/IP Model

OSI 7 Layers
  1. Physical
  2. Data Link
  3. Network
  4. Transport
  5. Session
  6. Presentation
  7. Application

TCP/IP 4 Layers
  1. Network Interface
  2. Internet
  3. Transport
  4. Application

πŸ’‘ Decimal ↔️ Binary

[  128  |  64  |  32  |  16  |  8  |  4  |  2  |  1  ]

πŸ’‘ IP Address: It's a 4 octet number and so max is 225
and contain Network field + Host Field

πŸ’‘ Subnet Mask : A subnet mask separates the IP address into the network and host addresses

πŸ’‘ Gateway : Uses to send information to a computer in another network or the internet, IP address and the Gateway should have been on the same network

πŸ’‘ Classes : Class of IP address decided by the first octet
[ ??? : xxx : xxx : xxx ]

If First octet of IP address between

1 - 126    ➡️ Class A    [ Subnet Mask 255.0.0.0 ] 
2 ^ 24 - 2 = 16,777,214 Hosts

Any IP address start with 127 is a Loop Back  IP

128 - 191  ➡️ Class B    [ Subnet Mask 255.255.0.0 ] 
2 ^ 16 - 2 = 65,534 Hosts

192 - 223  ➡️ Class C    [ Subnet Mask 255.255.255.0 ] 
2 ^ 8 - 2 = 254 Hosts

224 - 239  ➡️ Class D    [ Subnet Mask    [ Used for Multicast ]

240 - 255  ➡️ Class E    [ Subnet Mask [ Used for experimental purposes ]

Popular posts from this blog

Information gathering - Website Links 😈

How to switch between different java versions on Linux