Docsity

Network Topologies, Lecture notes of Network Design

Partial preview of the text

Download Network Topologies and more Lecture notes Network Design in PDF only on Docsity!

Lecture 7 Page 1

CS 118

Network Topologies

CS 118

Computer Network Fundamentals

Peter Reiher

Lecture 7 Page 2

CS 118

Outline

• What is network topology?

• Types of network topologies

• Issues in relaying messages

Lecture 7 Page 4

CS 118

Parties and nodes

• Shannon talked about parties

– Entities that wished to communicate

– Generally a sender and receiver

– Very general

• Machines, people, whatever

• In networking, we usually talk about nodes

– Physical machines used to move information

• We’ll be changing to talk primarily about

nodes

Lecture 7 Page 5

CS 118

Channels and Links

• Shannon talked about channels

– Logical connections between two parties

• Physical networks tend to talk about links ,

instead

– A physical connection between two nodes

• We’ll be changing to talk primarily about links

• In network topologies, links connect nodes

Lecture 7 Page 7

CS 118

Ring

• Connected in a circle

– N links

– Can tolerate 1 link or

node failure

– Links can be simplex

(one direction)

• Managing failures

– “Pass through” on node

failure

– Dual-ring (duplex)

allowing ends to “heal”

Lecture 7 Page 8

CS 118

Hub and spoke

• Node as a switch

– One or multiple levels

• Failure of the hub disconnects entire network

Lecture 7 Page 10

CS 118

Manhattan network

• Grid of squares

– Tend to wrap ends

around (2D torus)

Lecture 7 Page 11

CS 118

Torus

• Each dimension

is a set of rings

– 1D = ring

– 2D = Manhattan

network

– 3D (see right)

Lecture 7 Page 13

CS 118

Multistage Interconnection Net (MIN)

  • Stages of nodes
    • Either new nodes, or nodes “reused”
    • Entire stage “switches” at the same time
  • Phased switching implications
    • Fixed message size (“cells”)
    • “Rearrangeable” vs. “not”
  • E.g., butterfly/banyan

Not usually used as general relays, but often used

“inside the black box” to emulate a link

Lecture 7 Page 14

CS 118

Examples

• Clos

– 3-stage: in, middle, out

Lecture 7 Page 16

CS 118

Impact of topology

• Naming

– Node labels can describe location

– Location can indicate route

• Use cases

– Distributed problems can be mapped to nodes

– Communication patterns can align to topology

• E.g., ATM cash machines and the bank map well to a

hub-and-spoke

Lecture 7 Page 17

CS 118

Scale and size

• Limits of a single link

– Power limits distance

– Can fix with repeaters, but they’re not free

• Limits of a shared link

– Protocol limits distance

– Fan-out power limits node count

• Limits of relaying

– No distance limit (relay using nodes)

– No node count limit (fan-out using nodes)

– Complexity (nodes do more work)

– Overhead (communication takes more time)

Lecture 7 Page 19

CS 118

MAN

• Metropolitan …

– Several buildings to a city and its suburbs

– 0.1-100 km

Lecture 7 Page 20

CS 118

LAN

• Local area network

– Inter-desktop to intra-building

– The first *AN

– 1-100 m

– WLAN = wireless