Basics of networks Flashcards
What is network?
Connection of 2 or more computers or devices for communication and sharing files between them.
List the OSI model
Application layer
Presentation layer
Session layer
Transport layer
Network layer
Data link layer
Physical layer
What is application layer
Provides interface b/w user and the computer.
Protocols used HTTP, HTTPS, FTP, SMTP, etc.
What is presentation layer
Responsible for data translation, encryption/decryption, encode/decode, data compression.
Protocols- JPEG, TLS, SSL, MPEG.
What is session layer
Responsible for connection establishment, data transfer(connection maintenance) & connection termination. Also ensures security.
Protocols- NetBIOS, RPC, etc.
What is transport layer
Provides reliable message delivery from process to process( host to host). Maintains error control, flow control. Ensures data transmitted in order & no duplication.
Data format- SEGMENTS.
Protocols-TCP, UDP.
What is network layer
Adds from & to address, Logical addressing, Shortest path selection & takes care of Packet routing.
Data format- PACKETS.
Protocols- IPv4, IPv6.
Device- Router, firewall, IPS.
What is data link layer
Responsible for Node to node delivery of message. Data framing, error control & flow control. Also physical addressing.
Data format- FRAMES
Protocols- ARP
Device- Switch, Bridges.
What is physical layer
Responsible for actual physical connection b/w devices.
Data format- Bits
Protocols- wired or wireless (Ethernet cable, optical fiber)
Device- Hub, Bluetooth, Wi-Fi.
What is TCP/IP?
Transimission control protocal is a implemented model of communication between two devices.
List of TCP/IP
Application layer- process to process
Transport layer- Host to host
Internet layer- Src to destn
Network access layer- Node to node
What is HUB
Layer 1 Physical layer device.
Connects multiple computers.
Broadcast messages to all the devices connected to the hub.
What is Switch
Layer 2 Data link layer device.
Connects two or more computers.
It sends message to the device for which the message needs to send.
What is Router
Layer 3 network layer device.
Connects two or more networks.
Calculates the best route to send data using routing protocols.
What is peer to peer
All computers on the network. or All devices connected to each other.