Com 244 Eng
Com 244 Eng
3 Mobile Users
Text messaging or texting
Smart phones,
GPS (Global Positioning System)
m-commerce
NFC (Near Field Communication)
4 Social Issues
With the good comes the bad, as this new-found freedom brings with
it many unsolved social, political, and ethical issues.
Social networks, message boards, content sharing sites, and a
host of other applications allow people to share their views with like-
minded individuals. As long as the subjects are restricted to technical
topics or hobbies like gardening, not too many problems will arise.
The trouble comes with topics that people actually care about,
like politics, religion, or sex. Views that are publicly posted may be
deeply offensive to some people. Worse yet, they may not be politically
correct. Furthermore, opinions need not be limited to text; high-
resolution color photographs and video clips are easily shared over
computer networks. Some people take a live-and-let-live view, but
others feel that posting certain material (e.g., verbal attacks on
particular countries or religions, pornography, etc.) is simply
unacceptable and that such content must be censored. Different
countries have different and conflicting laws in this area. Thus, the
debate rages.
Computer networks make it very easy to communicate. They also
make it easy for the people who run the network to snoop on the traffic.
This sets up conflicts over issues such as employee rights versus
employer rights. Many people read and write email at work. Many
employers have claimed the right to read and possibly censor employee
messages, including messages sent from a home computer outside
working hours. Not all employees agree with this, especially the
latter part.
Another conflict is centered around government versus citizen’s rights.
A new twist with mobile devices is location privacy. As part of the
process of providing service to your mobile device the network
operators learn where you are at different times of day. This allows
them to track your movements. They may know which nightclub you
frequent and which medical center you visit.
Data Representation
Text
Numbers
Images
Audio
Video
Data Flow
Communication between two devices can be simplex, half-duplex, or
full-duplex as shown in Figure.
Simplex In simplex mode, the communication is unidirectional, as
on a one- way street. Only one of the two devices on a link can
transmit; the other can only receive (Figure a). Keyboards and
traditional monitors are examples of simplex devices.
Half-Duplex
In half-duplex mode, 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 (Figure b). Walkie-talkies and CB (citizens
band) radios are both half- duplex systems.
Full-Duplex
In full-duplex, both stations can transmit and receive simultaneously
(Figure c). One common example of full-duplex communication is the
telephone network. When two people are communicating by a
telephone line, both can talk and listen at the same time. The full-
duplex mode is used when communication in both directions is required
all the time.
Network Criteria
A network must be able to meet a certain number of criteria. The most
important of these are performance, reliability, and security.
Performance
Performance can be measured in many ways, including transit time
and response time. Transit time is the amount of time required for a
message to travel from one device to another. Response time is the
elapsed time between
an inquiry and a response. The performance of a network depends on a
number of factors, including the number of users, the type of
transmission medium, the capabilities of the connected hardware, and
the efficiency of the software.
Performance is often evaluated by two networking metrics:
throughput and delay. We often need more throughput and less delay.
However, these two criteria are often contradictory. If we try to send
more data to the network, we may increase throughput but we increase
the delay because of traffic congestion in the network.
Reliability: In addition to accuracy of delivery, network reliability is
measured by the frequency of failure, the time it takes a link to recover
from a failure, and the network's robustness in a catastrophe.
Security: Network security issues include protecting data from
unauthorized access, protecting data from damage and development,
and implementing policies and procedures for recovery from breaches
and data losses.
Physical Structures
Before discussing networks, we need to define some network attributes.
Type of Connection
A network is two or more devices connected through links.
A link is a communications pathway that transfers data from one
device to another.
There are two possible types of connections: point-to-point and
multipoint. Point-to-Point A point-to-point connection provides a
dedicated link between two devices. The entire capacity of the link is
reserved for transmission between those two devices. Most point-to-
point connections use an actual length of wire or cable to connect
the two ends, but other options, such as microwave or satellite links,
are also possible
When you change television channels by infrared remote control, you
are establishing a point-to-point connection between the remote control
and the television's control system.
Multipoint A multipoint (also called multi-drop) connection is one in
which more than two specific devices share a single link
In a multipoint environment, the capacity of the channel is shared,
either spatially or temporally. If several devices can use the link
simultaneously, it is a spatially shared connection. If users must take
turns, it is a timeshared connection.
Physical Topology
The term physical topology refers to the way in which a network is laid
out physically.
Two or more devices connect to a link; two or more links form a
topology. The topology of a network is the geometric representation of
the relationship of all the links and linking devices (usually called
nodes) to one another.
There are four basic topologies possible: mesh, star, bus, and ring
MESH:
A mesh topology is the one where every node is connected to every
other node in the network.
RING:
Other types
WLAN (Wireless LAN)
A LAN that uses high frequency radio waves for communication.
Provides short range connectivity with high speed data transmission.
PAN (Personal Area Network)
Network organized by the individual user for its personal use.
SAN (Storage Area Network)
Connects servers to data storage devices via fiber-optic cables. E.g.:
Used for daily backup of organization or a mirror copy
The most common UTP connector is RJ45 (RJ stands for registered jack)
Applications
Twisted-pair cables are used in telephone lines to provide voice and
data channels.
Local-area networks, such as l0Base-T and l00Base-T, also use
twisted-pair cables.
Coaxial Cable
Coaxial cable (or coax) carries signals of higher frequency ranges than
those in twisted pair cable. coax has a central core conductor of solid or
stranded wire (usuallycopper) enclosed in an insulating sheath, which
is, in turn, encased in an outer conductor of metal foil, braid, or a
combination of the two. The outer metallic wrapping serves both as a
shield against noise and as the second conductor, which completes the
circuit.This outer conductor is also enclosed in an insulating sheath,
and the whole cable is protected by a plastic cover.
Fiber-Optic Cable
A fiber-optic cable is made of glass or plastic and transmits signals
in the form of light. Light travels in a straight line as long as it is
moving through a single uniform substance.
If a ray of light traveling through one substance suddenly enters
another substance(of a different density), the ray changes direction.
Bending of light ray
Radio Waves
Electromagnetic waves ranging in frequencies between 3 kHz and 1
GHz are normally called radio waves. Radio waves are omni
directional. When an antenna transmits radio waves, they are
propagated in all directions. This means that the sending and receiving
antennas do not have to be aligned. A sending antenna sends waves
that can be received by any receiving antenna. The omni directional
property has a disadvantage, too. The radio waves transmitted by one
antenna are susceptible to interference by another antenna that may
send signals using the same frequency or band.
Omni directional Antenna
Radio waves use omnidirectional antennas that send out signals in all
directions. Based on the wavelength, strength, and the purpose of
transmission, we can have several types of antennas. Figure shows an
omnidirectional antenna.
Applications
The Omni directional characteristics of radio waves make them useful
for multicasting, in which there is one sender but many receivers. AM
and FM radio, television, maritime radio, cordless phones, and paging
are examples of multicasting.
Microwaves
Electromagnetic waves having frequencies between 1 and 300 GHz are
called microwaves. Microwaves are unidirectional. The sending and
receiving antennas need to be aligned. The unidirectional property has
an obvious advantage. A pair of antennas can be aligned without
interfering with another pair of aligned antennas
Unidirectional Antenna
Microwaves need unidirectional antennas that send out signals in one
direction. Two types of antennas are used for microwave
communications: the parabolic dish and the horn
Applications:
Microwaves are used for unicast communication such as cellular
telephones, satellite networks, and wireless LANs
Infrared
Infrared waves, with frequencies from 300 GHz to 400 THz
(wavelengths from 1 mm to 770 nm), can be used for short-range
communication. Infrared waves, having high frequencies, cannot
penetrate walls. This advantageous characteristic prevents
interference between one system and another; a short- range
communication system in one room cannot be affected by another
system in the next room.
When we use our infrared remote control, we do not interfere with
the use of the remote by our neighbors. Infrared signals useless for
long-range communication. In addition, we cannot use infrared waves
outside a building because the sun's rays contain infrared waves that
can interfere with the communication.
Applications:
Infrared signals can be used for short-range communication in
a closed area using line-of-sight propagation.
Physical Layer
Deals with all aspects of physically moving data from one computer to
the next
Converts data from the upper layers into 1s and 0s for transmission
over media
Defines how data is encoded onto the media to transmit the data
Defined on this layer: Cable standards, wireless standards, and fiber
optic standards.
Copper wiring, fiber optic cable, radio frequencies, anything that can be
used to transmit data is defined on the Physical layer of the OSI Model
Device example: Hub
Used to transmit data
Data Link Layer
Is responsible for moving frames from node to node or computer to
computer
Can move frames from one adjacent computer to another, cannot
move frames across routers
Encapsulation = frame
Requires MAC address or physical address
Protocols defined include Ethernet Protocol and Point-to-Point Protocol
(PPP)
Device example: Switch
TCP
&UDP
Two sublayers: Logical Link Control (LLC) and the Media Access
Control (MAC)
o Logical Link Control (LLC)
▪ –Data Link layer addressing, flow control, address notification, error
control
o Media Access Control (MAC)
▪ –Determines which computer has access to the network media at
any given time
▪ –Determines where one frame ends and the next one starts, called
frame
synchronization
Network Layer
Responsible for moving packets (data) from one end of the
network to the other, called end-to-end communications
Requires logical addresses such as IP addresses
Device example: Router
–Routing is the ability of various network devices and their related
software to move data packets from source to destination
Transport Layer
Takes data from higher levels of OSI Model and breaks it into
segments that can be sent to lower-level layers for data transmission
Conversely, reassembles data segments into data that higher-level
protocols
and applications can use
Also puts segments in correct order (called sequencing ) so they can
be reassembled in correct order at destination
Concerned with the reliability of the transport of sent data
May use a connection-oriented protocol such as TCP to ensure
destination received segments
May use a connectionless protocol such as UDP to send
segments without assurance of delivery
Uses port addressing
Session Layer
Responsible for managing the dialog between networked devices
Establishes, manages, and terminates connections
Provides duplex, half-duplex, or simplex communications between
devices
Provides procedures for establishing checkpoints, adjournment,
termination, and restart or recovery procedures
TCP
&UDP
Presentation Layer
Concerned with how data is presented to the network
Handles three primary tasks: –Translation , –Compression , –Encryption
Application Layer
Contains all services or protocols needed by application software or
operating system to communicate on the network
Examples
o –Firefox web browser uses HTTP (Hyper-Text Transport Protocol)
o –E-mail program may use POP3 (Post Office Protocol version 3) to
read e-mails and SMTP (Simple Mail Transport Protocol) to send e-
mails
TCP
&UDP
The interaction between layers in the OSI model
TCP
&UDP
An exchange using the OSI model
TCP
&UDP
Relationship of layers and addresses in TCP/IP
Application Layer
Application layer protocols define the rules when implementing
specific network applications
Rely on the underlying layers to provide accurate and efficient data
delivery
Typical protocols:
o FTP – File Transfer Protocol
▪ For file transfer
o Telnet – Remote terminal protocol
▪ For remote login on any other computer on the network
o SMTP – Simple Mail Transfer Protocol
▪ For mail transfer
o HTTP – Hypertext Transfer Protocol
▪ For Web browsing
Encompasses same functions as these OSI Model layers
Application Presentation Session
Transport Layer
TCP
&UDP
TCP is a connection-oriented protocol
o Does not mean it has a physical connection between sender and receiver
o TCP provides the function to allow a connection virtually exists –
also called virtual circuit
UDP provides the functions:
o Dividing a chunk of data into segments
o Reassembly segments into the original chunk
o Provide further the functions such as reordering and data resend
Offering a reliable byte-stream delivery service
Functions the same as the Transport layer in OSI
Synchronize source and destination computers to set up the session
between the respective computers
Internet Layer
The network layer, also called the internet layer, deals with packets and
connects independent networks to transport the packets across network
boundaries. The network layer protocols are the IP and the Internet
Control Message Protocol (ICMP), which is used for error reporting.
Host-to-network layer
The Host-to-network layer is the lowest layer of the TCP/IP
reference model. It combines the link layer and the physical layer
of the ISO/OSI model. At this layer, data is transferred between
adjacent network nodes in a WAN or between nodes on the same
LAN.
THE INTERNET
The Internet has revolutionized many aspects of our daily lives. It has
affected the way we do business as well as the way we spend our
leisure time. Count the ways you've used the Internet recently.
Perhaps you've sent electronic mail (e-mail) to a business associate,
paid a utility bill, read a newspaper from a distant city, or looked up a
local movie schedule-all by using the Internet. Or maybe you
researched a medical topic, booked a hotel reservation, chatted
with a fellow Trekkie, or comparison-shopped for a car. The
Internet is a communication system that has brought a wealth of
information to our fingertips and organized it for our use.
A Brief History
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. The
Internet today is run by private companies, not the government.
Figure 1.13 shows a conceptual (not geographic) view of the Internet.
International Internet Service Providers:
At the top of the hierarchy are the international service
providers that connect nations together.
National Internet Service Providers:
The national Internet service providers are backbone networks
created and maintained by specialized companies. There are many
national ISPs operating in North America; some of the most well
known are SprintLink, PSINet, UUNet Technology, AGIS, and
internet Mel. To provide connectivity between the end users, these
backbone networks are connected by complex switching stations
(normally run by a third party) called network access points (NAPs).
Some national ISP networks are also connected to one another by
private switching stations called peering points. These normally
operate at a high data rate (up to 600 Mbps).
Regional Internet Service Providers:
Regional internet service providers or regional ISPs are smaller
ISPs that are connected to one or more national ISPs. They are at the
third level of the hierarchy with a smaller data rate. Local Internet
Service Providers:
Local Internet service providers provide direct service to the
end users. The local ISPs can be connected to regional ISPs or
directly to national ISPs. Most end users are connected to the local
ISPs. Note that in this sense, a local ISP can be a company that just
provides Internet services, a corporation with a network that
supplies services to its own employees, or a nonprofit organization,
such as a college or a university, that runs its own network. Each of
these local ISPs can be connected to a regional or national service
provider.