Layers and Protocols Flashcards
Internet Model
Describes a packet switching network. Means that any communication between devices over the network happens in the form of short packets switched across many intermediate points(routers)
Name the 5 Layers of Abstraction
- Hardware Layer
- Data link Layer
- Network Layer
- Transport Layer
- Application Layer
Hardware Layer/Physical Layer
Concerned with the actual hardware (cables, plugs, sockets, antennas). Specifies signals transmitted over cables or radio waves
Data Link Layer
Defines interface between hardware and software. Specifies how devices within one LAN cab exchange packets
Network Layer
Responsible for routing. It is the most important layer for routers. But servers and clients also have network layer software and perform routing
Why can servers and clients have a Network layer?
It performs routing if it is connected to more than one network(4G and WiFi)
Transport Layer
Established a logical connection between an application sending a message and the receiving app. Performs the main form of virtualisation that makes implementing networked apps much easier
Some of the tasks of the Transport Layer
- Breaking up a large message to packets
- Ensures messages are sent correctly, re-sends packets is they have errors
Application Layer
The actual application software that a user interacts with
What layers does a switch implement?
Hardware and Data-link layers, because its only responsible for communication inside a Local network.
Protocol
Formal language that defines how two applications speak to each other.
PDU
Protocol Data Unit, the "envelopes" used in message encapsulation Hardware Layer = 1 bit Data Link Layer = frame Network Layer = packet Transport Layer = segment/datagram Application Layer = messages
Explain message encapsulation
Message in an envelope. the outside of the envelope only contains the sender and receiver addresses. Each layer may add their own information to the outside of the envelope (ex. the transport layer saying packet 13/134). Each layer then adds its own envelopes on top of the original envelope. An and product could be the hardware transmitting a data link layer envelope, inside a network layer envelope, inside a transport layer envelope with PART of the application layer message inside all of that.