Networking Flashcards
Protocols
How computers communicate with each other despite the different hardware and software.
Protocols have a specific purpose: exchanging emails, files, establishing communication, etc.
Primary Goal of Networking
To exchange information between networked computers.
Packets
Nothing but streams of bits running as electric signals (0’s & 1’s) on physical media used for data transmission. Such media can be a wire in a LAN or the air in a WiFi network.
Whats the structure of a packet?
Header & Payload
Header
Protocol specific structure: this ensures that the receiving host can correctly interpret the payload and handle the overall communication.
Payload
The actual information (ie.data). It could be something like part of an email message or the content of a file during a download.
How do the OSI Layers work?
They work on top of one another and every layer has its own protocol. Each layer serves the one above it.
The application layer does not need to know how to identify a process on a host, how to reach it and how to use the copper wire to establish a communication.
ISO
International Organization for Standardization
Was never implemented but it is widely used in literature or when talking about IT networks.
OSI
Open System Interconnection
Was never implemented but it is widely used in literature or when talking about IT networks.
How do protocols work together? If every protocol has a header and a payload, how can a protocol use the one on its lower layer?
The idea is simple. The entire upper protocol packet (header plus payload) is the payload of the lower one; this is called encapsulation.
What protocol stack is used on the internet?
TCP/IP
TCP/IP has What 4 Layers?
Application
Transport
Network
Data Link
Screen Shot 2020-12-25 at 8.16.10 PM
Screen Shot 2020-12-25 at 8.16.10 PM
During encapsulation, every protocol adds?
Adds its own header to the packet, treating it as a payload. This happens to every packet sent by a host.
The receiving host does the same operation in REVERSE ORDER.
In the TCP/IP layers, which layer encapsulates the Application layer?
The Transport Layer.