the way networks work computer networks kwangwoon university
TRANSCRIPT
The Way Networks Work
Computer Networks
Kwangwoon University
Fall 2006 Computer Networks, Kwangwoon University 2
Shared Ethernet
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.
Fall 2006 Computer Networks, Kwangwoon University 4
Switched Ethernet
Fall 2006 Computer Networks, Kwangwoon University 5
Loop in Switched Ethernet
Fall 2006 Computer Networks, Kwangwoon University 6
Spanning Tree
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.
Fall 2006 Computer Networks, Kwangwoon University 8
Ethernets interconnected by Routers
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.
Fall 2006 Computer Networks, Kwangwoon University 10
A Small Internet
Fall 2006 Computer Networks, Kwangwoon University 11
Virtual Circuits and Routing Tables