Networking Fundamentals: OSI Model, MAC Addresses, and Routing

Computer science3.4 KB

Networking Fundamentals Q&A

8. Switch vs. Bridge: Key Differences

Answer: Bridges receive the complete packet before forwarding it to the destination port. In contrast, a switch can start forwarding the packet before it is fully received (known as cut-through switching). This capability is a significant performance improvement.

10. Router Decisions in Packet Routing

Answer: A router must choose the best path (i.e., the fastest and shortest) using routing algorithms and consulting its routing table.

TCP/IP Protocol Stack Fundamentals

1. What is a Protocol?

In computer networks, a protocol is the language (a set of formal rules) that allows computers to communicate with each other. Using a common language prevents compatibility issues.

2. What is a MAC Address?

It is a 48-bit (6-byte) identifier that corresponds to a single network interface card. Each device has its own specific MAC address. The address is configured using the Organizationally Unique Identifier (OUI): the first 24 bits are assigned by the manufacturer, and the last 24 bits are assigned by the IEEE.

3. Functions of the OSI Reference Model Layers

The OSI model defines seven layers, each performing specific functions:

Application Layer (Level of Implementation)

The application layer provides services used by applications, such as:

  • Email
  • Access to remote files
  • Remote task execution
  • Network management

Presentation Layer

The role of the presentation layer is to present data at the application layer. It handles translating data from one character encoding to another language, if necessary (for example, if the start and end nodes use different encodings like ASCII and Unicode). It performs the same function for the representation of numerical data.

Session Layer

The session layer allows users of different machines to establish sessions between them. A session allows ordinary data transport, similar to the transport layer, but also provides enhanced services useful in some applications.

Transport Layer

The data link layer provides computer-to-computer communication in the same local area network. This layer should provide a mechanism to allow addresses to deliver messages to the correct terminals and must translate the upper layers of bits that can transmit the physical layer. (Note: The description provided here is typically associated with the Data Link Layer, not the Transport Layer.)

Network Layer

The network layer is responsible for controlling the operation of the subnet, providing a mechanism that directs messages from one network to another.

Data Link Layer

The data link layer provides communication node-to-node in one local area network. This layer should provide a mechanism to allow addresses to deliver messages to the correct nodes and must translate the upper layers of bits that can transmit the physical layer.

Physical Layer

The physical layer communicates directly with the media, responsible for sending and receiving bits. This layer decides what describes a voltage 0 and what describes a 1, how long a bit lasts (in microseconds), whether transmission can be performed simultaneously in both directions, how to set the initial connection, and how it is interrupted.

Download

PDF Word HTML