Wednesday, 28 March 2018

Introduction to Network Routing and Switching

So far in this course we have studied techniques to engineer a point-to-point communication link. Two important considerations were at the heart of most everything we studied:
Improving link communication reliability:
Inter-symbol interference (ISI) and noise con-
spired to introduce errors in transmission. We developed techniques to select a suit-
able sampling rate and method using
eye diagrams
and then reduced the bit-error rate
channel coding
(block, Reed-Solomon, and convolutional codes).
Sharing a link:
We wanted to share the same communication medium amongst
different receivers, each tuned to a different frequency. To achieve this goal, we used
digital modulation
, and learned that understanding the frequency response of an LTI
system and designing filters are key building blocks for this task.
We now turn to the study of communication networks—systems that connect three or
more computers (or phones)
The key idea that we will use to engineer communication networks is
: we
will build small networks by composing links together, and build larger networks by com-
posing smaller networks together.
The fundamental challenges in the design of a communication network are the same
as those that face the designer of a communication link:
. The big
difference is that the sharing problem is considerably more challenging, and many more
things can go wrong in networking
many computers together, making communication
more unreliable than a single link’s unreliability. The next few lectures will show you these
challenges and you will understand the key ideas in how these challenges are overcome.
In addition to sharing and reliability, an important and difficult problem that many
communication networks (such as the Internet) face is
: how to engineer a very
large, global system. We won’t say very much about scalability in this course, leaving this
important issue to future courses in EECS.
The distinction between a phone and a computer is rapidly vanishing, so the difference is rather artificial.
As one wag put it: “Networking, just one letter away from not working.” the links, the switches themselves have some resources (memory and computation) that
will be shared by all the communicating computers.
shows the general idea. A switch receives bits that are encapsulated in
data frames
(in some networks, these are called
, as explained below) arriving over
its links, processes them (in a way that we will make precise later), and forwards them
(again, in a way that we will make precise later) over one or more other links.
We will use the term
end points
to refer to the communicating computers, and call the
switches and links over which they communicate the
network infrastructure
. The resulting
structure is termed the
network topology
, and consists of
(the switches and end points)
and links. A simple network topology is shown in Figure
. We will model the network
topology as a
to solve various problems.
show a few switches of relatively current vintage (ca. 2006).

15.1.1  Three Problems That Switches Solve
The fundamental functions performed by switches are to multiplex and demultiplex data
frames belonging to different computer-to-computer information transfer sessions, and to
determine the link(s) along which to forward any given data frame. This task is essen-
tial because a given physical link will usually be shared by several concurrent sessions
between different computers. We break these functions into three problems:
When a data frame arrives at a switch, the switch needs to process it,
determine the correct outgoing link, and decide when to send the frame on that link.
Each switch somehow needs to determine the topology of the network,
so that it can correctly construct the data structures required for proper forwarding.
The process by which the switches in a network collaboratively compute the network
topology, adapting to various kinds of failures, is called routing. It does not happen
on each data frame, but occurs in the “background”.
Resource allocation:
Switches allocate their resources—access to the link and local
memory—to the different communications that are in progress.