Docsity

Understanding Networks: Architecture, Protocols, and Security, Study notes of Computer Science

Toggle sidebar
bg1
---------------------------------------------------------------------------------------------------
References:
Text book:
1. Computer Networking
A Top-Down Approach Featuring the Internet
James F. Kurose and Keith W. Ross
2. Data and Computer Communication William Stalling
3. Computer Network A.S Tanenebaum
4. Data communicaton and Networking- Forouzan
5. Microsoft Encyclopedia of Networking
6. IIT Computer Network Video lectures.
7. Wiki-pedia
Page: 1 compiled by: JP NEC. Daya Ram Budhathoki
Computer Network : Lecture Notes
Nepal Engineering College
Prepared by: Junior Pro fesso r: Daya Ra m Budhathoki
Nepa l Engineering college, Chang unarayan
daya ramb(at)nec.edu.np
Available online a t
http://daya ram b.wordpress.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Understanding Networks: Architecture, Protocols, and Security and more Study notes Computer Science in PDF only on Docsity!

References: Text book:

1. Computer Networking A Top-Down Approach Featuring the Internet **James F. Kurose and Keith W. Ross

  1. Data and Computer Communication William Stalling
  2. Computer Network A.S Tanenebaum
  3. Data communicaton and Networking- Forouzan
  4. Microsoft Encyclopedia of Networking
  5. IIT Computer Network Video lectures.
  6. Wiki-pedia**

Computer Network : Lecture Notes

Nepal Engineering College Prepared by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan dayaramb(at)nec.edu.np Available online at http://dayaramb.wordpress.com

Table of Contents

Chapter1: Emergence of Network , principle of communication

Network and Multiplexing

What is Computer Network? Uses and advantages of Computer Network. Principles of Communication. Modes of communication Multiplexing(Simplex,Duplex and half-duplex)

What is computer Network?

A communication system for connecting computers/hosts.

  • A computer network is a number of computers ( also known as nodes) connected by some communication lines.
  • Two computers connected to the network can communicate with each other through the other nodes if they are not directly connected.
  • Some of the nodes in the network may not be computers at all but they are network devices( Like switches, routers etc.) to facilitate the communication. Uses of the computer Network
  • Exchange of information between different computers. (File sharing)
  • Interconnected small computers in place of large computers.
  • Communication tools (voice , video)
  • Some applications and technologies are examples of Distributed system. (Railway reservation system, Distributed databases etc). Advantages of Computer Network?
  • Better communication
  • Better connectivity
  • Better sharing of Resources
  • Bring people together Network supporting the way we live Communication is almost as important to us as our reliance on air, food, water and shelter. The methods that we used to share the information are constantly changing and evolving. As with every advance in communication technology, the creation and interconnection of data network is having a profound effect. These days computer networks have evolved to carry voice, video streams, text and graphics between many different types of devices. The immediate nature of communications over the Internet encourages the formation of global communities. These communities foster social interaction that is independent of location or time zone. Examples of Todays popular communication tools.
  1. Instant messaging
  2. Weblogs
  3. wikis
  4. Podcasting
  5. Collaboration tools
  6. Facebook
  7. Twitter Networks Supporting the way we learn communication, collaboration and engagement are fundamental building blocks of education. institutions are

continually striving to enhance these processes to maximize the dissemination of knowledge. Robust and reliable networks support and enrich student learning experiences. Traditional Learning Process:

  1. Text book
  2. Instructor these are limited in type of format and the timing of the presentation.In contrast, on-line courses can contain voice, data, and video, and are available to the students at any time from any place. on line distance learning has removed geographic barriers and improved student opportunity.
  • course-ware
  • collaboration
  • References
  • Administration Network supporting the way we work: Remote Access: Business application can be accessed remotely as if employees were on site. Multiple Resources: workers in any location can reach each other and access multiple resources on the network. Network supporting the way we play: on-line games Types of Computer Network: LAN WAN Connects host within a relatively small geographical area.
  • Same Building
  • Same room
  • Same Campus Hosts may be widely dispersed.
  • Across Campuses
  • Acorss Cities/countries/continent Faster Slower Cheaper Expensive Under a control of single ownership. Not under a control of a single person. Typical Speeds: 10 Mbps to 10Gbps Typical Speed: 64 Kbps to 8 Mbps

Historical Events:

  • 1948 first commercial computer installed UNIVAC 1
  • 1958 First U.S communication satellite.
  • 1964 SABRE airline reservation system packet switching network (Proposed by RAND).
  • 1969 ARPANET first packet switching network beings operation.
  • 1971 frist computer chip
    • 4 bit, 2,300 transistors
  • 1972 Ethernet specifications forumulated
  • 1974 introduces SNA
  • 1975 Altair 8800 first commercial micocomputer sold as kit.
  • 1975 Paul Allan/Bill Gates wrote a BASIC language interpreter for the Altair, they formed Microsoft.

Protocol:

A protocol defines the format and the order of messages exchanged between two or more

  • Each protocol object has two different interfaces.
    • Service interfaces: Defines operation on this protocol. -Peer-to-peer interfaces: Defines message exchanged with peer. communicating entities, as well as the actions taken on the transmission and/or receipt of a message.
  • Building blocks of a Network Architecture.
  • Most networks are organized as a series of layers.
  • The task of each layer is to give some service to the upper layers.
  • Any layer maintains a virtual connection with the corresponding layer in a peer.
  • There is a peer to peer protocol running between any two corresponding layers.
  • The interface between any two layers is well defined.
  • The implementation of each layer in each node is transparent to other devices. A Human protocol and Computer Network protocol

Principle of Communication:

The primary purpose of any network is to provide a method to communicate. All communication methods have three elements in common. The first of these elements is the message source, or sender. Message sources are people, or electronic devices, that need to communicate a message to other individuals or devices. The second element of communication is the destination, or receiver, of the message. The destination receives the message and interprets it. A third element, called a channel , provides the pathway over which the message can travel from source to destination. Protocols are specific to the characteristics of the source, channel and destination of the message. The rules used to communicate over one medium, like a telephone call, are not necessarily the same as communication using another medium, such as a letter. Protocols define the details of how the message is transmitted, and delivered. This includes issues of:

  1. Message format
  2. Message size
  3. Timing
  4. Encapsulation
  5. Encoding
  6. Standard message pattern

Elements of Network:

Multiplexing:

Why Multiplexing? Basic concept of multiplexing Frequency division multiplexing Wavelength division multiplexing Time division multiplexing

  • Synchronous
  • Asynchronous Inverse TDM Course syllabus deal with Simplex, Duplex and half Duplex?

Simplex:

A form of communication in which signals are sent in only one direction. This is different from duplex transmission, in which signals can simultaneously be sent and received by a station, and from half-duplex transmission, in which signals can be sent or received but not both at the same time. Simplex transmission occurs in many common communication applications, the most obvious being broadcast and cable television. It is not used in true network communication because stations on a network generally need to communicate both ways. Some forms of network communication might seem to be simplex in nature, such as streaming audio or video, but the communication actually takes place using bidirectional network traffic, usually Transmission Control Protocol (TCP) traffic. Simplex communication is not included in the V series recommendations of the International Telecommunication Union (ITU).

Duplex

A telecommunications term referring to bidirectional communication. In full-duplex communication, both stations send and receive at the same time, and usually two communication channels are required. However, you can also achieve full-duplex communication using a multiplexing technique whereby signals traveling in different directions are placed into different time slots. The disadvantage of this technique is that it cuts the overall possible transmission speed by half. In half-duplex communication, only one station can transmit at any given time while the other station receives the transmission. The opposite of duplex communication is simplex communication, which can occur only in one direction.

Half-duplex

A mode of communication in which data can be transmitted or received, but cannot be transmitted and received simultaneously. The simplest example is a walkie-talkie: You have to press a button to talk and release the button to listen. When two people use walkie-talkies to communicate, at any given moment, only one of them can talk while the other listens. If both try to talk simultaneously, a collision occurs and neither hears what the other says. Communication through traditional Ethernet networks is another example of half-duplex communication. When one station on an Ethernet transmits, the other stations detect the carrier signal and listen instead of transmitting. If two stations transmit signals simultaneously, a collision occurs and both stations stop transmitting and wait random intervals of time before retransmitting. In contrast, full-duplex communication enables stations to transmit and receive signals simultaneously, with the advantage of providing twice the bandwidth of equivalent half-duplex technologies. However, full-duplex requires two communication channels to achieve these results—one to transmit and one to receive signals. A third mode of communication is called simplex, which involves transmission in one direction only, with one station transmitting signals and the other receiving them.

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.

WAN:

A network that spans broader geographical area than a local area network over public communication network. WANs interconnect LANs, which then provide access to computers or file servers in other locations. Because WANs connect user networks over a large geographical area, they make it possible for businesses to communicate across great distances. WANs allow computers, printers, and other devices on a LAN to be shared with distant locations. WANs provide instant communications across large geographic areas. Collaboration software provides access to real-time information and resources and allows meetings to be held remotely. WANs have created a new class of workers called telecommuters. These people never have to leave their homes to go to work. WANs are designed to do the following:  Operate over a large and geographically separated area  Allow users to have real-time communication capabilities with other users  Provide full-time remote resources connected to local services  Provide e-mail, Internet, file transfer, and e-commerce services Some common WAN technologies include the following:  Modems  Integrated Services Digital Network (ISDN)  Digital subscriber line (DSL)  Frame Relay  T1, E1, T3, and E  Synchronous Optical Network (SONET)

LAN Vs WAN

LAN WAN Connects host within a relatively small geographical area.

  • Same Building
  • Same room
  • Same Campus Hosts may be widely dispersed. - Across Campuses - Acorss Cities/countries/continent Faster Slower Cheaper Expensive Under a control of single ownership. Not under a control of a single person. Typical Speeds: 10 Mbps to 10Gbps Typical Speed: 64 Kbps to 8 Mbps

Internet:

The network formed by the co-operative interconnection of a large number of computer networks.

  • Network of Networks
  • No one owns the Internet
  • Every person who makes a connection owns a slice of the Internet.
  • There is no central administration of the Internet.

Extranet:

Extranets refer to applications and services that are Intranet based, and use extended, secure access to external users or enterprises. This access is usually accomplished through passwords, user IDs, and other application- level security. An extranet is the extension of two or more intranet strategies with a secure interaction between participant enterprises and their respective intranets. Part of a Company's Intranet that is extended to users outside the company(eg. Normally over the Internet). In its simplest form, a private TCP/IP network that securely shares information using Hypertext Transfer Protocol (HTTP) and other Internet protocols with business partners such as vendors, suppliers, and wholesale customers. An extranet is thus a corporate intranet that is exposed over the Internet to certain specific groups that need access to it. Extranets built in this fashion follow the client/server paradigm, with Web servers such as Apache. Extranets are a powerful tool because they let businesses share resources on their own private networks over the Internet with suppliers, vendors, business partners, or customers. Extranets are typically used for supporting real- time supply chains, for enabling business partners to work together, or to share information such as catalogs with customers. The power of the extranet is that it leverages the existing technology of the Internet to increase the power, flexibility, and competitiveness of businesses utilizing well-known and easily used tools such as Web servers and Web browsers. Extranets also save companies money by allowing them to establish business-to- business connectivity over the Internet instead of using expensive, dedicated leased lines. Extranets can also save money by reducing phone and fax costs.

Ethernet:

Ethernet is a family of LAN technologies,that may be best understood with the OSI reference model. Ethernet technologies have three part names:

  1. Speed
  2. Signal Method (BaseBand and BroadBand).
  3. Medium

Eg. 100BASET

  • 100 Mbps
  • Baseband
  • Unshielded Twisted Pair 10BASE5, 10Mbps, Baseband, 5*100Meters. Baseband: A signaling technology that sends digital signals over a single frequency as discrete electrical pulses. The baseband signal is bidirectional so that a baseband system can both transmit and receive signals simultaneously. Use time-division multiplexing (TDM) to accommodate multiple channels over a single baseband transmission line. Baseband signals can be regenerated using repeaters in order to travel longer distances before weakening and becoming unusable because of attenuation. Eg. Ethernet Braodband: A signaling technology that sends signals simultaneously over a range of different frequencies as electromagnetic waves. These signals are unidirectional—traveling in only one direction at a time—so a broadband system can generally either transmit or receive but cannot do both simultaneously. Broadband signals can be regenerated using amplifiers in order to travel longer distances before becoming attenuated. Broadband transmissions are divided into multiple bands or channels by multiplexers using a multiplexing scheme such as frequency-division multiplexing (FDM). Eg.One good example of broadband signaling would be how you view different channels through your cable box and a signal coaxial cable carrying multiple signals in cable television.

Physical Topology and Logical Topology:

Physical topology The term physical topology refers to the way in which a network is laid out physically. The actual layout of the wire or media. Two or more devices connect to a link; two or more links form a topology. Logical topology: Defines how the hosts access the media to send data. Shows the flow of data on a network.