CN Unit 1
CN Unit 1
CN Unit 1
Networks:
Unit 1
Prof. Swarnalata Bollavarapu
Contact: swarnalata.b@nmims.edu
Contents
Quality of Communication:
External factors- related to the complexity of the network and
the number of devices a message must pass through
Eg., The number of other messages being transmitted
simultaneously on the communication network
Internal factors-elated to the nature of the message itself.
eg., The size of the message
Network as a platform
Our dependency of networks has become essential for personal
as well as business lives
Networks are the platforms on which to run businesses, to
address emergencies, to inform individuals, and to support
education, science, and government.
Network as platform
Early data networks were limited to exchanging character-based
information between connected computer systems.
Current networks have evolved to carry voice, video streams,
text, and graphics between many different types of devices.
Network as platform
Four basic characteristics that the N/w architectures need to
address in order to meet user expectations:
Types:
LAN
MAN
WAN
Wireless network
Internet
Types of Network: LAN
spans a small geographical area
H/W:
Wireless Networks
Wireless network can be divided into three main categories.
System interconnection.
Wireless LANs.
Wireless WANs.
System Interconnection
System interconnection is all about interconnecting the components of
computer using short range radio.
To connect these components short range wireless network is used,
which is known as BLUETOOTH.
Bluetooth uses a radio technology called frequency-hopping spread
spectrum, which chops up the data being sent and transmits chunks
of it
It can achieve a gross data rate of 1 Mb/s.
Bluetooth provides a way to connect and exchange information
between devices such as mobile phones, telephones, laptops, personal
computers, printers, Global Positioning System (GPS) receivers,
digital cameras, and video game console.
Wireless LANs
These are the systems in which every computer has modem and antenna
with which it can communicate.
For the home user, wireless has become popular due to ease of
installation, and location freedom with the gaining popularity of laptops.
IEEE 802.11 is the wireless standard
Wireless Networks (2)
An organization can use an extranet to provide secure and safe access to individuals who
work for a different organization, but require company data. Examples of extranets
include
•A company providing access to outside suppliers/contractors
•A hospital providing a booking system to doctors so that they can make appointments for
their patients
Architecture of Internet
Architecture of Internet
https://youtu.be/7_LPdttKXPc
<iframe width="545" height="409"
src="https://www.youtube.com/embed/7_LPdttKXPc" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-
picture" allowfullscreen></iframe>
Architecture of Internet
To join the Internet, the computer is connected to an Internet Service
Provider
There are many kinds of Internet access, and they are usually distinguished by how
much bandwidth they provide and how much they cost
Challenges
Complex system:
Many users
World-wide reach
Many user requirements –reliable, interactive, multicasting
Heterogenous technology: Ethernet, Wireless etc
Object-oriented approach:
Segregate functionality
Abstraction-provide interface
Layered Model
Advantages of layering
Modular design—less complex
Software reuse
Abstraction of implementation
Contents
OSI model: primary purpose of a reference model is to aid clearer understanding of the
functions and process involved
Network Software
Protocol Hierarchies
• One side makes a proposal and other side can accept it,
reject it or counter proposal it.
Connection Oriented Service and Connectionless Services
• Connection less service is modeled after the postal
system.
• No prior connection need to be established.
• Each message(letter) carries the full destination address,
and each one is routed through the system independent
of all others.
• Normally when two messages are sent to the same
destination, the first one sent will be the first one to
arrive.
• But it is also possible that the first one sent can be
delayed so that the second one arrives first.
Connection Oriented Service and Connectionless Services
• Each service can be characterized by a quality of
service.
• Some services are reliable in the sense that they never
lose data.
• A reliable service is implemented by having the receiver
acknowledge the receipt of each message so the sender
is sure that it arrived.
• Example for reliable connection oriented service: File
transfer.
• The owner of file wants to be sure that all the bits arrive
correctly and in the same order they were sent.
Service Primitives
• A service is specified by a set of primitives(operations)
to a user process to access the service.
It deals with connecting open systems – that is, systems that are
open for communication with other systems.
Hub: physical layer device containing multiple ports allows for connections from
many computers
When a packet arrives at one port, it is copied to all the ports of the hub
It offers ease of use but collision domain is high
A collision domain is a network segment connected by a shared medium or
through repeaters where simultaneous data transmissions collide with one another.
A network collision occurs when more than one device attempts to send a packet on
a network segment at the same time.
Internetworking devices
Bridge: operates at data link layer. A bridge is a repeater, with add on functionality
of filtering content by reading the MAC addresses of source and destination.
It is also used for interconnecting two LANs working on the same protocol. It has a
single input and single output port, thus making it a 2 port device.
Switch: (layer 2 device) originally known as switching hub, operate at data link
layer
Can inspect the ethernet traffic hence sending data to whom it is intended to
The switch can perform error checking before forwarding data making it very
efficient
Used to connect computers on a single network usually referred to as LAN
Internetworking devices
Router: device that knows how to forward data between independent networks
Operates at network layer
Routers normally connect LANs and WANs together and have a dynamically
updating routing table based on which they make decisions on routing the data
packets.
Gateway: A gateway is a passage to connect two networks together that may work
upon different networking models.
They basically work as the messenger agents that take data from one system,
interpret it, and transfer it to another system.
Gateways are also called protocol converters and can operate at any network layer.
Gateways are generally more complex than switch or router
Reflection Question 1
What's the difference between full and half duplex?
Full duplex is slower than half duplex.
Full duplex allows communications in two directions at the same time; half
duplex means that only one side can communicate at a time.
Full duplex is a form of simplex communications.
Half duplex occurs when hubs are in use; full duplex occurs when switches are
in use
Reflection Question 1
What's the difference between full and half duplex?
Full duplex is slower than half duplex.
Half duplex occurs when hubs are in use; full duplex occurs when switches are
in use
Reflection Question 2
Which of the following statements accurately describe the differences between
a hub and a switch? Check all that apply.
A hub is a physical layer device, and a switch is a data link layer device.
Reflection Question 2
Which of the following statements accurately describe the differences between
a hub and a switch? Check all that apply.
A hub is a physical layer device, and a switch is a data link layer device.
Reflection Question 3
What's the difference between a client and a server?
Clients operate on the data link layer, and servers operate on the network
layer.
A client requests data, and a server responds to that request.
Clients and servers are different names for the same thing.
Reflection Question 3
What's the difference between a client and a server?
Clients operate on the data link layer, and servers operate on the network
layer.
Clients and servers are different names for the same thing.
Reflection Question 4
What's a router?