Beruflich Dokumente
Kultur Dokumente
Lecture # 01 Introduction
Course Instructor: Engr. Ghulam Shabbir Assistant Professor, TED UET Taxila
Grading Policy
Quizzes may be announced or unannounced. Exams are closed-book and extremely time limited. Exams consist of design questions, numerical, maybe true-false and short answer questions.
Reading
Text book:
Reference books:
Computer Networks, A Systems Approach L. Peterson & Davie Data and Computer Communication by William Stallings (7th Edition) Prentice Hall.
Data Communications
The term telecommunication means communication at a distance. The word data refers to information presented in whatever form is agreed upon by the parties creating and using the data. Data communications are the exchange of data between two devices via some form of transmission medium such as a wire cable.
Fundamental Characteristics
1. 2. 3. 4. 5.
Half Duplex
Full Duplex
Network design
Before looking inside a computer network, first agree on what a computer network is
Computer network ?
Set of serial lines to attach terminals to mainframe ? Telephone network carrying voice traffic ? Cable network to disseminate video signals ?
Specialized to handle:
Keystrokes Voice Video
Generality Built from general purpose programmable hardware Supports wide range of applications Not optimized for special purpose application like making phone calls or delivering television signals
Properties:
Infinitely replicable Computers can manipulate information Networks create access to information
Networks
Potential of networking:
What is Connectivity ?
Direct or indirect access to every other node in the network Connectivity is the magic needed to communicate if you do not have a direct pt-pt physical link.
Building Blocks
hosts switches
point-to-point
multiple access
Number of computers that can be connected becomes very limited Number of wires coming out of each node becomes unmanageable Amount of physical hardware/devices required becomes very expensive Solution: indirect connectivity using intermediate data forwarding nodes
A Network
A network can be defined recursively as
two or more nodes connected by a physical link Or two or more networks connected by one or more nodes
Switched Networks
two or more nodes connected by a link white nodes (switches) implement the network colored nodes (hosts) use the network
Switched Networks
two or more networks connected by one or more nodes: internetworks white nodes (router or gateway) interconnects the networks a cloud denotes any type of independent network
Switching Strategies
b.
c.
d.
establishes a dedicated circuit links reserved for use by communication channel send/receive bit stream at constant rate example: original telephone network
What next ?
usually unique
process of determining how to forward messages to the destination node based on its address unicast: node-specific broadcast: all nodes on the network multicast: some subset of nodes on the network
Types of addresses
Wrap-up
A network can be constructed from nesting of networks An address is required for each node that is reachable on the network Address is used to route messages toward appropriate destination
What next ?
Hosts know how to reach other hosts on the network How should a node use the network for its communication ? All pairs of hosts should have the ability to exchange messages: cost-effective resource sharing for efficiency
Multiplexing
Switch 2
Messages are delayed Messages are delivered out-of-order Third parties eavesdrop
The challenge is to fill the gap between application expectations and hardware capabilities
Throughput Delay Data transmitted are identical to data received. Measured by the frequency of failure The time it takes a link to recover from a failure Protecting data from unauthorized access
Reliability
Security
Terminology
The throughput or bandwidth of a channel is the number of bits it can transfer per second
The latency or delay of a channel is the time that elapses between sending information and the earliest possible reception of it
Network topologies
Latency
A synonym for delay, is an expression of how much time it takes for transmission from one designated point to another
Categories of Topology
bus mesh
star
ring
Network in small geographical Area (Room, Building or a Campus) is called LAN (Local Area Network)
Network spread geographically (Country or across Globe) is called WAN (Wide Area Network)
Whats a protocol?
human protocols: whats the time? I have a question introductions specific msgs sent specific actions taken when msgs received, or other events network protocols: machines rather than humans all communication activity in Internet governed by protocols
Protocol
protocols define format, order of msgs sent and received among network entities, and actions taken on msg transmission, receipt
a human protocol and a computer network protocol:
Hi
Hi
Got the time?
time
2:00
<file>
Standard
Essential in creating and maintaining an open and competitive market for equipment manufacturers Guaranteeing national & international interoperability of data & telecommunication technology & process.
Layered Tasks
An example from the everyday life
Hierarchy?
Services
To reduce complexity of communication task by splitting it into several layered small tasks Functionality of the layers can be changed as long as the service provided to the layer above stays unchanged
Each layer has its own task Each layer has its own protocol
Reference Models
Open System Interconnection 7 layers Crate a layer when different abstraction is needed Each layer performs a well define function Functions of the layers chosen taking internationally standardized protocols Number of layers large enough to avoid complexity
1.
2.
3.
4.
Larger bandwidth at lower cost Error correction Flow control Addressing Multiplexing Naming Congestion control Mobility Routing Fragmentation Security ....
Applications
E-mail Searchable Data (Web Sites) E-Commerce News Groups Internet Telephony (VoIP) Video Conferencing Chat Groups Instant Messengers Internet Radio
Readings