CN UNIT -1(ppt)
CN UNIT -1(ppt)
CN UNIT -1(ppt)
Performance
Depends on Network Elements
Reliability
Measured by the frequency of failure, the time it takes a link to
Security
Protecting data from unauthorized access.
losses.
USES OF NETWORKS
Business Applications
Resource sharing
Client-Server model.
Desktop sharing
E-commerce
IP telephony or Voice over IP (VoIP)
Home Applications
peer-to-peer communication
person-to-person communication
electronic commerce
entertainment.(game playing,)
USES OF NETWORKS
Mobile Users
Text messaging or texting
Smart phones,
m-commerce
Social Issues
with the good comes the bad, as this new-found freedom
brings with it
many unsolved social,)
BOTNET ATTACK: (send spam) political, and ethical
issues.
Network Topologies
The types of network are classified based upon the size, the area
it covers and its physical architecture. The three primary network
categories are LAN, WAN and MAN.
Local Area Networks (LANs)
• Short distances
• Designed to provide local interconnectivity
Local Area Networks (LANs)
•Local Area Network is a group of computers connected to each
other in a small area such as building, office.
•LAN is used for connecting two or more personal computers
through a communication medium such as twisted pair, coaxial
cable, etc.
•It is less costly as it is built with inexpensive hardware such as
hubs, network adapters, and ethernet cables.
•The data is transferred at an extremely faster rate in Local Area
Network.
•Local Area Network provides higher security.
Metropolitan Area Networks (MANs)
• Designed to extend to an entire city
• Cable TV network, a company’s connected LAN’s
Metropolitan Area Networks (MANs)
•A metropolitan area network is a network that covers areas with
in the city by interconnecting a different LAN to form a larger
network.
•Government agencies use MAN to connect to the citizens and
private industries.
•In MAN, various LANs are connected to each other through a
telephone exchange line.
•The most widely used protocols in MAN are RS-232, Frame
Relay, ATM, ISDN, OC-3, ADSL, etc.
•It has a higher range than Local Area Network(LAN).
Uses Of Metropolitan Area Network:
•MAN is used in communication between the banks in a city.
•It can be used in an Airline Reservation.
•It can be used in a college within a city.
•It can also be used for communication in the military.
Wide Area Networks(WANs)
• Long distance transmission, e.g., a country, a continent,
the world
Wide Area Networks(WANs)
•A Wide Area Network is a network that extends over a large
geographical area such as states or countries.
•A Wide Area Network is quite bigger network than the LAN.
•. A Wide Area Network is not limited to a single location, but it
spans over a large geographical area through a telephone line,
fiber optic cable or satellite links.
•The internet is one of the biggest WAN in the world.
•A Wide Area Network is widely used in the field of Business,
government, and education.
Advantages Of Wide Area Network:
Following are the advantages of the Wide Area Network:
•Geographical area: A Wide Area Network provides a large geographical
area. Suppose if the branch of our office is in a different city then we can
connect with them through WAN. T.
•Centralized data: In case of WAN network, data is centralized. Therefore,
we do not need to buy the emails, files or back up servers.
•Get updated files: Software companies work on the live server. Therefore,
the programmers get the updated files within seconds.
•Exchange messages: In a WAN network, messages are transmitted fast. The
web application like Facebook, Whatsapp, Skype allows you to communicate
with friends.
•Sharing of software and resources: In WAN network, we can share the
software and other resources like a hard drive, RAM.
•Global business: We can do the business over the internet globally.
•High bandwidth: If we use the leased lines for our company then this gives
the high bandwidth. The high bandwidth increases the data transfer rate
which in turn increases the productivity of our company .
Disadvantages of Wide Area Network:
The following are the disadvantages of the Wide
Area Network:
•Security issue: A WAN network has more security
issues as compared to LAN and MAN network as all
the technologies are combined together that creates
the security problem.
•Needs Firewall & antivirus software: The data
is transferred on the internet which can be changed
or hacked by the hackers, so the firewall needs to be
used. Some people can inject the virus in our system
so antivirus is needed to protect from such a virus.
•High Setup cost: An installation cost of the WAN
network is high as it involves the purchasing of
routers, switches.
•Troubleshooting problems: It covers a large area
so fixing the problem is difficult.
Reference Models : OSI Model, TCP/IP Model,
LAYERED TASKS
Computer network reference models are responsible for establishing a
connection among the sender and receiver and transmitting the data
in a smooth manner respectively.
There are two computer network models i.e. OSI Model and TCP/IP
Model on which the whole data communication process relies.
OSI Reference Model
2.23
Computer Network Models : Architecture And Layers of OSI Reference Model
Physical Layer (Layer 1) :
• The lowest layer of the OSI reference model is the physical layer. It
is responsible for the actual physical connection between the
devices.
• When receiving data, this layer will get the signal received
and convert it into 0s and 1s and send them to the Data Link
layer, which will put the frame back together.
Bit rate control: The Physical layer also defines the transmission rate i.e.
the
number of bits sent per second.
Physical topologies: Physical layer specifies the way in which the different,
devices/nodes are arranged in a network i.e. bus, star or mesh topolgy.
Transmission mode: Physical layer also defines the way in which the data
flows between the two connected devices. The various transmission modes
possible are: Simplex, half-duplex and full-duplex.
Data Link Layer (DLL) (Layer 2) :
• The data link layer is responsible for the node to node delivery of
the
message.
• The main function of this layer is to make sure data transfer is error-
free from one node to another, over the physical layer.
• When a packet arrives in a network, it is the responsibility of DLL to
transmit it to the Host using its MAC address.
The functions of the data Link layer are : - Framing, Physical addressing ,
Error control, Flow Control, Access control.
• Network layer works for the transmission of data from one host
to the other located in different networks
2.Logical Addressing: The sender & receiver’s IP address are placed in the
header by network layer. Such an address distinguishes each device
uniquely and universally.
This layer accepts the message from the (session) layer , breaks the
message into smaller units . Each of the segment produced has a header
associated with it. The transport layer at the destination station
reassembles the message.
These synchronization point help to identify the error so that the data
is re-synchronized properly and data loss is avoided
Functions of Session
layer
• Dialog control - This session allows two systems to enter into
a dialog either in half duplex or full duplex.
• Synchronization -This allows to add checkpoints into a
stream of data.
Presentation Layer (Layer 6) :
The data from the application layer is extracted here and manipulated
as per the required format to transmit over the network.
• But when we talk about the TCP/IP model, it was designed and
developed by Department of Defense (DoD) in 1960s and is based
on standard protocols.
In data communication,
Advantages: Applications
• Cheap • Very common medium
• Easy to work
with • Can be use in telephone network
Disadvantages:
• Connection Within the buildings
• Low data rate
• Short range
• For local area networks (LAN)
Contd..
i). Unshielded Twisted-Pair Cable
• STP cable has a metal foil or braided mesh covering that encases each
pair of insulated conductors.
• A shielded twisted pair is a cable that contains the mesh
surrounding the wire that allows the higher transmission rate.
• Although metal casing improves the quality of cable by preventing the
penetration of noise or crosstalk, it is bulkier and more expensive.
Contd..
Characteristics Of Shielded Twisted Pair:
•The cost of the shielded twisted pair cable is not very high and
not very low.
•An installation of STP is easy.
•It has higher capacity as compared to unshielded twisted pair
cable.
•It has a higher attenuation.
•It is shielded that provides the higher data transmission rate.
•Disadvantages
•It is more expensive as compared to UTP and coaxial cable.
•It has a higher attenuation rate.
2. Coaxial Cable
• Coaxial cable (or coax) carries signals of higher frequency
ranges than those in twisted pair cable.
• Inner conductor is a solid wire
• Outer conductor serves as a shield against noise and a second
conductor
Contd..
•Coaxial cable is very commonly used transmission media, for
example, TV wire is usually a coaxial cable.
•The name of the cable is coaxial as it contains two conductors
parallel to each other.
•It has a higher frequency as compared to Twisted pair cable.
•The inner conductor of the coaxial cable 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 that separates the inner
conductor from the outer conductor.
•The middle core is responsible for the data transferring whereas
the copper mesh prevents from the EMI(Electromagnetic
interference).
Categories of coaxial cables
Category Use
Cable TV,
RG-6
Internet
RG-59 CCTV
RG-11 HDTV
Coaxial Cable
Applications
• Long distance telephone transmission
• Can carry 10,000 voice calls simultaneously
• Short distance computer systems links - Local area networks
Local Area
Networks
Cable TV
CCTV
Medical
Education
2
Optical Fiber Disadvantages
• Installation and maintenance need expertise
Sky propagation:
Radio waves radiate to the
ionosphere then they are reflected
back to earth.
Line-of-Sight Propagation:
In straight lines directly from
antenna to antenna.
4
1
UNGUIDED MEDIA: WIRELESS
Unguided Media – Radio
Waves
Omnidirectional
Antenna
Frequencies between
3
KHz and 1 GHz.
Used for
multicasts(multiple
way)
communications,
such as radio and
television, and
paging system.
Radio waves can
penetrate buildings
easily, so that
2
widely use for
Infrared
Frequencies between 300 GHz to 400 THz.
Used for short-range communication
Example: Night Vision Camera,Remote control, File
sharing between two phones, Communication between a
PC and peripheral device,
Micro waves Transmission
• Microwaves are unidirectional
• Micro waves electromagnetic waves having frequency between 1
GHZ and 300 GHZ.
• There are two types of micro waves data communication system
: terrestrial and satellite
• Micro waves are widely used for one to one
communication
between sender and receiver,
Example: cellular phone, satellite networks and in wireless LANs(wifi),
GPS
Switched
• network Series
Switche network: of
d interlinked nodes, called
switches.
There are three main switching techniques which are used. Circuit
Switching, Message Switching and Packet Switching
1.Circuit Switching
• In circuit switching circuit is established between the two ends.
It provides a dedicated path for data to travel from one to the
other end. Resources are reserved at intermediate switches
which are used during the transmission.
• The intermediate switches are connected by the physical links.
Once the circuit is established, the entire data travels over the
dedicated path from one end to the other end. As soon as data
transfer completes, the circuit is disconnected
• i.e. Three phases are need to communicate two
parties or multiple parties in a conference call):
• Connection setup
• data transfer
• Connection teardown
• The setup phase: means creating dedicated channels
between the switches.
Characteristics:
Packets from a single message travel along the same
path.
Three phases to transfer data (set up, data transfer and
tear down)
Resources can be allocated during setup phase
Data are packetized and each packet carries an address
in the
header
Implemented in data link layer
Advantages Of Packet Switching:
•Cost-effective: In packet switching technique, switching devices
do not require massive secondary storage to store the packets, so
cost is minimized to some extent. Therefore, we can say that the
packet switching technique is a cost-effective technique.
•Reliable: If any node is busy, then the packets can be rerouted.
This ensures that the Packet Switching technique provides reliable
communication.
•Efficient: Packet Switching is an efficient technique. It does not
require any established path prior to the transmission, and many
users can use the same communication channel simultaneously,
hence makes use of available bandwidth very efficiently.
Disadvantages of packet switching:
Four nodes, at the University of California at Los Angeles
(UCLA), the University of California at Santa Barbara (UCSB),
Stanford Research Institute (SRI), and the University of Utah,
were connected via the IMPs to form a network. Software called
the Network Control Protocol (NCP) provided communication
between the hosts.
INTERNET
• Internet is called the network of networks. It is a global
communication system that links together thousands of
individual networks.
• In other words, internet is a collection of interlinked computer
networks, connected by copper wires, fiber-optic cables,
wireless connections, etc.
• As a result, a computer can virtually connect to other
computers in any network. These connections allow users to
interchange messages, to communicate in real time (getting
instant messages and responses), to share data and programs
and to access limitless information.
Basics of Internet Architecture
• Internet architecture is a meta-network, which refers to a
congregation of thousands of distinct networks interacting with
a common protocol. In simple terms, it is referred as an
internetwork that is connected using protocols. Protocol used is
TCP/IP.
• protocol connects any two networks that differ in hardware,
software and design.
• TCP/IP provides end to end transmission, i.e., each and every
node on one network has the ability to communicate with any
other node on the network.
Layers of Internet Architecture
• Internet architecture consists of three layers.
IP:(Internet protocol)
• In order to communicate, we need our data to be encapsulated
as Internet Protocol (IP) packets. These IP packets travel
across number of hosts in a network through routing to reach
the destination. However IP does not support error detection
and error recovery, and is incapable of detecting loss of
Contd..
TCP
• TCP stands for "Transmission Control Protocol". It provides
end to end transmission of data, i.e., from source to destination.
It is a very complex protocol as it supports recovery of lost
packets.
Application Protocol
• Third layer in internet architecture is the application layer
which has different protocols on which the internet services are
built. Some of the examples of internet services include email
(SMTP facilitates email feature), file transfer (FTP facilitates
file transfer feature), etc
THE INTERNET
TODAY
The Internet has come a long way since the 1960s. The
Internet today is not a simple hierarchical structure. It is
made up of many wide- and local-area networks joined by
connecting devices and switching stations.
It is difficult to give an accurate representation of the
Internet because it is
continually changing-new networks are being added,
existing networks are adding addresses, and networks of
defunct companies are being removed.
Today most end users who want Internet connection use
the services of Internet service providers (lSPs). There are
international service providers, national service providers,
regional service providers, and local service providers.
In 1972, Vint Cerf and Bob Kahn, both of whom were part of
the core ARPANET group, collaborated
on what they called the Internetting Projec1