1.2.1 Local Area Networks
L
|
ocal area networks, generally called LANs, are privately-owned networks within a single building or campus of
up to a few kilometers in size. They are widely used to connect personal computers and workstations in company offices and factories to share resources (e.g., printers) and exchange information.
LANs are
distinguished from other kinds of networks by three characteristics:
(1) their size,
(2) their transmission technology, and
(3) their topology.
LANs are restricted in size, which means that the worst-case transmission time is bounded and known inadvance.
Knowing this bound makes it possible to use certain kinds of designs that would not otherwise be
possible. It also simplifies network management.
LANs may use a transmission technology consisting of a cable to which all the machines are attached, like the
telephone company party lines once used in rural areas. Traditional LANs run at speeds of 10 Mbps to 100
Mbps, have low delay (microseconds or nanoseconds), and make very few errors. Newer LANs operate at up to
10 Gbps. In this book, we will adhere to tradition and measure line speeds in megabits/sec (1 Mbps is 1,000,000
bits/sec) and gigabits/sec (1 Gbps is 1,000,000,000 bits/sec).
Various topologies are possible for broadcast LANs. Figure 1-7 shows two of them. In a bus (i.e., a linear cable)
network, at any instant at most one machine is the master and is allowed to transmit. All other machines are
required to refrain from sending. An arbitration mechanism is needed to resolve conflicts when two or more
machines want to transmit simultaneously. The arbitration mechanism may be centralized or distributed. IEEE
802.3, popularly called Ethernet, for example, is a bus-based broadcast network with decentralized control,
usually operating at 10 Mbps to 10 Gbps. Computers on an Ethernet can transmit whenever they want to; if two
or more packets collide, each computer just waits a random time and tries again later.
Figure 1-7. Two broadcast networks. (a) Bus. (b) Ring.