EContent 11 2023 03 01 18 07 37 Unit1IntroductionofComputerNetworkpptx 2023 01 10 23 09 46
EContent 11 2023 03 01 18 07 37 Unit1IntroductionofComputerNetworkpptx 2023 01 10 23 09 46
Unit - 1
Introduction of
Computer Network
• A computer network is a system that connects two or more computing devices for transmitting
and sharing information.
• Example:
Intranet
Internet
Understanding of Network & Internet
What is Internet?
• The internet is a type of world-wide computer network.
• Internet is consist of academic, business and government networks, which carry various
information and services.
• Example:
E-mail
Web access and services
file transfer
Understanding of Network & Internet
Protocols
• A protocol is a set of rules that governs data communications.
• Syntax: Syntax means format of data or the structure how it is pretend e.g. First eight bits
for sender address, next eight bits for receiver address and rest of the bits for
message/information.
1 1 0 0 1 1 0 1 0 1 1 0 1 1 1 0 1 1 1 0 0 0 1 0 1 1 1 1 0 . . .
• Semantics: Semantics is the meaning of each section of bits e.g. The address bit means the
route of transmission or final destination of the message.
• Timing: Timing means, at what time data can be sent and how fast data can be sent.
Understanding of Network & Internet
Standards
• Standards provide guidelines to the manufacturers, vendors, government agencies and
service provider. It ensure that interconnectivity and compatibility of the device.
• De facto: De facto means by facts or by convention. The standards that are not approved
by any organization but are widely used are De facto standards. These are established by
manufacturers.
• De jure: De jure means by law or by regulation. These are the standards that are
recognized officially by an organization.
Understanding of Network & Internet
Characteristics of Computer Network
• Security
• Reliability
• Scalability
• Flow of data
• High Performance
• Fault Tolerance
• Quality of Service (QoS)
Understanding of Network & Internet
Application of Computer Network
• Resource sharing such as printers and storage devices
• Financial Services
• Teleconferencing
• Cable Television
• Information Services
• Electronic Messaging
• Electronic Data Interchange (EDI)
• Directory services (Websites)
• Cellular Telephone
Understanding of Network & Internet
What is Data Communication?
• Data
Data refers to any information.
• Communication
Communication means sending or receiving information.
• Data Communication
Data Communication is a process of exchanging data or information through a
communication device.
Ex., Computer, Mobile Phones, Tablets.
Understanding of Network & Internet
Characteristics of Data Communication
• Delivery
The data should be delivered to the correct destination and correct user.
• Accuracy
The communication system should deliver the data accurately, without introducing any
errors. The data may get corrupted during transmission affecting the accuracy of the
delivered data.
• Timeliness
Audio and Video data has to be delivered in a timely manner without any delay; such a
data delivery is called real time transmission of data.
• Jitter
It is the variation in the packet arrival time. Uneven Jitter may affect the timeliness of data
being transmitted.
Categories of
Network
Categories of Network
• On the basis of medium network is divided into two categories: Wired Network and
Wireless Network.
Wired Network
• As we all know, “wired” refers to any physical medium made up of cables. Copper wire,
twisted pair, or fiber optic cables are all options.
• A wired network employs wires to link devices to the Internet or another network, such as
laptops or desktop PCs connected with each other or different networking devices.
Wireless Network
• “Wireless” means without wire, media that is made up of electromagnetic waves (EM
Waves) or infrared waves. Antennas or sensors will be present on all wireless devices.
• Cellular phones, wireless sensors, TV remotes, satellite disc receivers, and laptops with
WLAN cards are all examples of wireless devices.
• For data or voice communication, a wireless network uses radio-frequency waves rather
than wires.
Categories of Network
Exercise
• Difference between wired vs wireless
Types of Network
Types of Network
• Computer networks can be categories by their size as well as their purpose.
• Personal computer devices that are used to develop the personal area network are the laptop,
mobile phones, media player and play stations.
• PAN is the most basic type of
computer network. This network is
restrained to a single person, that is,
communication between the
computer devices is centered only to
an individual’s work space.
• LAN characteristics:
Personal computers, printers, etc., are connected
through LAN.
LANs are very easy to design and troubleshoot.
A central database is used to connect the LAN
networks.
The data transfer rate of LAN is 10 Gbits/s.
LANs are limited to local areas.
Types of Network
MAN (Metropolitan Area Network)
• A metropolitan area network (MAN) is a computer network that interconnects with computer in a
metropolitan area like city.
• MAN is a larger than LAN but smaller than the area covered by a WAN. It is also used to
interconnection of several local area network.
• A MAN is limited to city or group of nearby corporate offices. Range of MAN is 10 km to 100 km.
• MAN is designed with two unidirectional buses.
Each bus is independent of the other in the
transfer of traffic.
• MANs are based on fiber-optic transmission
technology an provide high speed
interconnection between sites.
• It can support both data and voice. IEEE
standard of MAN is 802.6.
Types of Network
MAN (Metropolitan Area Network)
• MAN characteristics:
The geographical area covered is larger than LAN.
Range of MAN is 10 km to 100 km.
The television network is the prime example of MAN.
Types of Network
WAN (Wide Area Network)
• A network that covers a larger area such as a city, state, country or the world is called Wide Area
Network.
• A wide area network (WAN) is a computer network that exists over a large-scale geographical
area.
• A WAN connects different networks, including local area networks (LAN) and metropolitan area
networks (MAN).
Asia
America
Africa
Types of Network
WAN (Wide Area Network)
• In the WAN, when the packet is sent from one router to another via one or more intermediate
routers, the packet is received at each intermediate router in its entirely.
• WAN characteristics:
The largest area, like a country, is covered by WAN.
Different metropolitan countries are linked through the telecommunications network.
WAN may be interconnected in and around the world.
The connection between the networks is established through telephone lines or satellites.
Types of Network
Summery of LAN MAN WAN
LANs, MANs and WANs
• The way in which data is transmitted from one device to another device is known as
transmission modes.
• Only one of the two devices on a link can transmit, the other can only receive.
• The simplex mode can use the entire capacity of the channel to send data in one direction.
Transmission Modes
Half Duplex
• In half-duplex mode, each station can both transmit and receive, but not at the same time.
• When one device is sending, the other can only receive, and vice versa.
• The half-duplex mode is used in cases where there is no need for communication in both direction
at the same time.
• The entire capacity of the channel can be utilized for each direction.
Transmission Modes
Full Duplex
• In full-duplex mode, both stations can transmit and receive simultaneously.
• Full-duplex mode is used when communication in both direction is required all the time.
Comparison of Transmission Modes
Parameters Simplex Half Duplex Full Duplex
• Processing delay also include delay due to the time needed to check for bit-level errors in the
packet that occurred in transmitting the packet’s bits from the upstream router to other router.
Understanding of Delay
Queuing Delay
• The queuing delay is denoted dqueue
• The queuing delay is observed at the queue, the packet experiences a queuing delay as it waits to
be transmitted over the link.
• The delay of a packet can vary from packet to packet. If the queue is empty and no other packet is
currently being transmitted, then packet’s queuing delay zero.
• When the traffic heavy and packets are waiting to be transmitted, the queuing delay will be high.
Understanding of Delay
Transmission Delay
• The transmission delay is defined as the amount of time required to transmit all of the packet bits
over the link.
• The propagation speed of a packet depends on characteristic of physical medium of the link and
the distance between the nodes.
Understanding of Delay
Total Nodal Delay
• The total node delay experienced by a packet is sum of processing delay, queuing delay,
transmission delay and propagation delay within a network.
Packet Loss
• Packet loss occurs when one or more data packets travelling across a computer network fail to
reach their destination.
• Packet loss is measured as a percentage of packets lost with respect to packets sent.
Network Topology
Network Topology
• Physical or Logical layout of structure called topology, in which all nodes are
connected.
• The physical topology of LAN refers to the way in which the stations are physically
interconnected.
Types of
Topology
• When one computer sends a signal up (and down) in the cable, all the computers on
network receive the information, but only one accepts the information (using address
matching). The rest discard the message.
Bus Topology
• Bus is passive topology because it
requires termination. Cable cannot
be left unterminated in a bus
network.
Disadvantages:
• Heavy network traffic can slow a bus network.
• It is difficult to troubleshoot a bus topology.
• Failure of backbone cable, all stations have been disconnected.
• Difficult to add new node.
Star Topology
• A star topology, sometimes known as a star
network. It is a network topology in which
each device is connected to a central hub.
Disadvantages:
• If the central hub fails, the whole network fails to operate.
• Each device requires its own cable segment.
• Installation can be moderately difficult, especially in the hierarchical network.
Ring Topology
• A ring topology is a network architecture in which
devices are connected in a ring structure and send
information to each other based on their ring
node's neighbouring node.
Disadvantages:
• Adding and removing nodes disrupts the network.
• It is difficult to troubleshoot a ring network.
• Failure of one node can affect the whole network.
• Cost of cable is more in ring network.
Mesh Topology
• The mesh topology has a link between each
device in the network.
Disadvantages:
• Building and maintaining the topology is difficult and time consuming.
• Cost of very high in compare to other topologies.
• More difficult to install as the number of devices increase.
• Most of bandwidth are wasted.
Hybrid Topology
• A hybrid topology is a combination of
two or more topologies.
Disadvantages:
• Overall length of each segment is limited by the type of cabling used.
• If the backbone line breaks, the entire segment goes down.
• More difficult to configure and wire than other topologies.
OSI Model (Layered
Approach)
OSI Model
• OSI Model developed by ISO (International Organizations for Standardization)
• OSI stands for Open System Interconnection. There are seven layer in this model.
Functionality
• Network virtual terminal: It is a software version of physical
terminal that allows a user to log onto a remote host.
• File Transfer, Access and Management (FTAM): FTAM allows
user to access files and remote hosts, to retrieve files and to
manage files in remote computer.
• Mail Services: E-mail forwarding, storage are the services
under this category.
Presentation Layer
• This layer is concerned for data representation.
• The presentation layer deals with syntax and semantics of the
informing being exchanged.
• The presentation layer is responsible for translation,
compression, and encryption.
Functionality:
• Translation: Different computers use different encoding
systems. The presentation layer maintains interoperability
between the two encoding system.
• Encryption: Encryption is transforming sender information to
non-readable format while transmission. Decryption is
reverse process.
• Compression: Compression is a technique of reducing number
of bits required to represent the data.
Session Layer
• The session layer is responsible for dialog control and
synchronization.
Functionality:
• Dialog Control: Communication between two process take
place in either half duplex or full-duplex mode. The session
layer manages dialog control for this communication.
Functionality:
• Port addressing: Computer performs several operations
simultaneously process-to-process delivery means specific
process of one computer must be delivered to specific
process on other computer. The transport layer header
therefore include port address.
Transport Layer
Functionality:
• Segmentation and reassembly: A message is divided into a
segments, each segment contains a sequence number
which enables transport layer to reassemble at
destination.
Functionality:
• Logical Addressing: DLL implements physical addressing.
When a packet passes network boundary. An addressing
system is needed to distinguish source and destination,
network layer performs these function. The network layer
adds a header to the packet of upper layer includes the logical
addresses of sender and receiver.
• Flow Control: When the rate of the data transmitted and rate of data
reception by receiver is not same, some data may be lost. So, this layer
manages data flow.
• Access Control: When multiple devices are connected to same link, the
data link layer determines which device has control over link.
Physical Layer
• Physical layer is the lowest layer of the OSI model.
• The most widely known application protocols are: TELNET, File Transfer Protocol
(FTP), Simple Mail Transfer Protocol (SMTP) and Simple Network Management
Protocol (SNMP).
• TELENT is the Network Terminal Protocol, which provides remote login over the
network.
• An application is designed to choose either TCP or UDP based in the service it needs.
• TCP is reliable and connection oriented protocol. It delivers data without error from one PC
to another PC.
• It converts incoming bytes into discrete message. At the receiver side TCP reassembles the
received data or massage into bytes format.
• UDP is a connection less protocol. Sometimes this type of protocol is used for fast delivery.
UDP cannot handle flow control or error checking.
Internet Layer
• The internet layer protocol (IP, ARP, ICMP) handle machine to machine communication.
• This layer protocols moves data from one host to another; even if the host are on different
networks.
• The primary protocol used to move data is the Internet protocol (IP), which provides the following
services.
Addressing: Determining the route to deliver data to the destination host.
Fragmentation: breaking the messages into pieces if an intervening network cannot handle a large
message.
• It provides connection less method of delivering data from one host to another.
• It does not guarantee delivery and does not provide sequencing of datagram.
• It attaches a header to datagram that includes source address and the destination address, both are
unique internet addresses.
Host to network Layer
• This layer is also called as link layer or network interface layer.
• This layer is same as physical and data link layer of OSI model.
• It transmits individual bits from one hop (node) to the next. Carries the bit stream over
a physical media.
Difference between OSI and TC/IP Model
Parameters OSI Model TCP/IP Model
Acronyms OSI stands for open system TCP/IP stands for transmission control
interconnection. protocol/internet protocol
Developed by ISO Department of Defense (DoD)
Layer Separation OSI model has a separate TCP/IP does not have a separate
Presentation layer and Session layer. Presentation layer or Session layer.
Protocol Model was defined before Model defines after protocol were
implementation implementation takes place. implemented.
Model Concept based on three concept i.e. Service, It did not distinguish between service,
interface and protocol. interface and protocol.
Reliable delivery It gives guarantee of reliable delivery It does not give guarantee of reliable
of packet. delivery of packet.
Switching Techniques
Switching Techniques
For transmission of data beyond a local area,
communication is typically achieved by transmitting
data from source to destination through a network of
intermediate switching nodes.
Purpose is to provide a switching facility that will move
the data from node to node until they reach their
destination.
The nodes are connected to each other in some
topology by transmission links.
Each station attaches to a node, and the collection of
nodes is referred to as a communication network.
Two types of Switching Techniques:
1. Circuit Switching
2. Packet Switching
Circuit Switching
The telephone system as it historically developed was designed for voice and analog
signals.
For voice signals, a relatively large amount of distortion is acceptable, since the human
error can understand voice even with distortion .
For digital signals, these distortions may cause the receiver to misinterpret that signal,
it produce errors.
Circuit Switching
The interoffice lines are called trunks. Any phone line can connect one user to another
through the phone system, the user has a line assigned randomly.
This is called the dial-up or switched network.
Telephone networks are connection oriented because they require the setting up of
connection before the actual transfer of information can take place.
An end-to-end path setup beginning of a session, dedicated to the application, and then
released at the end of session. This is called circuit switching.
Circuit Switching
Advantages
Fixed bandwidth and guaranteed capacity.
Low variance end to end delay.
Disadvantages
Connection setup and termination generate extra traffic.
User pay for circuit, even when not sending data.
Other user cannot use circuit even if it is free.
Packet Switching
In packet switching, messages are broken into short blocks and interleaved with other
messages.
Data is sent in individual packets. Each packet is forwarded from switch to switch,
eventually reaching its destination.
Each switching node has a small amount of buffer space to temporarily hold packets.
If the outgoing line is busy, the packet stay in queue until the line becomes available.
Packet switching method uses two routing approaches:
Datagram
Virtual Circuit
Packet Switching
Datagram
In datagram each packet is routed through
independently through the network.
Header attached to each packet. It
provides all of the information required to
route the packet to its destination.
While routing the packet, the destination
address in the header are examined to
determine the next hop in the path to the
destination.
If the required line is busy then the packet
placed in the queue until the line becomes
free.
Packet share the transmission line with
other packets.
Packet Switching
Packet Switching
Advantages
Each packet travel through different path.
No need to establish connection process.
If any route will be down during data transmission, but packet reached at destination any
way..
Data transmission speed is too high.
Disadvantages
Sequencing process must be done at sender side.
Packet may not arrive in order at destination in which they were sent.
Re-sequencing process is required at destination.
No dedicated path available, so there may be some delay during transmission.
Packet Switching
Virtual Circuit
In virtual circuit packet switching a dedicated path must be established between a
source and a destination before data transmission process.
Virtual circuit is also known as connection oriented network. It is similar to telephone
system.
A route, which consists of a logical connection is first established between two users.
The process is completed in three main phases:
Establishment
Data transfer
Connection release
Packet Switching
Virtual Circuit
Establishment: During this phase, the
two users not only agree to setup a
connection but also decide upon the
QoS. After establishment packets
transfer bidirectional.
Data Transfer: During this performs
flow control and error control. The
error control service ensures correct
sequencing of packets. Flow control
service control faster sender and
slower receiver.
Connection Release: When the station
wish to close down the virtual circuit,
one station can terminate the
connection with a clear request packet.
Packet Switching
Packet Switching
Advantages
Resource utilization more efficiently.
Small amount of time required to establish or terminate circuit.
It is more flexible.
Small size packet reduce transmission delay.
Disadvantages
Complex protocol for packet switching.
Algorithms are more complicated.
Switching processor must be powerful.
Packets may lost during switching.
Circuit Switching
Circuit Switching Packet Switching
It is a connection oriented network switching technique. It is a connectionless network switching technique.
Dedicated path has to be established between the source There is no need to establish a dedicated path from the
and the destination before transfer of data commences. source to the destination.
Data packets are routed along the same dedicated path. Different data packets follow different paths.
Initially designed for voice transfer. Initially designed for data transfer.
It is not a store and forward transmission. It is store and forward transmission.
Data is processed and transmitted by the source station Data is processed and transmitted, not only by the
only. source station but at each switching station.
There are 3 phases in circuit switching In Packet switching directly data transfer takes place.
i) Connection Establishment
ii) Data Transfer
iii) Connection Released
Transmission Media
Transmission Media
• A transmission medium is a physical path between the transmitter and the receiver i.e.
it is the channel through which data is sent from one place to another.
• The main functionality of the transmission media is to carry the information in the
form of bits.
• Different transmission media have different properties such as bandwidth, delay, cost
and ease of installation and maintenance.
• Transmission media is divided into two types: wired media and wireless media. In
wired media, medium characteristics are more important whereas, in wireless media,
signal characteristics are more important.
Classification of Transmission Media
Physical path between transmitter and
Transmission
receiver
Media
Co-axial Cable Fibre Optics Twisted Pair Radio waves Micro waves Infrared
Guided Media
Twisted Pair:
• Twisted pair is a physical media made up of a pair of cables twisted with each other.
• The inner conductor is made up of copper, and the outer conductor is made up of
copper mesh. The middle core is made up of non-conductive cover
• The middle core is responsible for the data transferring whereas the copper mesh
prevents from the EMI(Electromagnetic interference).
Guided Media
Fiber optic Cable:
• It uses electrical signals for
communication.
• In unguided media, air is the media through which the electromagnetic energy can
flow easily.
• Unguided transmission is broadly classified into three categories: Radio wave, Micro
wave, Infrared.
Unguided Media
Radio wave
• Radio waves are the electromagnetic waves that are transmitted in all the directions
of free space.
• Radio waves are omnidirectional, i.e., the signals are propagated in all the directions.
• In the case of radio waves, the sending and receiving antenna are not aligned, i.e., the
wave sent by the sending antenna can be received by any receiving antenna.
• Microwaves are the electromagnetic waves having the frequency in the range from
1GHz to 1000 GHz.
• We can communicate with any point on the globe by using satellite communication.
• The satellite accepts the signal that is transmitted from the earth station, and it
amplifies the signal. The amplified signal is retransmitted to another earth station.
Unguided Media
Infrared
• An infrared transmission is a wireless technology used for communication over short
ranges.
• The frequency of the infrared in the range from 300 GHz to 400 THz.
• It is used for short-range communication such as data transfer between two cell
phones, TV remote operation, data transfer between a computer and cell phone
resides in the same closed area.
• It supports high bandwidth, and hence the data rate will be very high.
• Infrared communication is unreliable outside the building because the sun rays will
interfere with the infrared waves.
General Frequency Ranges (Understanding Purpose)
VLF Very Low Frequency VHF Very High Frequency Frequency and wavelength are
inversely proportional to each
LF Low Frequency UHF Ultra High Frequency
other.
MF Medium Frequency SHF Super High Frequency
HF High Frequency EHF Extremely High Frequency
a n k
Th u
Yo