Showing posts with label OSI. Show all posts
Showing posts with label OSI. Show all posts

Saturday, April 25, 2020

what is the Difference between Switch and Router


What is a router

´  Router is a layer 3 device which works on network layer of OSI model which connects two different networks and it identifies network devices based on their IP addresses.
´  The Routers are the devices used for connecting local network to the other local network/s.
´  They are generally located at the gateway where two or more than two networks connect.

What is a switch


´  Switch is a layer 2 device which works on data link layer of OSI model, it communicates by using frames and it identifies network devices on the bases of MAC addresses or physical addresses.

Router:

  1. Mode of transmission:
´                              It Transmits data in the form of packets.
      2. Address:
             It makes use of IP address for the purpose of data transmission.
      3.Layer of OSI Model:
            It makes use of layer 3 of OSI model.
4.Ports
          Routers contain 2 Ports by default like fast Ethernet Ports. However, we can add serial ports explicitly.
      5.Table:
      It makes use of the Routing Table for routes to get to the destination IP.

What is a Protocol


´  What is a Protocol?


´  A protocol is a set of rules that governs the communications between computers on a network.
´  In order for two computers to talk to each other, they must be speaking the same language.
´   Many different types of network protocols and standards are required to ensure that your computer (no matter which operating system, network card, or application you are using) can communicate with another computer located on the next desk or half-way around the world.
´  The OSI (Open Systems Interconnection) Reference Model defines seven layers of networking protocols.

´  DNS - Domain Name System - translates network address (such as IP addresses) into terms understood by humans (such as Domain Names) and vice-versa

´  DHCP - Dynamic Host Configuration Protocol - can automatically assign Internet addresses to computers and users

´  FTP - File Transfer Protocol - a protocol that is used to transfer and manipulate files on the Internet

´  HTTP – Hyper Text Transfer Protocol - An Internet-based protocol for sending and receiving webpages

´  IMAP - Internet Message Access Protocol - A protocol for e-mail messages on the Internet

´  IRC - Internet Relay Chat - a protocol used for Internet chat and other communications

´  POP3 - Post Office protocol Version 3 - a protocol used by e-mail clients to retrieve messages from remote servers

´  SMTP - Simple Mail Transfer Protocol - A protocol for e-mail messages on the Internet

for more detail please watch the video: