Example: quiz answers

Overview of Computer Networks

Overview of Computer NetworksNorman MatloffDept. of Computer ScienceUniversity of California at Davisc 2001-2005, N. MatloffApril 11, 2005 Contents1 Significance of .. Are Networks Used For? .. Aspects of Networks Are Important to Know? ..32 An Introductory Example33 The Famous, Overrated But Useful 7-Layer of the Layers .. Layer .. Link Layer .. Layer .. Layer .. Layer .. Layer .. Layer .. the Layers Interact ..74 More on Overview .. Vs. Datagram Communication .. Addresses .. Communication .. Current Socket Status.

Overview of Computer Networks Norman Matloff Dept. of Computer Science University of California at Davis c 2001-2005, N. Matloff April 11, 2005 Contents

Tags:

  Network, Computer, Overview, Overview of computer networks

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Overview of Computer Networks

1 Overview of Computer NetworksNorman MatloffDept. of Computer ScienceUniversity of California at Davisc 2001-2005, N. MatloffApril 11, 2005 Contents1 Significance of .. Are Networks Used For? .. Aspects of Networks Are Important to Know? ..32 An Introductory Example33 The Famous, Overrated But Useful 7-Layer of the Layers .. Layer .. Link Layer .. Layer .. Layer .. Layer .. Layer .. Layer .. the Layers Interact ..74 More on Overview .. Vs. Datagram Communication .. Addresses .. Communication .. Current Socket Status.

2 Makes a Connection Unique .. TCP/IP Application: NFS .. 125 network Socket Example .. Code .. Shall I Say Is Calling? .. Socket Examples .. Example .. Use of Sockets .. I/O .. Client/Server Programs .. 236 Packet/Frame .. 257 Putting It All Together258 Application-Layer Protocols279 Routing Issues2821 Significance of HistoryThe key to the Computer revolution of the 1980s was the invention of the microprocessor in the 1970s. Thisgave rise to the cheap computers which have become ubiquitous in homes, schools and offices, and to theembedded computerswhich serve as controllers inside cameras, cars, washing machines and so Computer revolution of the late 1990s, now continuing int the 21st century, involves Computer Networks ,whose existence is enriching our society in countless different What Are Networks Used For?

3 A simplified but worthwhile description of the uses of Computer Networks might be as follows: Sharing of hardware: For example, several PCs might be networked together in a wired or wirelesslocal area network (LAN) to share a printer. Sharing of information:Distributed databases, e-mail, the World Wide Web and so on are examplesof this. Here the sharing involves both LANs andwide area Networks (WANs), especially the Which Aspects of Networks Are Important to Know? Networks touch upon virtually every aspect of computing today. A good workingknowledge ( not of the partial credit on an extra problem type) is of enormous should be noted carefully that it is important to know both the software and non-software aspects ofnetworks the latter meaning the hardware, the protocols,1the quantitative performance issues and so you interview for a job involving Networks , you can expect that at least half of the questions will beon the non-software aspects, even if the job itself deals mainly with software.

4 Moreover, many jobs youmight interview for might be as system administrators; in such positions, knowing the physical structure ofnetworks is just as important as knowing how the network software An Introductory ExampleConsider the following structure:1 Aprotocolis simply an organized set of rules for performing some task, usually with two entities cooperating with each we have three individual LANs, labeled A, B and C, tied together in aninternet. (Note the lower-case i .) The address names of the nodes here, such , use the IP format which will bediscussed later.

5 This internet should not be confused with the Internet, distinguished by the capital I .The Internet is a special internet connecting TCP/IP Networks node here is a Computer , connected to one or more Networks via one or more network interface cards(NICs). Recall that in any Computer , each I/O device s interface has a specificport keyboard interface, for instance, might be port 50. Whenever a program, usually the operating system(OS), reads from the keyboard, the value 50 would go onto the Computer s address bus. Similarly, a NIC hasan address too, say 60. Whenever the OS reads from or writes to the LAN, it does so via the NIC, using theNIC s assigned can be confusing, because there will be several addresses at work here: The NIC address from the CPU s point of view is 60, in the sense that the NIC is connected to thecomputer s address bus at that address.

6 The NIC also has a LAN address, typically a 48-bit Ethernet ID number hardwired into the NIC at thetime of manufacture and unique among all NICs in the world of that LAN type. If the Computer is part of the Internet, the NIC will be assigned an Internet (IP) address, a 32-bitidentifier unique among all Internet hosts in the At the TCP layer of the network software, we also speak ofportswhich are purely software IDs thathave nothing to do with port numbers like 60 above. In essence, each TCP port is a different element ina large array in the TCP software, each element corresponding to a different service such assendmail(a program that actually puts your outgoing e-mail onto the network , and receives incoming mail foryou, as opposed to the program you use to compose and read mail with)

7 ,ftp,sshand so similar term isintranet, which refers to a private collection of Networks , say within a particular company, which wedo not wish to make accessible to 128 bits in IP version I buy an Ethernet card and install it insaturn, but later swap it with the one incitroen. Then thecard s Ethernet ID will still be the same, but its IP address will change, and maybe its I/O port number(previously 60) will change Computer can be connected to more than one network , as is the case here. For eachNIC a given Computer has, the Computer would answer to a different name.

8 In addition, a Computer can evenhave more than one name associated with the same NIC. Here the machine has the with the interface to network A, and its are associatedwith network , TCP/IP is ubiquitous today for general-purpose usage. But there are other protocols for special-purpose usage, such as one designed for fast communication in parallel processing the protocol ID ( 0x0800 for TCP/IP, 0x8137 for Netware, etc.) will be placed into the bit framesgoing out onto the Ethernet, each Computer on the network will be able to determine what protocol anincoming message was sent under.

9 This is especially useful if the same Computer is running two or moreprotocols. An incoming message from the Ethernet at the Computer causes a hardware interrupt, and theinterrupt service routine can then pass on the message to the proper protocol software, according to theprotocol ID specified in the Ethernet jagged line a phone line, dedicated to communicationbetween the two machines, operating 24 hours a you can see that there are two ways that we can connect two LANs together: We can install a Computer and connect it to both LANs. We can put in a phone line (or microwave link, etc.)

10 Between a Computer on one LAN and a computeron another The Famous, Overrated But Useful 7-Layer ModelEvery network textbook includes a picture of the famous seven-layer model. Actually, this model is vague,and it does not always correspond to specific portions of specific Networks . Nevertheless, it serves as a usefuloverview of the field. Here is how some of the layers relate to our sample network Overview of the LayersThe layers collectively are often referred to as theprotocol Physical LayerThis is concerned with the nature of the physical media (metal or optical cable, free-space microwave, etc.)


Related search queries