Docsity

Notes of computer network, Study notes of Computer Networks

Toggle sidebar
bg1
Section - A
Introduction to Computer Networks
1. Introduction
A computer network is a set of computers connected together for the purpose of sharing
resources. The most common resource shared today is connection to the Internet. Other
shared resources can include a printer or a file server. The design and organization of these
networks are the main aspects of this subject.
2. Uses of Computer Networks
We will start with traditional uses at companies and for individuals and then move on to
recent developments regarding mobile users and home networking.
a. Business Applications
Many companies have a substantial number of computers. For example, a
company may have separate computers to monitor production, keep track of
inventories, and do the payroll. Initially, each of these computers may have
worked in isolation from the others, but at some point, management may have
decided to connect them to be able to extract and correlate information about
the entire company.
Fig. A network with two clients and one server
b. Home Applications
Some of the more popular uses of the Internet for home users are as follows:
1. Access to remote information.
2. Person-to-person communication.
3. Interactive entertainment.
4. Electronic commerce.
c. Mobile Users
1. People on the road often want to use their portable
electronic equipment to send and receive telephone calls,
faxes, and electronic mail, surf the Web, access remote
files, and log on to remote machines.
2. Wireless networks are of great value to fleets of trucks,
taxis, delivery vehicles, and repairpersons for keeping in
contact with home.
d. Social Issues
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Notes of computer network and more Study notes Computer Networks in PDF only on Docsity!

Section - A

Introduction to Computer Networks

  1. Introduction

A computer network is a set of computers connected together for the purpose of sharing resources. The most common resource shared today is connection to the Internet. Other shared resources can include a printer or a file server. The design and organization of these networks are the main aspects of this subject.

  1. Uses of Computer Networks We will start with traditional uses at companies and for individuals and then move on to recent developments regarding mobile users and home networking.

a. Business Applications Many companies have a substantial number of computers. For example, a company may have separate computers to monitor production, keep track of inventories, and do the payroll. Initially, each of these computers may have worked in isolation from the others, but at some point, management may have decided to connect them to be able to extract and correlate information about the entire company.

Fig. A network with two clients and one server

b. Home Applications Some of the more popular uses of the Internet for home users are as follows:

  1. Access to remote information.
  2. Person-to-person communication.
  3. Interactive entertainment.
  4. Electronic commerce. c. Mobile Users
  5. People on the road often want to use their portable electronic equipment to send and receive telephone calls, faxes, and electronic mail, surf the Web, access remote files, and log on to remote machines.
  6. Wireless networks are of great value to fleets of trucks, taxis, delivery vehicles, and repairpersons for keeping in contact with home.

d. Social Issues

The widespread introduction of networking has introduced new social, ethical, and political problems. Let us just briefly mention a few of them:

  1. Newsgroups are set up on topics that people actually care about, like politics, religion.
  2. (^) Employee rights versus employer rights.
  3. Government versus citizen. 3. Network Hardware There is no generally accepted taxonomy into which all computer networks fit, but two dimensions stand out as important: transmission technology and scale. There are two types of transmission technology that are in widespread use. They are as follows:
  4. Broadcast links.
  5. Point-to-point links

Broadcast networks have a single communication channel that is shared by all the machines on the network. Broadcast systems generally also allow the possibility of addressing a packet to using a special code in the address field. When a packet with this code is transmitted, it is received and processed by every machine on the network. This mode of operation is called broadcasting.

Point-to-point networks consist of many connections between individual pairs of machines. To go from the source to the destination, a packet on this type of network may have to first visit one or more intermediate machines. Often multiple routes, of different lengths, are possible, so finding good ones is important in point-to-point networks.

An alternative criterion for classifying networks is their scale in figure below classification of multiple processor systems by their physical size.

The Internet The Internet is not a network at all, but a vast collection of different networks that use certain common protocols and provide certain common services. It is an unusual system in that it was not planned by anyone and is not controlled by anyone. The Internet today is not a simple hierarchical structure. It is made up of many wide- and localarea networks joined by connecting devices and switching stations. It is difficult to give an accurate representation of the Internet because it is continually changing--new networks are being added, existing networks are adding addresses, and networks of defunct companies are being removed. Today most end users who want Internet connection use the services of Internet service

Disadvantages Network disruption when computers are added or removed A break in the cable will prevent all systems from accessing the network. Difficult to troubleshoot.

Ring Topology

  • Logical ring
    • Meaning that data travels in circular fashion from one computer to another on the network.
    • Typically FDDI, SONET or Token Ring technology are used to implement a ring network
    • Ring networks are most commonly wired in a star configuration
  • Token Ring has multi-station access unit (MSAU),equivalent to hub or switch. MSAU performs the token circulation internally.

Advantages Cable faults are easily located, making troubleshooting easier Ring networks are moderately easy to install

Disadvantages Expansion to the network can cause network disruption A single break in the cable can disrupt the entire network.

Fig:Network topologies. (a) Bus. (b) Ring.

Star Topology

  • All computers/devices connect to a central device called hub or switch.
  • Each device requires a single cable
  • point-to-point connection between the device and hub.
  • Most widely implemented
  • Hub is the single point of failure Advantages Easily expanded without disruption to the network Cable failure affects only a single use Easy to troubleshoot and isolate problems Disadvantages Requires more cable A central connecting device allows for a single point of failure

More difficult to implement

Fig: Star Topology Tree or Expanded Star Topology A tree topology combines characteristics of linear bus and star topologies. It consists of groups of star-configured workstations connected to a linear bus backbone cable (See fig. 3). Tree topologies allow for the expansion of an existing network, and enable schools to configure a network to meet their needs.

Advantages Point-to-point wiring for individual segments. Supported by several hardware and software venders. Disadvantages Overall length of each segment is limited by the type of cabling used. If the backbone line breaks, the entire segment goes down.

Mesh Topology Mesh topologies involve the concept of routes. Unlike each of the previous topologies, messages sent on a mesh network can take any of several possible paths from source to destination. (Recall that even in a ring, although two cable paths exist, messages can only travel in one direction.) Some WANs, most notably the Internet, employ mesh routing. A mesh network in which every device connects to every other is called a full mesh.

Advantage The arrangement of the network nodes is such that it is possible to transmit data from one node to many other nodes at the same time. Disadvantage The arrangement wherein every network node is connected to every other node of the network, many of the connections serve no major purpose. This leads to the redundancy of many of the network connections.

Wide Area Network

A wide area network (WAN) is a telecommunication network that covers a broad area (i.e., any network that links across metropolitan, regional, or national boundaries). Business and government entities utilize WANs to relay data among employees, clients, buyers, and suppliers from various geographical locations. In essence this mode of telecommunication allows a business to effectively carry out its daily function regardless of location. This is in contrast with personal area networks (PANs), local area networks (LANs), campus area networks (CANs), or metropolitan area networks (MANs) which are usually limited to a room, building, campus or specific metropolitan area (e.g., a city) respectively.

Metropolitan area network

A metropolitan area network ( MAN ) is a computer network that usually spans a city or a large campus. A MAN usually interconnects a number of local area networks (LANs) using a high-capacity backbone technology, such as fiber-optical links, and provides up-link services to wide area networks (or WAN) and the Internet.

A MAN is optimized for a larger geographical area than a LAN, ranging from several blocks of buildings to entire cities. MANs can also depend on communications channels of moderate-to-high data rates. A MAN might be owned and operated by a single organization, but it usually will be used by many individuals and organizations. MANs might also be owned and operated as public utilities. They will often provide means for internetworking of local networks. Metropolitan Area Network (MAN) is a large computer network that spans a metropolitan area or campus. Its geographic scope falls between a WAN and LAN. MANs provide Internet connectivity for LANs in a metropolitan region, and connect them to wider area networks like the Internet.

OSI model

The Open Systems Interconnection model ( OSI model ) is a product of the Open Systems Interconnection effort at the International Organization for Standardization. It is a way of sub-dividing a communications system into smaller parts called layers. A layer is a collection of similar functions that provide services to the layer above it and receives services from the layer below it. On each layer, an instance provides services to the instances at the layer above and requests service from the layer below.

For example, a layer that provides error-free communications across a network provides the path needed by applications above it, while it calls the next lower layer to send and receive packets that make up the contents of the path. Two instances at one layer are connected by a horizontal connection on that layer.

Most network protocols used in the market today are based on TCP/IP stacks.

OSI Model Data unit

Layer Function

Host layers

Data 7. Application Network process to application

  1. Presentation Data representation, encryption and decryption, convert machine dependent data to machine independent data
  2. Session Interhost communication Segments 4. Transport End-to-end connections and reliability, flow control Media layers

Packet 3. Network Path determination andlogical addressing Frame 2. Data Link Physical addressing Bit 1. Physical Media, signal and binary transmission Layer 1: Physical Layer The Physical Layer defines the electrical and physical specifications for devices. In particular, it defines the relationship between a device and a transmission medium, such as a copper or optical cable. This includes the layout of pins, voltages, cable specifications, hubs,repeaters, network adapters, host bus adapters (HBA used instorage area networks) and more.

The major functions and services performed by the Physical Layer are:

ā–  Establishment and termination of a connection to a communications medium.

ā–  (^) Participation in the process whereby the communication resources are effectively shared among multiple users. For example, contention resolution and flow control.

ā–  Modulation, or conversion between the representation of digital data in user equipment and the corresponding signals transmitted over a communications channel. These are signals operating over the physical cabling (such as copper and optical fiber) or over a radio link. Layer 2: Data Link Layer The Data Link Layer provides the functional and procedural means to transfer data between network entities and to detect and possibly correct errors that may occur in the Physical Layer. Originally, this layer was intended for point-to-point and point-to-multipoint media, characteristic of wide area media in the telephone system. Local area network architecture, which included broadcast-capable multiaccess media, was developed independently of the ISO work in IEEE Project 802. Both WAN and LAN service arrange bits, from the Physical Layer, into logical sequences called frames. Not all Physical Layer bits necessarily go into frames, as some of these bits are purely intended for Physical Layer functions. For example, every fifth bit of the FDDI bit stream is not used by the Layer.

Layer 3: Network Layer The Network Layer provides the functional and procedural means of transferring variable length data sequences from a source host on one network to a destination host on a different network, while maintaining the quality of service requested by the Transport Layer (in contrast to the data link layer which connects hosts within the same network). The Network Layer performs network routingfunctions, and might also perform fragmentation and