Professional Documents
Culture Documents
Computer Network (503) Unit-1
Computer Network (503) Unit-1
Basic Concepts:
Components of data communication, distributed processing,
standards and organizations.
Line configuration,
topology,
Transmission mode, and categories of networks.
OSI and TCP/IP Models:
Layers and their functions,
comparison of models.
Digital Transmission:
Interfaces and Modems:
DTE-DCE Interface,
1. Message:
The message is the information (data) to be communicated. Popular forms
of information include text, numbers, pictures, audio, and video.
2. Sender:
The sender is the device that sends the data message. It can be a
computer, workstation, telephone handset, video camera, and so on.
3. Receiver:
The receiver is the device that receives the message. It can be a
computer, workstation, telephone handset, television, and so on.
4. Transmission medium:
The transmission medium is the physical path by which a message
travels from sender to receiver. Some examples of transmission media
include twisted-pair wire, coaxial cable, fiber-optic cable, and radio
waves.
5. Protocol:
A protocol is a set of rules that govern data communications. It
represents an agreement between the communicating devices.
Without a protocol, two devices may be connected but not
communicating, just as a person speaking French cannot be
understood by a person who speaks only Japanese.
DISTRIBUTED PROCESSING
Distributed processing is a setup in which multiple
individual central processing units (CPU) work on the same
programs, functions or systems to provide more capability
for a computer or other device.
distributed processing refers to local-area networks (LANs)
designed so that a single program can run simultaneously
at various sites.
Another form of distributed processing involves
distributed databases. This is databases in which the data is
stored across two or more computer systems. The
database system keeps track of where the data is so that the
distributed nature of the database is not apparent to users.
LINE CONFIGURATION
Line configuration refers to the way two or more communication devices
attached to a link .
Line configuration is also referred to as connection. A Link is the physical
communication pathway that transfers data from one device to another.
For communication to occur, two devices must be connected in
same way to the same link at the same time.
There are two possible line configurations.
1. Point-to-Point.
2. Multipoint.
1.POINT-TO-POINT:
A Point to Point Line Configuration Provide dedicated link between
two devices use actual length of wire or cable to connect the two
end including microwave & satellite link.
Point to point network topology is considered to be one of the
easiest and most conventional network topologies. It is also the
simplest to establish and understand. To visualize, one can
consider point to point network topology as two phones
connected end to end for a two way communication
2.MULTIPOINT CONFIGURATION:
Multipoint Configuration also known as Multidrop line configuration one or more
than two specific devices share a single link capacity of the channel is shared.
More than two devices share the Link that is the capacity of the channel is shared
now. With shared capacity, there can be two possibilities in a Multipoint Line
Configuration:
Spatial Sharing: If several devices can share the link simultaneously, its called
Spatially shared line configuration.
Temporal (Time) Sharing: All devices are given a time spam in which
they can utilize that single link. At that time other device will not send
their data on link.
TRANSMISSION MODE:
A given transmission on a communications channel between two
machines can occur in several different ways.
The transmission is characterized by:
the direction of the exchanges
the transmission mode: the number of bits sent
simultaneously
synchronization between the transmitter and receiver.
Types of Transmission mode
1. Simplex
2. Half Duplex
3. Full Duplex
1.Simplex
A simplex connection is a connection in which the data flows in only one
direction, from the transmitter to the receiver. This type of connection is
useful if the data do not need to flow in both directions (for example, from
your computer to the printer or from the mouse to your computer...).
2.Half Duplex
A half-duplex connection (sometimes called an alternating
connection or semi-duplex) is a connection in which the data flows in one
direction or the other, but not both at the same time. With this type of
connection, each end of the connection transmits in turn. This type of
connection makes it possible to have bidirectional communications using
the full capacity of the line.
3.Full Duplex
A full-duplex connection is a connection in which the data flow in both
directions simultaneously. Each end of the line can thus transmit and
receive at the same time, which means that the bandwidth is divided in
two for each direction of data transmission if the same transmission
medium is used for both directions of transmission.
TOPOLOGIES
Network topologies refers to the way in which
a network is laid out physically. The topology
of network is the geometric representation of
the relationship for all the links and linking
devices (usually called nodes) to one another.
Type of topologies:
1) Bus Topology
2) Star Topology
3) Ring Topology
4) Mesh Topology
5) Tree Topology
6) Hybrid Topology
TYPE OF TOPOLOGIES
1. Bus Topology: Bus topology use the single
communication line called backbone which is shared
by all the nodes or computers to communicate. It is
used for smaller networks mainly and is one of the
most simplest and reliable ways to communicate.
Node
(Cable end)
1. BUS TOPOLOGY:
Advantages:
Suitable for smaller networks.
Easy to implement.
Even if one node breaks down, network does not get
hampered.
Disadvantages:
Cable fail then whole network will be fail.
Within a given cable length, limited number of nodes can
be added.
Data transfer rate gets slow down if more nodes are
added.
Only one data packet can be transferred at a particular
moment.
2. STAR TOPOLOGY
In star topology, every node is connected to central hub or
switch. The switch is the server and the peripherals are
the clients. Data from the source is first delivered to the
hub and then transferred to the transferred to the other
nodes.
HU
B
2. STAR TOPOLOGY
Advantages:
Easy to install and implement.
Server(sender)
Ring topology
NODE
3.RING TOPOLOGY
Advantages:
Ring topology is easy to install.
Advantages:
When one node fails, others continue to work without
disruption.
We can send data from one node to many nodes
Disadvantages:
Presentation Layer
Encryption and decryption
Host layers Session
Authentication, Permission
Transport
End-to-End connection, flow control
Network
Path determination, routing
Data link
Media Error detection
layers
(Hardware Physical
Layers) Media, signal, binary transmission
Sender Receiver
S/W
Layer S/W
Layer
H/W H/W
Layer Layer
OSI MODEL LAYERS AND THEIR FUNCTIONS
Application Layer: This layer is responsible for providing interface to the
application user. This layer encompasses protocols which directly interact with
the user.
Presentation Layer: This layer defines how data in the native format of remote
host should be presented in the native format of host.
Session Layer: This layer maintains sessions between remote hosts. For
example, once user/password authentication is done, the remote host maintains
this session for a while and does not ask for authentication again in that time
span.
Transport Layer: This layer is responsible for end-to-end delivery between
hosts.
Network Layer: This layer is responsible for address assignment and uniquely
addressing hosts in a network.
Data Link Layer: This layer is responsible for reading and writing data from and
onto the line. Link errors are detected at this layer.
Physical Layer: This layer defines the hardware, cabling, wiring, power output,
pulse rate etc.
/Internet/Internal
/Link
Layer
TCP/IP MODEL LAYERS AND FUNCTIONS
Application Layer: This layer defines the protocol which
enables user to interact with the network. For example, FTP,
HTTP etc.
Transport Layer: This layer defines how data should flow
between hosts. Major protocol at this layer is Transmission
Control Protocol (TCP). This layer ensures data delivered
between hosts is in-order and is responsible for end- to-end
delivery.
Internet Layer: Internet Protocol (IP) works on this layer. This
layer facilitates host addressing and recognition. This layer
defines routing.
Link Layer: This layer provides mechanism of sending and
receiving actual data. Unlike its OSI Model counterpart, this
layer is independent of underlying network architecture and
hardware.
HOW THE WEB WORKS
WHEN YOU TYPE A WEB ADDRESS INTO YOUR BROWSER
The browser goes to the DNS(Domain Name Servers) server,
and finds the real address of the server that the website lives
on (you find the address of the shop).
The browser sends an HTTP request message to the server,
asking it to send a copy of the website to the client (you go to
the shop and order your goods). This message, and all other
data sent between the client and the server, is sent across
your internet connection using TCP/IP.
If the server approves the client's request, which means "Of
course you can look at that website! Here it is", and then
starts sending the website's files to the browser as a series of
small chunks called data packets (the shop gives you your
goods, and you bring them back to your house).
The browser assembles the small chunks into a complete
web page and displays it to you (the goods arrive at your
door — new shiny stuff, awesome!).
DNS(DOMAIN NAME SERVER)
In OSI model the transport layer 2. In TCP/IP model the transport layer
guarantees the delivery of packets. does not guarantees delivery of packets.
Still the TCP/IP model is more reliable.
OSI model has a separate Presentation 4. TCP/IP does not have a separate
layer and Session layer. Presentation layer or Session layer.
Parallel Serial
Synchronous Asynchronous
1. PARALLEL TRANSMISSION
All the bits of data are transmitted simultaneously on separate
communication lines.
In order to transmit n bits, n wires or lines are used. Thus each bit
has its own line.
Parallel transmission is used for short distance communication.
Advantages: Faster form of transmission, i.e. able to send multiple
bits simultaneously.
Disadvantage: It is costly method of data transmission as it required
n lines to transmit n bits at the same time.
In serial transmission the various bits of data are
TRANSMISSION
2. SERIAL