Presentation is loading. Please wait.

Presentation is loading. Please wait.

EEC-484/584 Computer Networks Lecture 2 Wenbing Zhao

Similar presentations


Presentation on theme: "EEC-484/584 Computer Networks Lecture 2 Wenbing Zhao"— Presentation transcript:

1 EEC-484/584 Computer Networks Lecture 2 Wenbing Zhao wenbing@ieee.org

2 2 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Outline Definition of computer networks Network Hardware –Type of computer networks Network Software –Protocols etc. Textbook online: –http://proquest.safaribooksonline.com/0130661023

3 3 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Definition of Computer Network Computer Network: Interconnected collection of autonomous computersComputer Network: Interconnected collection of autonomous computers –Interconnected – able to exchange info via copper wire, fiber, microwaves, satellites, etc. –Autonomous – act independently Single network vs. network of networks –A single network uses a single technology

4 4 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Why Computer Networks? Business applications –Share resources, conduct business Home applications –Entertainment, shopping Mobile users

5 5 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Computer Networks Enable Resource Sharing Resource sharing –Equipment, software programs, data

6 6 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Client-Server Model The client-server model involves requests and replies

7 7 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Type of Computer Networks No generally accepted taxonomy. Two dimensions –Transmission technology –Scale Transmission technology –Broadcast links –Point-to-point links (unicasting)

8 8 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Classification by Scale

9 9 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Local Area Networks LANs are distinguished from other kinds of networks by three characteristics –Size – typically spans a room, a building or a campus –Transmission technology – typically using broadcast –Topology

10 10 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Wide Area Networks Spans a large geographical area, often a country or continent Network structure in WAN –Hosts or end systems Collection of machines that run user (application) programs –Communication Subnet – connects hosts Carry messages from host to host, just as the telephone system carries voice from speaker to listener

11 11 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Wide Area Networks Separation of the pure communication aspects of the network (the subnet) from the application aspects (the hosts), greatly simplifies the complete network design

12 12 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Communication Subnet Two distinct components –Transmission lines – move bits (circuits, channels, trunks) –Routers or switching elements that connect three or more transmission lines Two types of designs –Point-to-point channels <= dominating –Broadcast channels

13 13 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Wide Area Networks Relation between hosts on LANs & subnet

14 14 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Network Software Protocol Hierarchies Design issues for the layers Exercise

15 15 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Protocol Hierarchies: Multilayer Communication

16 16 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Protocol Hierarchies: Terminologies A protocol is a set of rules governing the format and meaning of the messages that are exchanged by the peer entities within a layer Protocol hierarchies are organized into layers with different protocols at each layer –Each layer offers certain services to higher layers, hiding the details of implementation of those services

17 17 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Protocol Hierarchies: Terminologies Layer n on one machine communicates with layer n on another machine –The rules and conventions used in this conversation are collectively known as the layer n protocol Protocol Stack - A list of protocols used by a certain system, one protocol per layer

18 18 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Protocol Hierarchies: Terminologies Interface defines interactions between adjacent layers A service is a set of primitives (operations) that a layer provides to the layer above it –Defines what operations the layer is prepared to perform on behalf of its users Services relate to the interfaces between layers. In contrast, protocols relate to the packets sent between peer entities on different machines

19 19 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Protocol Hierarchies: Terminologies A protocol relates to the implementation of the service –Different protocol could be used to provide the same service –A protocol is not visible to the users of the service

20 20 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Multilayer Communication

21 21 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Exercise A system has an n-layer protocol hierarchy. Applications generate messages of length M bytes. At each of the layers, an h-byte header is added. What fraction of the network bandwidth is filled with headers?

22 22 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Design Issues for the Layers Mechanisms for –Connection establishment and addressing –Connection termination or release Rules for data transfer –Simplex – data flows in one direction –Half duplex – data flows in either direction, but not simultaneously –Full duplex – both directions simultaneously –Number of logical channels and their priority

23 23 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Design Issues for the Layers Error control –Error detecting and correcting codes –Positive and negative acknowledgement –Re-sequencing packets that arrives out of order Flow control –Need to keep a fast sender from swamping a slow receiver –Use feedback from receiver to sender

24 24 Spring Semester 2009EEC-484/584: Computer NetworksWenbing Zhao Design Issues for the Layers Finite buffers –Use mechanisms for disassembling, transmitting, reassembling large messages Multiplexing –Several unrelated conversations between pair of communicating processes Routing –Which route to use if there are several


Download ppt "EEC-484/584 Computer Networks Lecture 2 Wenbing Zhao"

Similar presentations


Ads by Google