Chapter Five
Chapter Five
1
Contents
2
Basics of Data communication
3
Basics of Data communication (Cont.)
• Data must be received by the intended device or user and only by that
device or user.
2. Accuracy: The system must deliver the data accurately.
4
Basics of Data communication (Cont.)
5
Data Communication Component
1. Transmitter (Sender),
2. Receiver,
3. Medium,
4. Message, and
5. Protocol 6
Data Communication Component (Cont.)
9
i. Simplex
10
ii. Half-Duplex
• Each station can both transmit and receive, but not at the same time.
• When one device is sending, the other can only receive, and vice versa
(see Figure 2 b).
• The half-duplex mode is like a one-lane road with traffic allowed in
both directions. When cars are traveling in one direction, cars going
the other way must wait.
• The entire capacity of a channel is taken over by whichever of the two
devices transmitting at the time.
• Walkie-talkies and CB (citizens band) radios are both half-duplex
systems.
11
iii. Full-Duplex
13
Computer Networks
14
Network Representations
Network diagrams, often called topology
diagrams, use symbols to represent devices
within the network.
15
Application of Computer Networks
16
Types of Computer Networks
Network infrastructures vary greatly in
terms of:
• Size of the area covered
• Number of users connected
• Number and types of services available
• Area of responsibility
From an end user’s point of view there
are three basic types:
i. Local Area Network
ii. Wide Area Network
iii. Metropolitan Area Network
Two most common types of networks:
• Local Area Network (LAN) and Wide Area
Network (WAN).
17
Types of Computer Networks (Cont.)
• A LAN is a network infrastructure that • A WAN is a network infrastructure that spans
spans a small geographical area. a wide geographical area.
LAN WAN
Interconnect end devices in a limited area. Interconnect LANs over wide geographical areas.
Administered by a single organization or individual. Typically administered by one or more service providers.
Provide high-speed bandwidth to internal devices. Typically provide slower speed links between LANs.
18
Types of Computer Networks
(Cont.)
MAN
◻ It is in between LAN & WAN technology that c
overs the entire city.
◻ It u s e s similar technology as LAN.
◻ It can be a single network such as cable TV
network, or a measure of connecting a
number of LAN’s on a large network s o
that resources can be shared LAN to LAN a
s well a s device to device.
19
Network Models
20
Network Models (Cont.)
◻ The data moves down the OSI model, and each layer adds additional information.
◻ The data moves down until it reaches the last layer of the OSI model.
◻ When the data is received at the last layer of the OSI model, then the data is
transmitted over the network.
◻ Once the data is reached on the other side, then the process will get reversed.
TCP/IP Model
◻ The TCP model stands for Transmission Control Protocol, whereas IP stands for
Internet Protocol.
◻ A number of protocols that make the internet possibly comes under the TCP/IP
model.
21
TCP/IP Model (Cont.)
◻ Nowadays, we do not hear the name of the TCP/IP model much, we generally hear the
name of the IPv4 or IPv6, but it is still valid.
◻ This model consists of 5 layers. Now, we will look at the diagrammatic representation of
the TCP/IP model.
22
Network Topologies (Cont.)
23
Bus Topology
◻ Uses one main cable to which all nodes are directly connected.
◻ The main cable acts as a backbone for the network.
◻ One of the computers in the network typically acts as the computer server.
◻ It is easy to connect a computer or peripheral device.
◻ The cable requirements are relatively small, resulting in lower costs.
◻ One of the disadvantages is that if the main cable breaks, the entire network goes
down.
◻ This type of network is also difficult to troubleshoot.
◻ For these reasons, this type of topology is not used for large networks.
24
Star Topology
25
Ring Topology
◻ The computers in the network are connected in a circular fashion, and the data
travels in one direction.
◻ This type of network is easy to install and manage.
◻ If there is a problem in the network, it is easy to pinpoint which connection is
malfunctioning.
◻ It is also good for handling high-volume traffic over long distances since every
computer can act as a booster of the signal.
◻ On the downside, adding computers to this type of network is more bulky, and if one
single computer fails, the entire network goes down.
26
Mesh Topology
27
Transmission Media
28
Transmission Media (Cont.)
Twisted-Pair Cables
◻If the pair of wires are not twisted, electromagnetic noises from, e.g., motors,
will affect the closer wire more than the further one, thereby causing errors
29
Transmission Media (cont.)
Insulato Metal
r
30
Transmission Media (Cont.)
31
Transmission Media (Cont.)
Coaxial Cables
◻ In general, coaxial cables, or coax, carry signals of higher freq (100KHz–500MHz) than
UTP cables.
◻ Outer metallic wrapping serves both as a shield against noise and as the second
conductor that completes the circuit.
32
Transmission Media (Cont.)
Fiber-Optic Cables
◻ Light travels at 3x108 ms-1 in free space and is the fastest possible speed in the Universe
◻ Light slows down in denser media, e.g. glass
◻ Refraction occurs at interface, with light bending away
from the normal when it enters a less dense medium
Fiber-Optic Cables
◻ An optical fiber consists of a core (denser material) and a cladding (less dense
material)
◻ Simplest one is a multimode step-index optical fiber
◻ Multimode = multiple paths, whereas step-index = refractive index follows a
step-function profile (i.e. an abrupt change of refractive index between the core
and the cladding)
◻ Light bounces back and forth along the core
◻ Common light sources: LEDs and lasers
34
Transmission Media (Cont.)
35
The Internet
36
The Internet-Based Service
Some of the basic services available to Internet users are −
• Email − a fast, easy, and inexpensive way to communicate with other Internet
users around the world.
• Telnet − allows a user to log into a remote computer as though it were a local
system.
• FTP − allows a user to transfer virtually every kind of file that can be stored on
a computer from one Internet-connected computer to another.
• World Wide Web (WWW) − A hypertext interface to Internet information
resources.
37
Limitation of Internet
38
The Web Concept
• Each page available on the website is called a web page.
• The first page of any website is called the home page for that site.
What is WWW?
• WWW stands for World Wide Web.
• A technical definition of the World Wide Web is − All the resources and users
on the Internet that are using the Hypertext Transfer Protocol HTTP.
• The World Wide Web is a way of exchanging information between computers
on the Internet, tying them together into a vast collection of interactive
multimedia resources.
39
The Web Concept (Cont.)
What is HTTP?
• HTTP stands for Hypertext Transfer Protocol.
• This is the protocol being used to transfer hypertext documents that make the
World Wide Web possible.
• A standard web address such as Yahoo.com is called a URL and the prefix
HTTP indicates its protocol.
What is a URL?
• URL stands for Uniform Resource Locator.
• Used to specify addresses on the World Wide Web.
• A URL is the fundamental network identification for any resource connected to
the web.
40
The Web Concept (Cont.)
A URL will have the following format
41
The Web Concept (Cont.)
What is a Web Server?
• Every Website sits on a computer known as a Web Server.
• This server is always connected to the Internet.
• Every Web server that is connected to the Internet is given a unique address
made up of a series of four numbers between 0 and 256 separated by
periods (IP address).
• For example, 68.178.157.132 or 68.122.35.127.
What is a Web Browser?
• Web Browsers are software installed on your PC.
• To access the Web you need web browsers, such as Chrome, Microsoft
Internet Explorer, or Mozilla Firefox.
42
The Web Concept (Cont.)
What is SMTP Server?
• SMTP stands for Simple Mail Transfer Protocol Server.
• This server takes care of delivering emails from one server to another
server.
• When you send an email to an email address, it is delivered to its recipient
by an SMTP Server.
What is ISP?
• ISP stands for Internet Service Provider.
• They are the companies who provide service in terms of internet connection
to connect to the internet.
• You will buy space on a Web Server from any Internet Service Provider.
• This space will be used to host your Website.
43