Introduction To Wireless Networks
Introduction To Wireless Networks
INTRODUCTION
Fundamental concepts of
computer networks.
Components
Figure 1.1 Five components of data communication
5
1
2 3
4
1.4
Data Representation
1. Text
2. Numbers
3. Images
4. Audio
5. Video
Data flow
Simplex
Half-duplex
Full-duplex
1.5
1-2 NETWORKS
Types of connections
Point to point
A dedicated link is provided
between two devices
Multipoint
More than two specific devices
share a single link
1.7
Physical Topology
Tree
1.8
MESH Topology
• Every device has a dedicated point-to-
point link to every other devices
• Dedicated
• Link carries traffic only between the two
devices it connects
• A fully connected mesh network has n(n-1)/2
physical channels to link n devices
• Every device on the network must have n-1
input/output (I/O) ports
• Advantage
• Less traffic, robust, secure, easy to maintain
• Disadvantage
• Need more resource (cable and ports),
expensive n(n-1)/2 physical duplex links
1.9
STAR Topology
• Each device has a dedicated point-to-point link only to a central controller,
• Advantages
• Less expensive
• Robustness
• Disadvantage
BUS Topology
• A multipoint topology
• All devices are linked through a backbone cable
• Nodes are connected to the bus cable by drop lines and taps.
• Drop line
• A connection running between the device and the main cable
• Tap
• A connector that either splices into the main cable or punctures the
sheathing of a cable to create a contact with the metallic core
• Advantage:
• Ease of installation
Disadvantages:
• Difficult reconnection and fault isolation
• Broken or fault of the bus cable stops all transmission
1.11
RING Topology
• Each device is dedicated point-to-point connection only with the two devices on either
side of it
• A signal is passed along the ring in the direction, from device to device, until it reaches
its destination
• Each device in the ring incorporates a repeater
• Advantages
• Relatively easy to install and reconfigure
• Fault isolation is simplified
• Disadvantage
• Unidirectional traffic
1.12
Tree Topology
Tree topologies integrate multiple topologies together
• Advantages:
• Point-to-point wiring for individual segments.
• Supported by several hardware and software venders.
• Disadvantages:
• Overall length of each segment is limited by the type of cabling used.
• If the backbone line breaks, the entire segment goes down.
• More difficult to configure and wire than other topologies.
1.13
Categories of Networks
1. Local Area Network (LAN)
2. Wireless Local Area Network (WLAN)
3. Metropolitan Area Network (MAN)
4. Wide Area Network (WAN)
An isolated LAN connecting 12 computers to a hub in a closet
1.15
Protocols
•Syntax → format of the data
•Semantics → meaning of each section
•Timing → when data should be sent and how fast.
Standards
•De facto → by fact (not approved as a standard)
•De jure → by Law (approved)
1.21
Standards Organizations
• International Organization for Standardization (ISO)
• International Telecommunication Union - Telecommunication
Standards (ITU-T)
• American National Standards Institute (ANSI)
• Institute of Electrical and Electronics Engineers (IEEE)
• Electronic Industries Association (EIA)
1.22
Network Models
OSI Model
1.23
1-5 LAYERED TASKS
Protocol:
A set of rules that governs data communication
It represents an agreement between the communicating
devices
1.24
Layered Architecture
Peer-to-Peer Processes
Encapsulation
1.27
Layered Architecture
Seven layers of the OSI model
Layers
Layer 7. Application
Layer 6. Presentation
Receiver
Layer 5. Session
Sender
Layer 4. Transport
Layer 3. Network
Layer 1. Physical
1.28
Layered Architecture
A layered model
Each layer performs a subset of the required
communication functions
Each layer relies on the next lower layer to
perform more primitive functions
Each layer provides services to the next higher
layer
Changes in one layer should not require changes
in other layers
The processes on each machine at a given layer
are called peer-to-peer process
1.29
CONTENT
1. Physical Layer
2. Data Link Layer
3. Network Layer
4. Transport Layer
5. Session Layer
6. Presentation Layer
7. Application Layer
1.34
Physical Layer
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
Function
Physical characteristics of interfaces and media
Representation of bits
Data rate
Synchronization of bits
Line configuration (point-to-point or multipoint)
Physical topology (mesh, star, ring or bus)
Transmission mode ( simplex, half-duplex or duplex)
1.35
Physical layer
1.36
Function
Framing
Physical addressing
Flow control
Error control
Access control
1.37
Hop-to-hop delivery
1.39
Example 1
In following Figure a node with physical address 10 sends a frame to a node
with physical address 87. The two nodes are connected by a link. At the
data link level this frame contains physical addresses in the header. These
are the only addresses needed. The rest of the header contains other
information needed at this level. The trailer usually contains extra bits
needed for error detection
1.40
Network Layer
The network layer is responsible for the
delivery of individual packets from
the source host to the destination host.
Source-to-destination delivery
Responsible from the delivery of packets from the
original source to the final destination
Functions
Logical addressing
routing
1.41
Network layer
1.42
Source-to-destination delivery
1.43
Example 2
We want to send data from a
node with network address A and
physical address 10, located on
one LAN, to a node with a
network address P and physical
address 95, located on another
LAN. Because the two devices are
located on different networks, we
cannot use physical addresses
only; the physical addresses only
have local influence. What we
need here are universal addresses
that can pass through the LAN
boundaries. The network (logical)
addresses have this characteristic.
1.44
Transport Layer
The transport layer is responsible for the delivery
of a message from one process to another.
Transport layer
Example 3
Data coming from the
upper layers have port
addresses j and k (j is the
address of the sending
process, and k is the
address of the receiving
process). Since the data size
is larger than the network
layer can handle, the data
are split into two packets,
each packet retaining the
port addresses (j and k).
Then in the network layer,
network addresses (A and
P) are added to each
packet.
1.48
Session Layer
The session layer is responsible for dialog
control and synchronization.
Session layer
Synchronization
1.50
Presentation Layer
The presentation layer is responsible for translation,
compression, and encryption.
Presentation layer
1.52
Application Layer
The application layer is responsible for
providing services to the user.
Functions
Network virtual terminal (Remote log-in)
Mail services
Application layer
1.54
Summary of layers
1.55
Summary of layers
OSI Model
Data
Layer Function
unit
Receiver
User
Segment 4. Transport End-to-end connections and reliability
Network
Path determination and logical
Packet 3. Network
Network addressing
support Frame 2. Data Link Physical addressing
layers
Bit 1. Physical Media, signal and binary transmission
1.56
Network Models
Lecture 3
TCP/IP Model
1.57
1-5.2 TCP/IP PROTOCOL SUITE
TCP/IP Model
OSI Model
1.59
Internet Layer
Transport Layer
Process-to-process protocol.
• User Datagram Protocol (UDP)
• Transmission Control Protocol (TCP)
• Stream Control Transmission Protocol (SCTP)
1.61
1-6 ADDRESSING
Addresses in TCP/IP
1.63
Physical Address
Example:
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical
address.
Physical Address
1.65
Port addresses
Port addresses
Specific addresses
1.69