Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
networKing
KartiK
IoT
C-DAC Bangalore
04-Dec-15 C-DAC
agenda
• Introduction
• Networks
• Transmission Media
• Switching
• Multiplexing
• PCM
• Multiple Access
• OSI and TCP/IP layered architectures
• Addressing
• Important Protocols viz. TCP,UDP,IP,ICMP,PPP
04-Dec-15 C-DAC
introduction
• data
• communication
• networK
• data communication
– Transmission medium
• wired
• wireless
04-Dec-15 C-DAC
components of dc
04-Dec-15 C-DAC
types of communication
04-Dec-15 C-DAC
networK
• set of devices(nodes) connected by
communication linKs
• ‘things’
• ? property of ‘things’
04-Dec-15 C-DAC
types of networK connection
04-Dec-15 C-DAC
topology
• ?
04-Dec-15 C-DAC
Advantages
• Each connections can carry its own data.
• Robust
• Secure
• Easy fault identification and fault isolation
Disadvantages
Amount of cabling (and also cost) and IO ports.
04-Dec-15 C-DAC
Advantages
• Less expensive than Mesh.
• Robust
• Easy fault identification and fault isolation
Disadvantages
• If Hub fails, whole network fails.
• More cabling than ring/bus
04-Dec-15 C-DAC
advantages
• Less cabling than Mesh and Star.
• Multipoint
disadvantages
• Fault or break in bus stops all transmission.
• Difficult fault identification and fault isolation
04-Dec-15 C-DAC
advantages
• Less cabling than Mesh and Star.
• Multipoint
disadvantages
• Fault or break in bus stops all transmission.
• Difficult fault identification and fault isolation
04-Dec-15 C-DAC
04-Dec-15 C-DAC
scope of networKs
04-Dec-15 C-DAC
interconnection of lan
04-Dec-15 C-DAC
04-Dec-15 C-DAC
heterogeneous networK
04-Dec-15 C-DAC
transmission media
04-Dec-15 C-DAC
transmission medium and physical
layer
20
classes of transmission media
21
electromagnetic spectrum for
wireless communication
22
propagation methods
23
wireless transmission waves
24
Wireless transmission waves
• Radio waves are used for multicast
communications, such as radio and
television
• Microwaves are used for unicast
communication such as cellular
telephones, satellite networks, and
wireless LANs.
• Infrared signals can be used for short-range
communication in a closed area using line-
of-sight propagation.
04-Dec-15 25
Switching
switched networK
taxonomy of switched networks
circuit switched networK
• A circuit-switched network consists of a set of
switches connected by physical links.
• A connection between two stations is a
dedicated path made of one or more links.
• However, each connection uses only one
dedicated channel on each link. Each link is
normally divided into n channels by using
FDM or TDM.
Note
A circuit-switched network is made of a set of switches connected by physical links,
in which each link is
divided into n channels.
trivial circuit-switched networK
Note
In circuit switching, the resources need to be reserved during the setup phase;
the resources remain dedicated for the entire duration of data transfer until the
teardown phase.
circuit-switched networK
delay in a circuit-switched networK
Note
Switching at the physical layer in the traditional telephone network uses
the circuit-switching approach.
datagram networKs
• In data communications, we need to send
messages from one end system to another.
• If the message is going to pass through a
packet-switched network, it needs to be
divided into packets of fixed or variable size.
• The size of the packet is determined by the
network and the governing protocol.
Note
In a packet-switched network, there
is no resource reservation;
resources are allocated on demand.
A datagram network with four
switches (routers)
routing table in a datagram networK
Note
A switch in a datagram network uses a routing table that is based on the destination
address.
Note
The destination address in the header of a packet in a datagram network
remains the same during the entire journey of the packet.
delay in a datagram networK
Note
Switching in the Internet is done by using the datagram approach
to packet switching at
the network layer.
virtual circuit networKs
• A virtual-circuit network is a cross between a
circuit-switched network and a datagram
network.
• It has some characteristics of both.
virtual-circuit networK
virtual-circuit identifier
switch and tables in a virtual-circuit
networK
source-to-destination data transfer in a virtual-circuit networK
Figure 8.14 Setup request in a virtual-circuit network
Figure 8.15 Setup acknowledgment in a virtual-circuit network
Note
In virtual-circuit switching, all packets belonging to the same source and
destination travel the same path;
but the packets may arrive at the destination with different delays
if resource allocation is on demand.
Figure 8.16 Delay in a virtual-circuit network
Note
Switching at the data link layer in a switched WAN is normally
implemented by using
virtual-circuit techniques.
Multiple Access
Figure 1 Data link layer divided into two functionality-oriented sublayers
Figure 2 Categories of multiple-access protocols
RANDOM ACCESS
ALOHA
Carrier Sense Multiple Access
Carrier Sense Multiple Access with Collision Detection
Carrier Sense Multiple Access with Collision Avoidance
Figure 1 Frames in a pure ALOHA network
Figure 12.4 Procedure for pure ALOHA protocol
Note
Solution
The frame transmission time is 200/200 kbps or 1 ms.
a. If the system creates 1000 frames per second, this is 1
frame per millisecond. The load is 1. In this case
S = G× e−2G or S = 0.135 (13.5 percent). This means
that the throughput is 1000 × 0.135 = 135 frames. Only
135 frames out of 1000 will probably survive.
Example 12.3 (continued)
b. If the system creates 500 frames per second, this is
(1/2) frame per millisecond. The load is (1/2). In this
case S = G × e −2G or S = 0.184 (18.4 percent). This
means that the throughput is 500 × 0.184 = 92 and that
only 92 frames out of 500 will probably survive. Note
that this is the maximum throughput case,
percentagewise.
Reservation
Polling
Token Passing
Figure 12.18 Reservation access method
Figure 12.19 Select and poll functions in polling access method
Figure 12.20 Logical ring and physical topology in token-passing access method
CHANNELIZATION
1.86
Seven layers of the Open Systems Interconnections (OSI) model
04-Dec-15 87
The interaction between layers in the OSI model
04-Dec-15 88
An exchange using the OSI model
04-Dec-15 89
LAYERS IN THE OSI MODEL
Brief description the functions of each layer in the OSI
model.
• Physical Layer
• Data Link Layer
• Network Layer
• Transport Layer
• Session Layer
• Presentation Layer
• Application Layer
04-Dec-15 90
Physical layer
04-Dec-15 91
Physical layer
• Voltage levels
04-Dec-15 93
Data link layer
04-Dec-15 94
Hop-to-hop delivery
04-Dec-15 95
Network layer
04-Dec-15 96
Network layer
04-Dec-15 97
Source-to-destination delivery
04-Dec-15 98
Transport layer
04-Dec-15 99
Reliable process-to-process delivery of a message
04-Dec-15 100
Transport layer
04-Dec-15 101
Session layer
04-Dec-15 102
Session layer
04-Dec-15 103
Presentation layer
04-Dec-15 104
Presentation layer
04-Dec-15 105
Application layer
04-Dec-15 106
Application layer
04-Dec-15 107
Summary of layers
04-Dec-15 108
TCP/IP PROTOCOL SUITE
04-Dec-15 110
ADDRESSING
04-Dec-15 111
Addresses in TCP/IP
04-Dec-15 112
Relationship of layers and addresses in TCP/IP
04-Dec-15 113
Example 2.1
04-Dec-15 114
Physical addresses
04-Dec-15 115
Example 2.2
07:01:02:01:2C:4B
04-Dec-15 116
Example 2.3
04-Dec-15 117
IP addresses
04-Dec-15 118
Example 2.4
04-Dec-15 119
Port addresses
04-Dec-15 120
Note
04-Dec-15 121
Figure 8.1 Switched network
Figure 8.2 Taxonomy of switched networks
CIRCUIT-SWITCHED NETWORKS
In circuit switching, the resources need to be reserved during the setup phase;
the resources remain dedicated for the entire duration of data transfer until the
teardown phase.
Example 8.1