Protocols and Models and Physical Layer_U
Protocols and Models and Physical Layer_U
NETWORK MODELS
TRANSMISSION MEDIA
Module Objective: Explain how network protocols enable devices to access local and remote network resources.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
Reference Models
The Benefits of Using a Layered Model
Complex concepts such as how a
network operates can be difficult to
explain and understand. For this reason,
a layered model is used.
Two layered models describe network
operations:
• Open System Interconnection (OSI)
Reference Model
• TCP/IP Reference Model
▪ Within a single machine, each layer calls upon the services of the layer just below it
▪ Between machines, layer x on one machine communicates with layer x on another
machine
▪ Communication is governed by an agreed-upon series of rules and conventions called
protocols
▪ Peer-to-Peer Processes
▪ At the physical layer, communication is direct
▪ Each layer in the sending device adds its own information to the message it receives from the layer just
above it and places the whole package to the layer below it
▪ At layer 1 the entire package is converted to a form that can be transmitted to the receiving device
▪ At the receiving device machine, the message is unwrapped layer by layer, with each process receiving
and removing the data meant for it
H H
D7 D7
7 7
H H
D6 D6
6 6
H H
D5 D5
5 5
H H
D4 D4
4 4
H H
D3 D3
3 3
H T H T
D2 D2
2 2 2 2
0 0
0101010101011010100000100000 0101010101011010100000100000
1 1
00 00
0 0
▪ Physical Layer
▪ The physical layer coordinates the functions required to carry a bit stream over a physical medium. It
deals with the mechanical and electrical specifications of the interface and transmission medium. It also
defines the procedures and functions that physical devices and interfaces have to perform for transmission
to Occur.
▪ Physical Layer
▪ Physical Layer
▪ Physical characteristics of interfaces and medium(The physical layer defines the characteristics of the
interface between the devices and the transmission medium. It also defines the type of transmission
medium. )
▪ Representation of bits (encoding: bits → signals) bits must be encoded into signals--electrical or optical
▪ Data rate (duration of a bit: how long it lasts) The physical layer defines the dura-tion of a bit, which is
how long it lasts
▪ Synchronization of bits (clocks) , the sender and the receiver clocks must be synchronized.
▪ Line configuration (connection of the devices to the media: point-to-point or multipoint)
▪ Physical topology: The physical topology defines how devices are connected to make a network.
▪ Transmission mode : The physical layer also defines the direction of transmission between two devices
(simplex / half-duplex / full-duplex)
▪ Network Layer
▪ Responsible for the source-to-destination delivery of a packet possibly across multiple networks (links)
▪ Ensures that each packet gets from its point of origin to its final destination
▪ No need for network layer if systems are on the same networks
▪ Network Layer
▪ Network Layer
▪ Logical addressing
▪ Addresses of the sender and receiver when the packet passes the network boundary
▪ Routing
▪ Routing or switching the packets to their final destination using connecting devices (routers or switches)
▪ Transport Layer
▪ Responsible for process-to-process delivery
▪ A process is an application program on a host
▪ Ensures that the whole message arrives intact and in order
▪ Transport Layer
▪ Transport Layer
▪ Service-point addressing
▪ Delivery not only from one computer to the next but also from a specific process (running program) on one
computer to a specific process on the other
▪ Include service-point address (or port address)
▪ Transport Layer
▪ Segmentation and reassembly
▪ Divide message into segments each contains a sequence #
▪ Assemble the segments at the destination
▪ Connection control
▪ Connectionless: send packets to destinations
▪ Connection-oriented: makes a connection before delivering the packets
▪ Flow control
▪ End to end rather than across a single link
▪ Error control
▪ Process to process rather than a single link
▪ Session Layer
▪ It is the network dialog controller
▪ It establishes, maintains, and synchronizes the interaction among communicating systems
▪ Session Layer
▪ Dialog control
▪ Allows two systems to enter into a dialog
▪ Allows communication between two processes to take place in either
half-duplex or full-duplex
▪ Synchronization
▪ Allows a process to add checkpoints, or synchronization points to a stream of
data
▪ Example: Sending a file of 2000 pages, insert checkpoints after every 100
pages. If a crash happens during transmission of page 523, the only pages
that need to be resent after system recovery are pages 501 to 523
▪ Presentation Layer
▪ Concerned with the syntax and semantics of the information exchanged between two systems
▪ Presentation Layer
▪ Translation
▪ Interoperability between different coding systems
▪ Encryption
▪ Compression
▪ Application Layer
▪ Enables the user to access the network
▪ Provides user interfaces
▪ Summary of Layers
▪ Summary of Layers
▪ Network Layer:
▪ TCP/IP supports the Internetworking protocol (IP)
▪ It uses 4 supporting protocol
▪ ARP
▪ RARP
▪ ICMP
▪ IGMP
▪ Network Layer
▪ Internetworking Protocol (IP)
▪ The transmission mechanism used by the TCP/IP protocols
▪ Unreliable and connectionless protocol – best short delivery service (means
no error checking or tracking)
▪ Data packets are called datagrams which are transmitted separately.
Datagrams can travel along different routes and can arrive out of sequence or
be duplicated.
▪ IP does not keep track of the routes and has no facility for reordering
datagrams once they arrive at their destination
▪ IP provides bare-bones transmission functions that free the user to add only
those facilities necessary for a given application and thereby allow for
maximum efficiency
Latency
• Amount of time, including delays, for data to travel from one given point to another
Throughput
• The measure of the transfer of bits across the media over a given period of time
Goodput
• The measure of usable data transferred over a given period of time
• Goodput = Throughput - traffic overhead
Ex:
A network with bandwidth of 10 Mbps can pass only an average of 12,000
frames per minute with each frame carrying an average of 10,000 bits. What is
the throughput of this network?
Solution
We can calculate the throughput as:
Solution :
We can calculate the propagation time as
▪ The latency or delay defines how long it takes for an entire message to completely
arrive at the destination from the time the first bit is sent out from the source. We can
say that latency is made of four components: propagation time, transmission time,
queuing time, and processing delay.
▪ Latency=propagation time+transmission time+queuing time+processing delay
Propagation time measures the time required for a bit to travel from the source to the
destination. The propagation time is calculated by dividing the distance by the
propagation speed.
▪ In data communications, we don't send just 1 bit; we send a message. The first bit may
take a time equal to the propagation time to reach its destination; the last bit also may
take the same amount of time. However, there is a time between the first bit leaving
the sender and the last bit arriving at the receiver. The first bit leaves earlier and
arrives earlier; the last bit leaves later and arrives later. The time required for
transmission of a message depends on the size of the message and the bandwidth of
the channel
What are the propagation time and the transmission time for a 2.5-kbyte
message (an e-mail) if the bandwidth of the network is 1 Gbps? Assume
that the distance between the sender and the receiver is 12,000 km and that
light travels at 2.4× 108 m/s.
Solution
We can calculate the propagation and transmission time as:
Solution
We can calculate the propagation and transmission times as:
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 57
Layers in The OSI Model
▪ Physical Layer
▪ The physical layer coordinates the functions required to carry a bit stream over a physical medium. It
deals with the mechanical and electrical specifications of the interface and transmission medium. It also
defines the procedures and functions that physical devices and interfaces have to perform for transmission
to Occur.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 59
Purpose of the Physical Layer
The Physical Connection
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 62
Physical Layer Characteristics
Physical Layer Standards
Physical Layer Characteristics
Physical Components
The Physical Components are the hardware devices, media, and other
connectors that transmit the signals that represent the bits.
• Hardware components like NICs, interfaces and connectors, cable materials, and cable designs are all specified in
standards associated with the physical layer.
Physical Layer Characteristics
Encoding
Encoding or line encoding is a method of converting a stream of
data bits into a predefined "code”. Codes are groupings of bits
used to provide a predictable pattern that can be recognized by
both the sender and the receiver. In other words, encoding is the
method or pattern used to represent digital information. This is
similar to how Morse code encodes a message using a series of
dots and dashes.
For example, Manchester encoding represents a 0 bit by a high
to low voltage transition, and a 1 bit is represented as a low to
high voltage transition. An example of Manchester encoding is
illustrated in the figure. The transition occurs at the middle of
each bit period. This type of encoding is used in 10 Mbps
Ethernet. Faster data rates require more complex encoding.
Manchester encoding is used in older Ethernet standards such as
10BASE-T. Ethernet 100BASE-TX uses 4B/5B encoding and
1000BASE-T uses 8B/10B encoding.
Physical Layer Characteristics
Signaling
The physical layer must generate the electrical, optical, or
wireless signals that represent the "1" and "0" on the media. The Light Pulses Over Fiber-Optic Cable
way that bits are represented is called the signaling method. The
physical layer standards must define what type of signal
represents a "1" and what type of signal represents a "0". This
can be as simple as a change in the level of an electrical signal
or optical pulse.
Latency
• Amount of time, including delays, for data to travel from one given point to another
Throughput
• The measure of the transfer of bits across the media over a given period of time
Goodput
• The measure of usable data transferred over a given period of time
• Goodput = Throughput - traffic overhead
Transmission Media
▪ Guided Media
▪ Unguided Media
▪ Guided media refers to physical transmission paths that guide the data signal from one device to another. The data travels through a specific, contained path, usually a solid
medium like a cable or optical fiber.
1. Physical Path: Data travels through a dedicated, physical medium, such as cables or fibers.
2. High Security: Guided media are generally more secure because signals are contained within a physical path, reducing the chance of interception.
3. Reduced Interference: Guided media are less susceptible to external interference (e.g., radio signals) because they are shielded by the medium.
• Reliable and High-Speed Transmission: Guided media offer stable, high-speed data transmission.
• Long-Distance Capabilities: Fiber optic cables can carry signals over long distances without significant loss.
• Installation Costs: Cables are often expensive to install and maintain, especially over long distances or in challenging environments.
• Physical Limitations: They require a physical connection, which can be impractical or costly in some environments.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 73
Effect of Noise on Parallel Lines
Twisted-Pair Cable
A twisted pair consists of two conductors (normally copper), each with its
own plastic insulation, twisted together,
2. Consists of 4 Pairs of Color-Coded Wires Twisted Together: UTP cables typically consist of four color-coded
pairs of twisted wires. Each pair consists of one solid-colored wire and one striped wire.
3. Twisting Cancels Unwanted Signals: The twisting of pairs in UTP cables is designed to cancel out electromagnetic
interference and unwanted signals. This twisting helps maintain signal integrity during transmission.
4. Cancellation Effect Avoids Crosstalk: The cancellation effect created by twisting the pairs helps minimize
crosstalk. Crosstalk is interference caused by the magnetic field around adjacent pairs of wires in the cable.
5. Crosstalk is Interference from Magnetic Fields: Crosstalk is indeed interference caused by the magnetic field
around adjacent pairs of wires. It can lead to signal degradation if not properly managed.
6. Categories of UTP: UTP cables come in different categories (e.g., Cat 5e, Cat 6, Cat 6a) that define their
performance characteristics, including maximum data rates and maximum transmission distances.
7. Applications: UTP cables are commonly used for Ethernet networking, telephone lines, and other data transmission
applications.
8. Limitations: While UTP is suitable for many applications, it may be more susceptible to external interference
compared to shielded cables in environments with high levels of electromagnetic interference (EMI).
Category Cable Type Max Distance (UTP) Max Distance (STP) Frequency Connector Type
Cat 7 STP Up to 100 meters Up to 100 meters Up to 600 MHz GG45, TERA
Ethernet Crossover * One end T568A, other end T568B Host-to-Host, Switch-to-Switch,
Router-to-Router
* Considered Legacy due to most NICs using Auto-MDIX to sense cable type and complete connection
Rollover Cisco Proprietary Host serial port to Router or Switch
Console Port, using an adapter
Dr.Safwan Mawlood Hussein
Copper Cabling
Coaxial Cable
Consists of the following:
1. Outer cable jacket to prevent minor physical damage
2. A woven copper braid, or metallic foil, acts as the
second wire in the circuit and as a shield for the
inner conductor.
3. A layer of flexible plastic insulation
4. A copper conductor is used to transmit the electronic
signals.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 89
Fiber-Optic Cabling
Properties of Fiber-Optic Cabling
• Not as common as UTP or STP because of the expense involved
• Ideal for some networking scenarios
• Transmits data over longer distances at higher bandwidth than any other
networking media
• Less susceptible to attenuation, and completely immune to EMI/RFI
• Made of flexible, extremely thin strands of very pure glass
• Uses a laser or LED to encode bits as pulses of light
• The fiber-optic cable acts as a wave guide to transmit light between the two ends
with minimal signal loss
Fiber-Optic Cabling
Types of Fiber Media
Single-Mode Fiber Multimode Fiber
• Larger core
• Very small core
• Uses less expensive LEDs
• Uses expensive lasers
• LEDs transmit at different angles
• Long-distance applications
• Up to 10 Gbps over 550 meters
Dispersion refers to the spreading out of a light pulse over time. Increased dispersion means
increased loss of signal strength. MMF has greater dispersion than SMF, with a the maximum cable
distance for MMF is 550 meters.
Fiber-Optic Cabling
Fiber-Optic Cabling Usage
Fiber-optic cabling is now being used in four types of industry:
Our focus in this course is the use of fiber within the enterprise.
Fiber-Optic Cabling
Fiber-Optic Connectors
SC-SC MM Patch Cord LC-LC SM Patch Cord ST-LC MM Patch Cord ST-SC SM Patch Cord
A yellow jacket is for single-mode fiber cables and orange (or aqua) for multimode fiber
cables.
Fiber-Optic Cabling
Fiber versus Copper
Optical fiber is primarily used as backbone cabling for high-traffic, point-to-point
connections between data distribution facilities and for the interconnection of buildings
in multi-building campuses.
Immunity to electrical
Low High (Completely immune)
hazards
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 96
Introduction to Wireless
Benefits of Wireless
Mobile FM MW SW Satellite
WLAN Telephony, Radio Radio Radio Links
I Blueooth
R s WLL
802.11 WLAN standards define how radio frequencies are used for wireless links.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 107
WLAN Components
Video – WLAN Components
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 114
Wireless Media
Properties of Wireless Media
It carries electromagnetic signals representing binary digits using radio or microwave frequencies. This provides the greatest mobility
option. Wireless connection numbers continue to increase.
The IEEE and telecommunications industry standards for wireless data communications
cover both the data link and physical layers. In each of these standards, physical layer
specifications dictate:
• Data to radio signal encoding methods
• Frequency and power of transmission
• Signal reception and decoding requirements
• Antenna design and construction
Wireless Standards:
• Wi-Fi (IEEE 802.11) - Wireless LAN (WLAN) technology
• Bluetooth (IEEE 802.15) - Wireless Personal Area network (WPAN) standard
• WiMAX (IEEE 802.16) - Uses a point-to-multipoint topology to provide broadband wireless
access
• Zigbee (IEEE 802.15.4) - Low data-rate, low power-consumption communications, primarily for
Internet of Things (IoT) applications
Wireless Media
Wireless LAN
In general, a Wireless LAN (WLAN) requires the following devices:
• Wireless Access Point (AP) - Concentrate wireless signals from users and
connect to the existing copper-based network infrastructure
• Wireless NIC Adapters - Provide wireless communications capability to
network hosts.
Wi-Fi Frequency Bands and Standards: Navigating the 2.4 GHz
and 5 GHz Spectrum
Wi-Fi operates on multiple frequency bands, and the specific frequency
band used depends on the Wi-Fi standard (IEEE 802.11) and the
generation (Wi-Fi 4, Wi-Fi 5, Wi-Fi 6, etc.). Here are the primary
frequency bands used by different Wi-Fi standards:
2.4 GHz Band:
1. Wi-Fi Standards: Wi-Fi 4 (802.11n) and earlier.
2. Channels: Divided into multiple channels (e.g., 1-11 in the U.S.).
3. Common Channels: 2.412 GHz, 2.417 GHz, 2.422 GHz, etc.
4. Note: The 2.4 GHz band is susceptible to interference from other devices like microwaves and cordless phones.
5 GHz Band:
5. Wi-Fi Standards: Wi-Fi 5 (802.11ac), Wi-Fi 6 (802.11ax), and newer.
6. Channels: Divided into multiple non-overlapping channels.
7. Common Channels: 5.18 GHz, 5.24 GHz, 5.32 GHz, etc.
8. Note: The 5 GHz band offers more channels and tends to have less interference compared to the 2.4 GHz
band.