Module 1
Module 1
Code : 21CS52
Sub.Name : Computer
Networks
Module - I
Introduction
to
Networks
Network Hardware
• Share the information access from anywhere
through network
• Group of computer connected with each other
through wires, optical fibers or optical links.
• So that various devices can interact with each
other through a network.
• The AIM of the CN is the sharing of resources
among various devices.
Network Hardware
.
• Computer network is one of the system
multiple computer connected with each other
to share the information resource..
• Computer network also called as data network
Some of the things that networks are used
for include
• Communicating using Email,video,instant
messaging and other methods.
• Sharing devices such asprinter, scanner,
photocopiers
• Sharing files
• Sharing software and operating programs on
remote systems.
• Allowing n/w users to easily access and
maintain information.
Uses of computer network
• 1. Business Applications
• 2. Home Applications
• 3 Mobile Users
• 4 Social Issues
1. Business Applications
• Smellest network
• Range lessthan 10m
• Ex :Blutooth,Printer,Keyboard,Mouse
• Personal computer is called as home network
• Support with wire & wireless also
• Wired – usb,printer,mouse etc…
• Wireless – blutooth,wifi etc….
Types of PAN
• Wireless PAN : BLUTOOTH ,WI-FI
• 1.protocol hierarchies.
• 2.design issues of layer.
• 3.connection oriented & connectionless
service between layer.
• 4service primitives.
• 5the relationship of service protocol.
2.design issues of layer.
• Identify sender & receiver
• Multicomputer who’s sender&receiver
• Everything based on addressing mode
• Data transfer from
• Simplex
• Half duplex
• Full duplex
• Logical channel priority
• Error control /sequence of pieces.
Connection oriented & connection less
co cl
telephone Posttal
Handshaking No
possible
Have Connection No
established
More reliable then Less
c/l
slow faster
Service primitives ofn/w s/w
• A service is formally defined by a set of operation
avl to user process to access the services.
• c/o primitives:
• LISTEN (block waiting for an incoming connection)
• CONNECT(establish a connection with a waiting
peer)
• RECEIVE
• SEND (s-peer)
• DISCONNECT
C/L PRIMITIVES
• UNIDATA (sends the packt of data )
• FACILITY REPORT (delivery statics)
OSI REFERENCE MODEL
• Open System Interconnection Model
• OSI developed by ISO.
• It is a conceptual model that characteristics
and standardizes the communication function
of a telecommunication or computing system
without regard to their underlaying internal
structure technology.
PHYSICAL LAYER
• It is the lowest layer of the OSI model
• It activates, maintain and deactivates the
physical connections.
• It is responsible for transmission & reception of
the unstructured raw data over network.
• Devices are HUB ,cable,RJ45,RJ11 etc…
• It converts the digital /analog bits into electrical
signal or optical signals.
• Data encoding also done in this layer.
Data Link Layer
• The main function of this layer is to make sure
data transfer is error one node to another, over
the physical layer.
• Transmitting and receiving data, frames
sequentially is managed by this layer.
• Protocols are ATM,frame,ARP,PPP etc…
• Device are switch and bridge.
• This layer sends and excepts acknowledgements
for frames receive and sent respectively,
resending of non acknowledgement received
frames is also handled by this layer.
• This layer establishes a logical layer between 2
nodes also manage the frame traffic control
over the network.it signals the transmitting
node to stop, when the frame buffers are full.
Network Layer
• It provides the outing message into packets and
assembles the incoming packets into message for
higher levels.
• It routes the packets through different channels
one node to another node.
• It act as a network controller.it manages the
subnet traffic.
• It decides by which route the data packet should
take.
• Protocols are ipv4,v6,icmp,ipsec ,ipx,apple talk
• Device used is router.
Transport Layer
• It decides whether data transmission should
be on parallel path or single path.
• Functions such as multiplexing ,somethings or
splitting on the data are done by this layer.
• It receive messages from the session layer
about it,convert the message into smaller
units and passes it on to the network layer.
• Transport layer very complex ,depending upon
the network requirements.
• Protocols are TCP,UDP.
Session layer
• Session layer manages and synchronize the
conversation between two different
applications.
• Transfer of source to destination session layer
streams of data are marked and are
resynchronished properly ,so that the ends of
the messages are not cut prematurely and
data loss is avoided.
• Protocol are PPTP,SIP,SAP,NetBIOS.
PRESENTATION LAYER
• PL takes care that the data sent in such a way
that the receiver will understand the
information (data)and will be able use the data.
• While receiving the data ,PL transforms the
data to be ready for the application layer.
• Language (sytax) can be different of the two
communicating systems.under this conditions
PL plays a role of transulator.
• It performs data compression,data
encryption,data conversion etc..
• Protocols are MIME,XDR,SSL
Application Layer
• It is top most layer .
• Transferring of files disturbing the results to
the user is also done in this layer .mail
services, directory services, network resources
etc. are services provided by application layer.
• This layer mainly holds applications programs
to act as upon the received and to be sent
data.
• Protocols are HTTP,SMTP,DNS,SNMP,TELNET.
The TCP/IP Reference Model:
• TCP/IP or internet protocol
• Developed by ARPANET
• Support client – server model & peer to peer
• TCP /IP having 4 layers
• OSI is a reference model
• TCP /IP implementation of OSI model
• OSI is connection oriented & connection less
service
• TCP/IP is a connection less service.
Host to Network layer
• Combination of physical and data link layer
• Used to physical transmitting data
• Defines a protocol to connect host
• Pc having some set of rules
Internetwork layer or N/W
• Packets delivery
• Routing (s-d)
• Avoiding congection control (res)
• Main protocol internet protocol
• Responsible to transmit packets independent
• Packets may not be received in the order that
they have sent
Source Destination
1 4
2 3
3 1
4 2
Transport layer
• Same things in osi
• Segmenting,splitting,of the data (res)
• Based on BW split the data every divided
• Decides to send the data either single or multiple
or parallel path
• Used to break the data into small units which are
handled efficiently by this layer
• Header information added
• Transmitt error free end to end delivery of
segments
Application Layer
• Combination of session and presentation layer
• Act interface between host and the service
provided by the transport layer
• Includes high level protocols
• TELNET (2 way communication)
• FTP (file transfer protocol)
• SMTP (T/P electronic mail)
• DNS (DOMAIN NAME SERVICE) used to resolve IP
address to flexile I/F.
Transmission Medium
• Communication channel that carries
information from sender to receiver
• Controlled by physical layer
OSI TCP/IP
S.NO
• Telephone lines
• LANs (10 base-T,100 base-T)
• Principle:
• reflection of lights
3.Fiber-Optic Cable
• New transmission medium
• Long distance lines
• Used by private companies in implementing
local data communication network.
• Requires a light source with
• injection laser diode (ILD)
• light emitting diode (LED)
• Advantages :
• Higher bandwidth.
• High speed.
• Greater capacity (2 Gbps)
• Long distance transmit signal.
• Less signal attenuation.
• Immunity to electromagnetic interference
• Small Light weight.
• Disadvantages:
• Difficult to Installation and maintenance
• Unidirectional light propagation
• Cost high
• Expensive over short distance
• Requires highly skilled installers
• Adding addition nodes is difficult.
• When I<critical angle ; ray will reflect
• When I>critical angle ; ray will full reflect like
360degree
• When I=critical angle ; light along the surface
Propagation Modes
• SINGLE MODE :
• transmit with single ray of light using only
step index
• The lights is guided down the center of an
externally narrow core.
• Multimode step index :
• transmit with multiple ray of light
• The reflective walls of the fiber move the light
pulses to the receiver.
• Propagation node is a one signal one point to
another point transmit is propagation nodes.
• Multimode graded index :
• Acts to reflact the light towards the center of
the fiber by variation in density.
• Step index:
• core refract index uniform
• Multi index :
• not uniform signal vary
• center side will equally get the output
• Channel connector used for cable TV
• Straight TIP connector using for connecting
network devices.
• Transfer signal only single directional. Another
data transfer from another cable.
• MT-RJ connector
• Application :
• Fiber-optic cable is oftenfound in
backbone networks because its
wide bandwidth is cost-effective..
• Some cable TV companies use a
combination of optical fiber and coaxial
cable,thus creating a hybrid network.
• Local-area networks such as
100Base-FX network (Fast Ethernet)
and 1000Base-X also use fiber-optic cable
UNGUIDED MEDIA: WIRELESS
• Unguided media transport electromagnetic
waves without using a physical conductor. This
type of communication is often referred to as
wireless communication.
• Ground propagation:
• Signal only send for ground level propagate.
• Frequency >2mhz
• sky propagation:
• high frequency signal radiate with inospace
reflect with earth.
• Frequency 2-30 mhz.
• Line of Sight :
• VHFS straight a one antenna to another antenna
will transmit.
• Frequency above 30 mhz
Radio Waves
Radio Waves
• Penetrate building
• Used in both indoor & outdoor
• Travel long distance
• Omnidirectional means travel in all directions
• Transmit & receiver alignment not required
Advantages
• At low frequency,radi wave pass through
obstacle
• At high frequency ,radio wave tend to travel in
straight line and bounce the obstacle
• DisAdvantages
• As radio wave travel long distance so interface
between user in problem
• Radio Waves
• Frequency 3khz to 1ghz
• Omini directional (propagate with all
directional,t/m rx antenna no need to alighn.
• The radio waves transmit by one antenna are
sucestaible to interface by another antenna
that may send signal using the frequency or
band.
• Low & medium frequency radio waves…
• Application:
• multicasting
• AM & FM radio
• television
• cardless phones
• pagging
• Advantages:
• an am radio can receive signal inside building
• Disadvantages:
• we cannot isolate a communication to just
inside or outside a building.
Microwaves
Microwaves
• Cannot pass through obstacle
• Use directional parabolic antenna
• Need line of sight transmission
• Signal week in long distance\
• repeater used at every 35-40 km
advantages
• Used for telephone,cellular phone ,tv etc..
• Carry thousand of voice channels at same time
• Data t/m rate 16 gbps
• Disadvantages
• Installation cost is high
• Electromagnetic waves having frequencies
between 1 and 300 GHz are called
microwaves.
• Transmit with one directional we need to align
transmitter and receiver.
• Applications:
• Microwaves are used for unicast
communication such as (having 1tr& 1rx)
• cellular telephones,
• satellite networks,
• wireless LANs.
Infrared