DataNet Lecture 2022 MID
DataNet Lecture 2022 MID
and
Networking 1
EEE 4551
01768-451-451
habib@[Link]
Prof. Dr. Habib Kabir
Engineering means
Designing, building and testing systems
Message are digital or analog. Digital messages are ordered combination of finite symbols or
codewords. For example,
• Printed English consists of 26 letters, 10 numbers, a space, and several punctuation marks. Thus, a
text document written in English is a digital message, because it is from the ASCII keyboard of
128 symbols.
• Human speech is also a digital message, because it is made up from a finite vocabulary in a
language (without considering the pronunciation and variation of pitch).
• Music notes are also digital, even though the music sound itself is analog. ***
• A Morse-coded telegraph message is a digital message constructed from a set of only two
symbols- dash and dot. Its a binary messages,
• A digital message constructed with M symbols is called an M-ary message.
Analog messages, on the other hand, are characterized by data whose values vary over a
continuous range and are defined for a continuous range of time.
• For example, the temperature, atmospheric pressure.
• A piece of music recorded by a pianist is also an analog signal. ***
• Similarly, any particular speech waveform has amplitudes that vary over a continuous range is
analog.
The human speech signal from a microphone contains all the details of pronunciation and variation of pitch and is
therefore an analog signal.
Prof. Dr. Habib Kabir
010101010101
Digital System
Digital systems offer several important advantages compared to analog system, for
example. higher performance, greater versatility, and higher security,
7
Prof. Dr. Habib Kabir
8
Prof. Dr. Habib Kabir
In 1980, the Internet was a research project that involved a few dozen sites
Today, the Internet has grown into a communication system that reaches all of the world
The advent and utility of networking has created dramatic economic shifts
Feedback 2 • Network has made Telecommunications available to Individuals.
Q2: What has made
• It has changed business communication telecommunications
available to individuals?
• An entire industry emerged that develops networking technologies, products, and
services
10
11
12
Communication Media
• fiber, copper, radio, satellite, infrared
wireless • transmission rate: bandwidth
links
wired Usually, the connections between computers in a
links network are made using physical wires or cables
Home Regional
Network ISP
However, some connections are wireless, using
radio waves or infrared signals
Q5: Write down examples of Communication media.
13
14
15
Network core:
• Interconnected routers
• Network of networks
Institutional
Network
15
Prof. Dr. Habib Kabir
16
Regional
APPLICATIONS of Network: Home
Network ISP
i. Sharing of resources such as printers
ii. Sharing of expensive software's and database
iii. Communication from one computer to another
computer
iv. Exchange of data and information among users
via network
v. Sharing of information over geographically wide Institutional
areas. Network
Prof. Dr. Habib Kabir
17
Each application offers a specific service with its own form of user interface
• But all applications can communicate over a single, shared network
17
Prof. Dr. Habib Kabir
18
Data Communications
18
Prof. Dr. Habib Kabir
19
Early communication networks had evolved from telegraph and telephone systems
• A physical pair of wires between two parties to form a dedicated circuit
19
Prof. Dr. Habib Kabir
20
• Devices throughout the network each have information about how to reach each
possible destination
20
Prof. Dr. Habib Kabir
21
We can use various audio signals to modulate different carrier frequencies, thus
translating each signal to a different frequency range.
If the various carriers are chosen sufficiently far apart in frequency, the spectra of the
modulated signals will not overlap and thus will not interfere with each other.
At the receiver, one can use a tunable band-pass filter to select the desired station or
signal.
Here the bandwidth of the channel is shared by various signals without any
overlapping.
Prof. Dr. Habib Kabir
22
Example:
FDM 4 users
frequency
Time Channel
Prof. Dr. Habib Kabir
23
This method is suitable when a signal is in the form of a pulse train (as in PCM).
The pulses are made narrower, and the spaces that are left between pulses are used for pulses
from other signals.
Thus, in effect, the transmission time is shared by a number of signals by interleaving the pulse
trains of various signals in a specified order.
At the receiver, the pulse trains corresponding to various signals are separated.
Prof. Dr. Habib Kabir
24
FDM 4 users
frequency
Time Channel
TDM
frequency
Time Channel
25
Circuit Switching
Dhaka Khulna
Switch Switch
Caller Caller
(3)
Time
25
Prof. Dr. Habib Kabir
26
Switch Frames
Slots = 0 1 2 3 4 5 0 1 2 3 4 5
26
Prof. Dr. Habib Kabir
27
Packet Switching
27
Prof. Dr. Habib Kabir
28
Packet Switching
• Used in the Internet Host 1 Host 2
• Data is sent in Packets (header
contains control info, e.g., source and Node 1 Node 2
destination addresses)
Packet 3
28
Prof. Dr. Habib Kabir
29
Router
Queue
30
Host A Host D
Node 1 Node 2
Node 3
Node 5
Host B
Host E
Node 7
Node 6
Node 4
30
Prof. Dr. Habib Kabir
31
Circuit-switching Packet-Switching
Guaranteed capacity No guarantees (best effort)
Capacity is wasted if data is bursty More efficient
31
Prof. Dr. Habib Kabir
32
Internet Connections
There are various technologies available that you can use to connect a home computer to
the Internet
• A phone modem converts computer data into an analog audio signal for transfer
over a telephone line, and then a modem at the destination converts it back again
into data
• A digital subscriber line (DSL) uses regular copper phone lines to transfer digital data
to and from the phone company’s central office
• A cable modem uses the same line that your cable TV signals come in on to transfer
the data back and forth
• Broadband A connection in which transfer speeds are faster than 128 bits per second
33
Access net:
Digital Subscriber Line (DSL)
Asynchronous Digital Subscriber Line (ADSL)
33
Prof. Dr. Habib Kabir
34
cable headend
cable splitter
modem
Q17: What kind of Cable is used in Cable Network?
C
O
V V V V V V N
I I I I I I D D T
Coaxial Cable D D D D D D A A R
E E E E E E T T O
O O O O O O A A L
1 2 3 4 5 6 7 8 9
Channels
34
Prof. Dr. Habib Kabir
35
cable headend
…
cable splitter
modem CMTS Cable Modem
Termination
System
data, TV transmitted at different
frequencies over shared cable
distribution network ISP
35
Prof. Dr. Habib Kabir
36
wireless
devices
to/from headend or
central office
often combined
in single box
36
Prof. Dr. Habib Kabir
37
institutional link to
ISP (Internet)
institutional router
37
Prof. Dr. Habib Kabir
38
39
Physical media
39
Prof. Dr. Habib Kabir
40
40
Prof. Dr. Habib Kabir
41
to Internet
to Internet
Q22: Write down the name of this Wireless network.
41
Prof. Dr. Habib Kabir
42
Packet-switching: store-and-forward
L bits
per packet
source 32 1
destination
R bps R bps
42
Prof. Dr. Habib Kabir
43
C
A R = 100 Mb/s
D
R = 1.5 Mb/s
B
E
queue of packets
waiting for output link
43
Prof. Dr. Habib Kabir
44
B
packets queueing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
44
Prof. Dr. Habib Kabir
45
transmission
A propagation
B
nodal
processing queueing
46
transmission
A propagation
B
nodal
processing queueing
47
Packet Loss
buffer
(waiting area) packet being transmitted
A
B
packet arriving to
full buffer is lost
47
Prof. Dr. Habib Kabir
48
Throughput
server sends bits pipe that can carry pipe that can carry
(fluid) into pipe fluid at rate fluid at rate
Rs bits/sec) Rc bits/sec)
49
Throughput
Rs bits/sec Rc bits/sec
Rs bits/sec Rc bits/sec
bottleneck link
49
Prof. Dr. Habib Kabir
50
• per-connection end-end
throughput: min(Rc,Rs,R/6)
Rs
• in practice: Rc or Rs is often
bottleneck Rs
Rs
Rc Rc
Rc
50
Prof. Dr. Habib Kabir
51
routing algorithm
52
Assignment to be Announce
Packet Switching and Networking Technologies
Many designs for packet switching are possible
But there is a need for answers to basic questions:
• How should a destination be identified?
• How can a sender find the identification of a destination?
• How large should a packet be?
• How can a network recognize the end of one packet?
• How can a network recognize the beginning of another packet?
• If a network is shared, then how can they coordinate to insure that each receives a fair
opportunity to send?
• How can packet switching be adapted to wireless networks?
• How can network technologies be designed to meet various requirements for speed,
distance, and economic cost?, and economic cost
Many packet switching technologies have been created to meet various requirements for
speed, distance, and economic cost
52
Prof. Dr. Habib Kabir
53
NETWORK
54
• LAN is a network which is designed to operate over a small physical area such
as an office, factory or a group of buildings.
• LAN’s are easy to design and troubleshoot
• Exchange of information and sharing of resources becomes easy because of
LAN.
55
Types of Networks
• Various configurations, called topologies, have been used to
administer LANs
• Ring topology A configuration that connects all nodes
in a closed loop on which messages travel in one
direction
• Star topology A configuration that centers around one Ring topology
Star topology
node to which all others are connected and through
which all messages are sent
• Bus topology All nodes are connected to a single
communication line that carries messages in both
directions
• Mess Topology A mesh topology is a network setup
where each computer and network device is Bus topology
interconnected with one another.
A bus technology called Ethernet has become the industry standard Mess Topology
for local-area networks
56
gateway
56
Prof. Dr. Habib Kabir
57
57
Prof. Dr. Habib Kabir
58
58
Prof. Dr. Habib Kabir
59
60
Ownership of
Private Private or public Private or public
network
Geographical area
Small Very large Moderate
covered
Design and
Easy Not easy Not easy
maintenance
Coaxial cables,
Communication Coaxial cable, WiMax or satellite
optical fibre,
medium wireless, fibre optic links
cables, wireless
60
Prof. Dr. Habib Kabir
61
Q34: Write down two names of LAN classification by their component role
61
Prof. Dr. Habib Kabir
62
62
Prof. Dr. Habib Kabir
63
Client/Server Network
• In client-server network relationships, certain computers act as server and other act as clients.
• A Server is simply a computer, that available the network resources and provides service to other computers
when they request it.
Q35: What is Server?
• A client is the computer running a program that requests the service from a server.
Q36: What is Client?
• Local area network(LAN) is based on client server network relationship.
• A client-server network is one which all available network resources such as files, directories, applications and
shared devices, are centrally managed and hosted by Server and then are accessed by Client.
• Client serve network are defined by the presence of servers on a network that provide security and
administration of the network.
63
Prof. Dr. Habib Kabir
64
TYPES OF SERVERS
SERVERS
64
Prof. Dr. Habib Kabir
65
TYPES OF SERVERS
• File server: These servers provide the services for storing, retrieving and moving
the data. A user can read, write, exchange and manage the files with the help
of file servers.
• Printer server: The printer server is used for controlling and managing printing
on the network. It also offers the fax service to the network users.
• Application server: The expensive software and additional computing power
can be shared by the computers in a network with he help of application
servers.
• Message server: It is used to co-ordinate the interaction between users,
documents and applications. The data can be used in the for of audio, video,
binary, text or graphics.
• Database server: It is a type of application server. It allows the uses to access
the centralised strong database.
65
Prof. Dr. Habib Kabir
66
66
Prof. Dr. Habib Kabir
67
The Internet consists of parts that are owned and operated by individuals or organizations
67
Dr. K. Habibul Kabir Prof. Dr. Habib Kabir
68
68