C2.1. Objectives Physical Layer: Data Encoding Signaling The Physical Components
C2.1. Objectives Physical Layer: Data Encoding Signaling The Physical Components
Objectives
Explain the role of Physical layer protocols and services in supporting communication across data networks. Describe the role of signals used to represent bits as a frame as the frame is transported across the local media Describe the purpose of Physical layer signaling and encoding as they are used in networks Identify the basic characteristics of copper, fiber and wireless network media Describe common uses of copper, fiber and wireless network media
Physical Layer
There are various types of physical media and they carry different types of signals.
Copper cable electrical voltage. Fiber optic light pulses. Wireless electromagnetic waves.
Physical layer will encode the binary data in a frame to the proper type of signal depending on the physical media used. The technologies include four areas of the physical layer standards:
Physical and electrical properties of the media. Mechanical properties (materials, dimensions, pinouts) of the connectors. Bit representation by the signals (encoding). Definition of control information signals.
3
Signaling refers to the process of converting the encoded bit streams into signals.
The signals generated is dependent on the physical media. The method of representing the bits is called the signaling method.
The processes of encoding and signaling complete the preparation of data for transmission over the physical media. The physical layer sends these bits out one at a time onto the medium as a signal and those signals get picked up and decoded at the receiving end.
5 6
To make sure that the receiver reads the signals at the right time, the timing for both senders and receivers needs to be synchronized.
Done by the use of a clock signal. This ensures that they both have the same bit time (the time that the signal for one bit stays on the media).
10
Cooper media
There are various types of copper media:
Unshielded twisted-pair (UTP) cable Coaxial cable Shielded twisted-pair (STP) cable
For each type, there are standards that specify the following characteristics:
Bandwidth of the communication Type of connecters to be used Pinout and color codes of connection to the media Maximum distance of the media
The voltage is quite low and easily distorted by outside interference and signal attenuation.
Interference (also known as noise): unwanted signals that can distort or corrupt data signals. Attenuation: the loss of energy in the signal as it travels longer distance.
11
12
Coaxial Cable
Consists of a single, coated copper wire center and an outer metal mesh.
The outer metal mesh acts as both a grounding circuit and an electromagnetic shield to reduce interference.
UTP cable
UTP is the cheapest and the most common type of copper media used. Consists of eight wires twisted into four color-coded pairs.
The colors are used to identify wires for proper connection at the terminals. These four pair of wires are then bundled together into a cable jacket.
13
14
UTP Cable
There are two standards that specify the cable pinout (the order of wires in the connector):
TIA/EIA 568A TIA/EIA 568B
STP cable
Consists of four pairs of wires that are wrapped in an overall metallic braid or foil. The entire bundle of wires as well as the individual wire are shielded within the cable.
STP provides better noise protection than UTP cabling, however at a significantly higher price.
There are three types of UTP cable, each with different pinout configuration.
Straight-through cable Crossover cable Rollover cable
15
16
Fiber media
Identify several primary characteristics of fiber cabling and its main advantages over other media
On the receiving end, a device called photodiode interprets the light signal and decode it to bits.
17
18
Fiber optic cable is normally used in backbone connections to connect between floors, buildings or remote sites.
19
20
C2.2. Objectives
Explain the role of Data Link layer protocols in data transmission. Describe how the Data Link layer prepares data for transmission on network media. Describe the different types of media access control methods. Identify several common logical network topologies and describe how the logical topology determines the media access control method for that network. Explain the purpose of encapsulating packets into frames to facilitate media access. Describe the Layer 2 frame structure and identify generic fields. Explain the role of key frame header and trailer fields including addressing, QoS, type of protocol and Frame Check Sequence.
21
Controls how data is placed onto the media and is received from the media using techniques such as media access control (MAC) and error detection. Given a particular physical network, the data link layer is responsible for the transmission of data between source and destination devices connected to this network.
22
23
24
25
26
27
28
CRC sender
CRC receiver
Receive (M(x), R(x)) Calculate: xk M(x) (xk M(x) + R(x)) / C(x) = Q(x) + R(x) If R(x) = 0, then is exactly divisible by C(x), so either
No errors (R(x) = 0), or There are errors, but happened to be divisible by C(x)
29 30
The Spanning Tree Protocol (STP) is a network protocol that ensures a loop-free topology for any bridged Ethernet local area network. Spanning Tree Protocol (STP) is standardized as IEEE 802.1D. Protocol operation:
Select a root bridge. The root bridge of the spanning tree is the bridge with the smallest (lowest) bridge ID Determine the least cost paths to the root bridge. The port connecting to that path becomes the root port (RP) of the bridge. The port connecting this bridge to the network segment is then the designated port (DP) for the segment. Disable all other root paths. Any active port that is not a root port or a designated port is a blocked port (BP).
31
32
Example:
B-Root: 19 B-C-D-Root: 42 B-C-D-E-B-Root: 176 C-B-Root: 38 C-D-Root: 23 C-D-E-B-Root: 157 D-Root: 4 D-C-B-Root: 57 D-E-B-Root: 138 E-B-Root: 119 E-D-Root: 23 E-D-C-B-Root: 76
33
34
5-4-3 rule
The 5-4-3 rule is a design guideline for Ethernet computer networks covering the number of repeaters and segments on shared-access Ethernet backbones in a tree topology. It means that in a collision domain there should be at most 5 segments tied together with 4 repeaters, with 3 segments containing active senders.
Any computer connected to the same Ethernet repeater or switch is a member of the same broadcast domain.
35
36