Docsity

Link Layer and Wireless Networks: Services, Implementation, and Challenges, Lecture notes of Computer Science

Toggle sidebar
bg1
Chapter 6 The Link Layer and LANs
6.1 Introduction to the Link Layer
Link-layer: services, implementation context.
๎˜—๎˜—๎˜—๎˜—Some important terminology:
โ€ข๎˜—๎˜—๎˜—๎˜—Node: any device that runs a link-layer (i.e., layer 2) protocol. Nodes include hosts,
routers, switches, and WiFi access points
โ€ข๎˜—๎˜—๎˜—๎˜—Links: the communication channels that connect adjacent nodes along the
communication path as.
โ€ข๎˜—๎˜—๎˜—๎˜—In order for a datagram to be transferred from source host to destination host, it
must be moved over each of the๎˜individual links๎˜in the end-to-end path.
โ€ข๎˜—๎˜—๎˜—๎˜—Link-layer frame: over a given link, a transmitting node encapsulates the
datagram in a๎˜—link-layer frame๎˜—and transmits the๎˜—frame๎˜—into the link.
6.1.1 The Services Provided by the Link Layer
The๎˜—basic๎˜—service: to move a datagram from one node to an adjacent node over a single
communication link
๎˜—๎˜—๎˜—๎˜—The๎˜—details:๎˜—vary๎˜—from one protocol to the next. Possible services:
โ€ข๎˜—๎˜—๎˜—๎˜—Framing๎˜.
โ€ข๎˜—๎˜—๎˜—๎˜—Almost all link-layer protocols encapsulate each datagram within a frame before
transmission over the link. A frame consists of a data field and a number of header
fields.
โ€ข๎˜—๎˜—๎˜—๎˜—Link access.
pf3
pf4
pf5

Partial preview of the text

Download Link Layer and Wireless Networks: Services, Implementation, and Challenges and more Lecture notes Computer Science in PDF only on Docsity!

Chapter 6 The Link Layer and LANs

6.1 Introduction to the Link Layer

Link-layer: services, implementation context. Some important terminology:

  • Node : any device that runs a link-layer (i.e., layer 2) protocol. Nodes include hosts, routers, switches, and WiFi access points
  • Links : the communication channels that connect adjacent nodes along the communication path as.
    • In order for a datagram to be transferred from source host to destination host, it must be moved over each of the individual links in the end-to-end path.
  • Link-layer frame : over a given link, a transmitting node encapsulates the datagram in a link-layer frame and transmits the frame into the link.

6.1.1 The Services Provided by the Link Layer

The basic service: to move a datagram from one node to an adjacent node over a single communication link The details : vary from one protocol to the next. Possible services:

  • Framing.
    • Almost all link-layer protocols encapsulate each datagram within a frame before transmission over the link. A frame consists of a data field and a number of header fields.
  • Link access.
  • A medium access control (MAC) protocol: specifies the rules by which a frame is transmitted onto the link.
    • for point-to-point links: simple.
    • when multiple access problem: coordinates the frame transmissions of the many nodes.
  • Reliable delivery.
  • guarantees to move each network-layer datagram across the link without error.
  • can be achieved with acknowledgments and retransmissions.
  • often used for links that are prone to high error rates, such as a wireless link.
  • can be considered an unnecessary overhead for low bit-error links.
  • Error detection and correction.
  • Bit errors are introduced by signal attenuation and electromagnetic noise.
  • Error detection: done by
  • having the transmitting node include error-detection bits in the frame, and
  • having the receiving node perform an error check.
  • Error correction: a receiver
  • not only detects when
  • but also determines exactly where
  • (and then corrects).

6.1.2 Where Is the Link Layer Implemented?

Chapter 7 Wireless and Mobile

Networks

The challenges posed

  • by the wireless nature of the communication links in such networks, and
  • by the mobility that these wireless links enable.

7.1 Introduction

Elements in a wireless network

  • Wireless hosts.
    • A wireless host might be a smartphone, tablet, or laptop, or it could be an Internet of Things (IoT) device.
    • The hosts themselves may or may not be mobile.
  • Wireless links.
    • A host connects to a base station or to another wireless host through a wireless communication link.
  • Different wireless link technologies have different transmission rates and can transmit over different distances.
  • Base station.
  • The base station is a key part of the wireless network infrastructure.
  • A base station is responsible for sending and receiving data (e.g., packets) to and from a wireless host that is associated with that base station.
  • "associated":
  • the host is within the wireless communication distance of the base station
  • the host uses that base station to relay data between it and the larger network. Examples:
  • cell towers in cellular networks
  • access points in 802.11 wireless LANs
  • Hosts associated with a base station: operating in infrastructure mode
  • since all traditional network services are provided by the network to which a host is connected via the base station.
  • In ad hoc networks , no such infrastructure. The hosts themselves must provide for services.
  • Handoff or handover :
  • When a mobile host moves beyond the range of one base station and into the range of another, it will change its point of attachment into the larger network.
  • Network infrastructure. This is the larger network with which a wireless host may wish to communicate.

Taxonomy of different types of wireless networks