Data Communications
Subject Code:18CS46
Module-5
Chapter 13: Outline
13.1 ETHERNET PROTOCOL
13.2 STANDARD ETHERNET
13.3 FAST ETHERNET
13.4 GIGABIT ETHERNET
13.5 10 GIGABIT ETHERNET
13-1 ETHERNET PROTOCOL
IEEE Project 802
IEEE standard for LANs
IEEE Project 802
i) Logical Link Control(LLC)
ii) Media Access Control(MAC)
Ethernet Evolution
1)Standard Ethernet (10 Mbps)
2)Fast Ethernet (100 Mbps)
3)Gigabit Ethernet (1 Gbps)
4)10 Gigabit Ethernet (10 Gbps)
Ethernet evolution
13-2 STANDARD ETHERNET
Characteristics
Connectionless and unreliable service.
Characteristics
Ethernet frame
802.3 MAC frame
1. Preamble: contains 7 bytes(56 bits) of alternating 1s and 0s to alert the station that frame is arriving and enables it to synchronize its i/p timing.
🡪Pattern provides only an alert and a timing pulse.
🡪Preamble is actually added at the physical layer and is not part of the frame.
2.Start frame delimiter(SFD):1 byte10101011 signals the beginning of the frame.
802.3 MAC frame
3.Destination address: is 6 bytes and contains the physical address of the destination station/s to receive the packet.
4.Source address: is 6 bytes and contains the physical address of the destination station/s to receive the packet.
5.Type: This field defines the upper layer protocol whose packet is encapsulated in the frame. The protocols can be IP,ARP,OSPF etc.,
It is used for multiplexing and demultiplexing.
802.3 MAC frame
6.Data: This field carries data encapsulated from the upper layer protocols. It is minimum of 46 bytes and maximum of 1500 bytes.
If data coming from upper layers is more than 1500 bytes, it should be fragmented and encapsulated in more than one frame. If less than 46 bytes, it should be padded with 0’s.
A padded data frame is delivered to upper layer protocol as it is and it is the responsibility of the upper layer protocol to remove the zeros.
7.CRC: Contains error detection mechanism(CRC-32). The CRC is calculated over address, types and data field.
if receiver calculates CRC and finds that it is not zero, it discards the frame.
Frame Length
Frame Length
Frame Length
1) Memory was expensive when Ethernet was designed. Max. length restriction helped to reduce the size of the buffer.
2) Max. length restriction prevents one station from monopolizing the shared medium blocking other stations that have data to send.
Minimum Frame length:64 bytes (512 bits)
Minimum data length:46 bytes (368bits)
Maximum frame length: 1518 bytes (12,144 bits)
Maximum data length : 1500 bytes(12000 bits)
Addressing
Show how the address 47:20:1B:2E:08:EE is sent out online.
Solution
The address is sent left to right, byte by byte; for each byte, it is sent right to left, bit by bit, as shown below:
Example 13.1
Unicast and multicast addresses
Continued..
Define the type of the following destination addresses:
Example 13.2
Solution
To find the type of the address,
look at the second hexadecimal digit from the left. If it is even, the address is unicast.
If it is odd, the address is multicast.
If all digits are Fs, the address is broadcast. Therefore, we have the following:
Example 13.2 (continued)
a. This is a unicast address because A in binary is 1010 � (even).
b. This is a multicast address because 7 in binary is 0111 � (odd).
c. This is a broadcast address because all digits are Fs in
hexadecimal.
Distinguish between Unicast, multicast & Broadcast transmission
Distinguish between Unicast, multicast & Broadcast transmission
Implementation of standard Ethernet
Access Method
Scenario –I
🡪 If no signal energy on the medium, it means no station is sending data, station A interprets the medium as idle and starts sending the frame
Access Method(Continued..)
Efficiency of Standard Ethernet
the ratio of the time used by a station to send data to the time the medium is occupied by this station.
Where a is number of frames that can fit on the medium.
It can be calculated as
a=(Propagation delay/ Transmission delay)
PD🡪Time taken to reach end of medium
TD🡪Time taken to sent out an average size frame,
NOTE: If value of a decreases, efficiency increases.
Means if the length of the medium is shorter or frame length is longer, the efficiency increases.
In the Standard Ethernet with the transmission rate of 10 Mbps, we assume that the length of the medium is 2500 m and the size of the frame is 512 bits. The propagation speed of a signal in a cable is normally 2 × 108 m/s.
Example 13.3
The example shows that a = 0.24, which means only 0.24 of a frame occupies the whole medium in this case. The efficiency is 39 percent, which is considered moderate; it means that only 61 percent of the time the medium is occupied but not used by a station.
Implementation
Table : Summary of Standard Ethernet implementations
Encoding in a Standard Ethernet
Encoding in a Standard Ethernet�
10Base5 implementation
10Base5 implementation
10Base2 implementation
10Base2-Thin Ethernet
10Base-T implementation
10Base-T Ethernet
10Base-F implementation
10Base-F Ethernet
Changes in the Standard
Ethernet Evolution:
i) Raise the Bandwidth
ii) Separate Collision Domains.
Sharing bandwidth
Raising the Bandwidth
Bandwidth of each network is independent
A network with and without bridging
Separating collision domain
Collision domains
Switched Ethernet
Switched Ethernet
Full duplex Ethernet
Full – duplex switched Ethernet
13-3 FAST ETHERNET(100 Mbps)
Goals of Fast Ethernet
Access Method
Access Method
i)Drop bus topology & use a passive hub or a star topology but make the maximum size of Ethernet 250 meters instead of 2500 meters.
ii) Use Link layer switch with a buffer to store frames and full duplex connection to each host to make the transmission medium private for each host.
No need of CSMA/CD.
Since the connection to switch is full duplex, the destination address can even send a frame to another station at the same time.
13.3.2 Physical Layer
Encoding for fast Ethernet
Table Summary of Fast Ethernet implementations
13-4 GIGABIT ETHERNET
MAC Sublayer
Half-duplex and Full-duplex
Physical Layer
Encoding in Gigabit Ethernet
Table : Summary of Gigabit Ethernet implementations
13-5 10-GIGABIT EHTERNET
Implementation
Four implementations are the most common: 10GBase-SR, 10GBase-LR, 10GBase-EW, and 10GBase-X4.
Table Summary of 10-Gigabit Ethernet implementations
Chapter 15: Outline
15.1 INTRODUCTION
15.2 IEEE 802.11 PROJECT
15.3 BLUETOOTH
15-1 INTRODUCTION
growing technologies
of cables is increasing everywhere
in office buildings, and in many public areas
Architectural Comparison
1. Medium:
In wired LAN, communication takes through the cables(full duplex)
In wireless LAN, medium is air, signal is generally broadcast and the medium is shared
2. Hosts:
In wired LAN, host is always connected to its N/W at a point with a fixed Link layer address.
In wireless LAN, host is not physically connected to the N/W. It can move freely & can use the service provided by the N/W.
Isolated LANs: wired versus wireless
Architectural Comparison(continued)
3. Isolated LANs:
A wired isolated LAN is a set of hosts connected via link layer switch
A wireless isolated LAN, called an ad hoc network, is a set of hosts that communicate freely with each other.
Concept of LL switch does not exist.
4. Connection to other networks:
A wired LAN can be connected to another network or an inter/Intra network using a router.
A wireless LAN may be connected to a wired infrastructure net work, wire less infrastructure N/W or to another wireless LAN.
Figure shows the two environments
Connection of a wired LAN and a wireless LAN to other
networks
Architectural Comparison(continued)
The wireless LAN is referred to as an infrastructure network and the connection to the wired infrastructure, such an Internet, is done via a device called an Access Point.
An Access point connects two different environments together wired and wireless.
Communication between AP and wireless hosts occurs in a wire less environment ;
Communication between AP and infrastructure occurs in a wired environment .
5. Moving between Environments:
Wired or wireless LAN operates only in lower two layers of TCP/IP protocol suite. As data moves from wired to wireless network, need to change the NIC address designed for wired to wireless and replace the LL switch with an AP. LL address will change but N/W address remains same.
Characteristics
1. Attenuation: As signal disperses in all directions, the strength of electro magnetic signal decreases. Only small portion of it reaches the receiver
2. Interference: If same frequency band is used by the other senders, receiver may receive from intended sender and others also
3. Multipath Propagation: As electromagnetic waves can be reflected back from obstacles such as
Characteristics(Continued..)
4.Error:
With these characteristics, error & error detection are more serious in wireless networks
Error level is measurement of SNR
If SNR is high, signal is stronger than noise and the signal can be converted back to data
If SNR is low, means signal is corrupted by the noise and the data cannot be recovered
Access Control
To overcome all these three problems, CSMA/CA was invented for wireless LANs.
Hidden station problem
15-2 IEEE 802.11 PROJECT
Architecture
i) The basic service set (BSS)
ii) The extended service set (ESS)
Basic Service Set:
: Basic service sets (BSSs)
Extended Service Set
Extended service set (ESS)
Station types
MAC Sub layer
i) Distributed coordination function (DCF)
ii) Point coordination function (PCF)
Distributed coordination Function:
MAC layers in IEEE 802.11 standard
CSMA/CA and NAV
MAC Sub layer(Continued..)
ACK is needed in this protocol to check the successful arrival of its data at the destination.
Network Allocation Vector
Point Coordination function
Point Coordination function
Example of repetition interval
Point Coordination function
Fragmentation:
Frame format
Frame format (Continued..)
Table: Subfields in FC field
Frame format (Continued..)
5.Frame body: Contains the information based on type and sub type defined in FC field.
6.FCS: Is four byte long and contains CRC-32 error detection sequence.
Frame Types
Control frames
Table: Values of subfields in control frames
Addressing Mechanism
Table : Addresses
Addressing Mechanism(Continued..)
Case 1:00:To DS=0 & From DS=0, means frame is not going to distribution system & is not coming from the distribution system.
The frame is going from one station in BSS to another without passing through the distributed system.
Addressing mechanisms
Addressing Mechanism(Continued..)
Case 2:01:To DS=0 & From DS=1, means frame is not going to distribution system & is coming from the distribution system.
The frame is coming from an AP & going to a station. Address 3 contains the original sender of the frame.
Case 3:10:To DS=1 & From DS=0, means frame is going to distribution system.
The frame is going from a station to an AP & ACK is sent to the original station. Address 3 contains the Final destination of the frame
Case 4:11:To DS=1 & From DS=1, means distribution system is also wireless.
The frame is going from one AP to another AP in wireless distribution system. Four Addresses to define original sender, final destination & two intermediate APs.
Exposed station problem
Physical Layer
Table : Specifications
Physical layer of IEEE 802.11 FHSS
Physical layer of IEEE 802.11 DSSS
Physical layer of IEEE 802.11 infrared
Physical layer of IEEE 802.11b
BLUETOOTH
Applications
Architecture
i) Piconet
ii) Scatternet
PICONET:
Piconet
PICONET
ScatterNET
Scatternet
Bluetooth Devices
15.120
15.3.2 Bluetooth Layers
used for exchange of data on an ACL(Asynchronous connectionless) link.
Bluetooth layers
L2CAP data packet format
L2CAP Layer
Length field: Size of this field is 16 bits which defines the size of the data , in bytes from the upper layers.
Data can be up 65,535 bytes
Channel ID: defines unique identifier for the virtual channel created at this level
Segmentation & Reassembly
Baseband layer
i)Synchronous connection oriented link(SCO link)
ii)Asynchronous connectionless link(ACL)
Single-secondary communication
Multiple-secondary communication
Frame format types
Frame format types
A slot is 625 microsecond.
Each pattern has the following subfields
Frame format types
3. F: 1 bit field for flow control. If F=1, it indicates that the device is unable to receive more frames.
4. A:1 bit field for acknowledgment . Bluetooth uses stop-and wait protocol.
5. S:1 bit field for sequence number. Bluetooth uses stop-and wait protocol.
6. HEC:8 bit error correction subfields to detect error in 18 bit header section
Payload: This field can be 0 to 2740 bits long. It contains data and control information coming from upper layers.
Frame format types
RADIO Layer: Similar to physical layer of Internet model
16.133
16-2 Cellular Telephony
16.134
Figure 16.6: Cellular system
16.135
Operation
Let us first briefly discuss the operation of the cellular telephony
Figure 16.7: Frequency reuse patterns
Frequency-Reuse Principle
16.136
Frequency-Reuse Principle ( Contd)
16.137
Transmitting
16.138
Receiving
16.139
Handoff
16.140
Types of handoffs
16.141
Hard Handoff �
16.142
Soft Handoff
16.143
Roaming
16.144
16.145
First Generation (1G)
AMPS
Bands
AMPS operates in the ISM 800-MHz band
The system uses two separate analog channels, one for forward (base station to mobile station) communication and one for reverse (mobile station to base station) communication
The band between 824 and 849 MHz carries reverse communication; the band between 869 and 894 MHz carries forward communication
16.146
16.147
Figure 16.8: Cellular bands for AMPS
16.148
Figure 616.9: AMPS reverse communication band
16.149
Second Generation (2G)
D-AMPS
D-AMPS was designed to be backward-compatible with AMPS. This means that in a cell, one telephone can use AMPS and another D-AMPS
D-AMPS was first defined by IS-54 (Interim Standard 54) and later revised by IS-136
Band
D-AMPS uses the same bands and channels as AMPS Transmission
Each voice channel is digitized using a very complex PCM and compression technique. A voice channel is digitized to 7.95 kbps. Three 7.95-kbps digital voice channels are combined using TDMA. The result is 48.6 kbps of digital data
16.150
16.151
Figure 16.10: D-AMPS
16.152
Figure 616.11: GSM bands
GSM
Bands
Transmission
16.153
16.154
Figure 16.12: GSM
16.155
Figure 16.13: Multiframe components
16.156
Figure 16.14: IS-95 forward transmission
16.157
Figure 16.15: S-95 reverse transmission
16.158
Third Generation (3G)
16.159
Figure 16.16: IMT-2000 radio interfaces
16.160
16.2.5 Fourth Generation (4G)
The fourth generation of cellular telephony is expected to be a complete evolution in wireless communications
a. A spectrally efficient system.
b. High network capacity.
c. Data rate of 100 Mbit/s for access in a moving car and 1 Gbit/s for stationary users.
d. Data rate of at least 100 Mbit/s between any two points in the world.
e. Smooth handoff across heterogeneous networks.
f. Seamless connectivity and global roaming across multiple networks. g. High quality of service for next generation multimedia support
h. Interoperability with existing wireless standards.
i. All IP, packet-switched, networks
The fourth generation is only packet-based (unlike 3G) and supports IPv6. This provides better multicast, security, and route optimization capabilities.
16.161
To increase efficiency, capacity, and scalability, new access techniques are being considered for 4G. For example, orthogonal FDMA (OFDMA) and interleaved FDMA (IFDMA) are being considered respectively for the downlink and uplink of the next generation Universal Mobile Telecommunications System (UMTS). Similarly, multicarrier code division multiple access (MC-CDMA) is proposed for the IEEE 802.20 standard. Modulation More efficient quadrature amplitude modulation (64-QAM) is being proposed for use with the Long Term Evolution (LTE) standards.
Radio System The fourth generation uses a Software Defined Radio (SDR) system. Unlike a common radio, which uses hardware, the components of an SDR are pieces of software and thus flexible. The SDR can change its program to shift its frequencies to mitigate frequency interference
Antenna The multiple-input multiple-output (MIMO) and multiuser MIMO (MU-MIMO) antenna system, a branch of intelligent antenna, is proposed for 4G. Using this antenna system together with special multiplexing, 4G allows independent streams to be transmitted simultaneously from all the antennas to increase the data rate into multiple folds. MIMO also allows the transmitter and receiver coordinates to move to an open frequency when interference occurs.
16.162
Thank You