the way networks work computer networks kwangwoon university

11
The Way Networks Work Computer Networks Kwangwoon University

Upload: edmund-simon

Post on 01-Jan-2016

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: The Way Networks Work Computer Networks Kwangwoon University

The Way Networks Work

Computer Networks

Kwangwoon University

Page 2: The Way Networks Work Computer Networks Kwangwoon University

Fall 2006 Computer Networks, Kwangwoon University 2

Shared Ethernet

Page 3: The Way Networks Work Computer Networks Kwangwoon University

Fall 2006 Computer Networks, Kwangwoon University 3

(Ethernet) Switches

• A switch can– interconnects two or more Ethernets, or

– replace the hub of an Ethernet. ( Switched Ethernet)

• A switch can transmit multiple packets at the same time

Larger throughput than a shared Ethernet

• Redundant switches for reliability– If one switch fails, there is another path for the packets.

– But it creates loops in which packets are copied forever!

• Spanning tree algorithm– To prevent a loop, the switches run the algorithm to select a tree.

– Only the switches that are on the tree copy packets.

Page 4: The Way Networks Work Computer Networks Kwangwoon University

Fall 2006 Computer Networks, Kwangwoon University 4

Switched Ethernet

Page 5: The Way Networks Work Computer Networks Kwangwoon University

Fall 2006 Computer Networks, Kwangwoon University 5

Loop in Switched Ethernet

Page 6: The Way Networks Work Computer Networks Kwangwoon University

Fall 2006 Computer Networks, Kwangwoon University 6

Spanning Tree

Page 7: The Way Networks Work Computer Networks Kwangwoon University

Fall 2006 Computer Networks, Kwangwoon University 7

Router

• Ethernets can be interconnected also by routers.

• The differences between routers and switches:

– Router decides where to send a packet next. (Routing)

– The decision is made for the best path to the destination.

– Router uses network address to forward a packet.

– Router modifies the Ethernet address of a packet to relay it among multiple Ethernets.

Page 8: The Way Networks Work Computer Networks Kwangwoon University

Fall 2006 Computer Networks, Kwangwoon University 8

Ethernets interconnected by Routers

Page 9: The Way Networks Work Computer Networks Kwangwoon University

Fall 2006 Computer Networks, Kwangwoon University 9

The Internet

• The Internet is a global network of networks, in which– The WWW hiperlinks documents around the world.

– The documents, written by HTML, include text, audio, video, and other links.

– Users navigate the WWW through Web browsers.

• Shortcomings of the Internet– Best-effort services : No guarantee on the delays or transmission losses

– Unreliable network and security

• The Internet has self-organizing mechanisms– Packets find their ways to their destination

– If a link or a router break down, packets automatically transit along other paths.

Page 10: The Way Networks Work Computer Networks Kwangwoon University

Fall 2006 Computer Networks, Kwangwoon University 10

A Small Internet

Page 11: The Way Networks Work Computer Networks Kwangwoon University

Fall 2006 Computer Networks, Kwangwoon University 11

Virtual Circuits and Routing Tables