Networking Layer (OSI Layer 3): Routing and Switching

WellInformedOganesson avatar
WellInformedOganesson
·
·
Download

Start Quiz

Study Flashcards

6 Questions

What is the primary factor considered by routers when making routing decisions?

Network topology and administrative distance

Which type of switching is characterized by the storage of the entire frame in the switch's buffer before forwarding?

Store-and-forward switching

What is the final step in the packet forwarding process?

Transmission to next hop

What is the purpose of the EtherType field in the frame format?

Protocol identification

What is the primary function of a routing table in a router?

To store network topology information

Which layer of the OSI model does a switch operate at, although it can also perform some functions of another layer?

Layer 2 (Data Link Layer)

Study Notes

Networking Layer (OSI Layer 3)

Routing

  • Process of determining the best path for forwarding packets between networks
  • Routers use routing tables to store information about network topology
  • Routing protocols (e.g. RIP, OSPF, BGP) are used to update routing tables
  • Routing decisions are based on factors such as:
    • Destination IP address
    • Network topology
    • Traffic congestion
    • Administrative distance

Switching

  • Process of forwarding packets between networks based on MAC addresses
  • Switches operate at Layer 2 (Data Link Layer) but can also perform some Layer 3 functions
  • Types of switching:
    • Store-and-forward switching
    • Cut-through switching
    • Fragment-free switching

Packet Forwarding

  • Process of sending packets from one interface to another
  • Routers use routing tables to determine the next hop for packet forwarding
  • Packet forwarding involves:
    • Decapsulation (removing headers)
    • Routing decision
    • Encapsulation (adding headers)
    • Transmission to next hop

Frame Format

  • A packet at the networking layer is encapsulated in a frame at the data link layer
  • Frame format consists of:
    • Preamble (optional)
    • Destination MAC address
    • Source MAC address
    • EtherType (protocol identifier)
    • Packet payload (packet at networking layer)
    • Frame Check Sequence (FCS) for error detection

Networking Layer (OSI Layer 3)

Routing

  • Determines the best path for forwarding packets between networks
  • Uses routing tables to store network topology information
  • Deploys routing protocols (RIP, OSPF, BGP) to update routing tables
  • Routing decisions based on:
    • Destination IP address
    • Network topology
    • Traffic congestion
    • Administrative distance

Switching

  • Forwards packets between networks based on MAC addresses
  • Operates at Layer 2 (Data Link Layer) with some Layer 3 functions
  • Types of switching:
    • Store-and-forward switching
    • Cut-through switching
    • Fragment-free switching

Packet Forwarding

  • Sends packets from one interface to another
  • Uses routing tables to determine the next hop
  • Involves:
    • Decapsulation (removing headers)
    • Routing decision
    • Encapsulation (adding headers)
    • Transmission to next hop

Frame Format

  • A packet at the networking layer is encapsulated in a frame at the data link layer
  • Frame format consists of:
    • Preamble (optional)
    • Destination MAC address
    • Source MAC address
    • EtherType (protocol identifier)
    • Packet payload (packet at networking layer)
    • Frame Check Sequence (FCS) for error detection

Explore the concepts of routing and switching in the Networking Layer of the OSI model, including routing tables, protocols, and decision factors.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Industrial Ethernet Protocols Quiz
24 questions
OSI Model Layer 3: Network Layer
12 questions
OSI Model Layers 3 and 4
40 questions
Use Quizgecko on...
Browser
Browser