SlideShare a Scribd company logo
Chapter 5
Link Layer
Computer Networking: A
Top Down Approach
4th edition.
Jim Kurose, Keith Ross
Addison-Wesley, July
2007.
Ethernet Frame Structure
LAN technology
 First widely used LAN technology
 Invented in 1970s, evolved over the years
 Kept up with speed race: 10 Mbps – 10 Gbps
Sending adapter encapsulates IP datagram in
Ethernet frame
Ethernet: Unreliable, connectionless
 Connectionless: No handshaking between sending and

receiving NICs
 Unreliable: receiving NIC doesn’t send acks to
sending NIC




stream of datagrams passed to network layer can have gaps
(missing datagrams)
gaps will be filled if app is using TCP
otherwise, app will see gaps

 Ethernet’s MAC protocol: CSMA/CD
Ethernet CSMA/CD algorithm
CSMA/CD does the following;
1. An adapter may begin to transmit at any time; that
is no notion of time slots.
2. An adapter uses carrier sensing.
3. An adapter aborts its transmission as soon as it
detects collision.
4. Before attempting a retransmission, an adapter
waits a random time
If the propagation delay is very small excellent performance.
 2nd and 3rd mechanisms are implemented by measuring voltage
levels before and during transmission.
 Each adapter runs CSMA/CD without explicit coordination with
other adapters.

Ethernet CSMA/CD algorithm
1. NIC receives datagram from network layer, creates
frame
2. If NIC senses channel idle (96 bit times), starts
frame transmission. If NIC senses channel busy (plus
96 bit times), waits until channel idle, then transmits
3. If NIC transmits entire frame without detecting
another transmission, NIC is done with frame !
4. If NIC detects another transmission while
transmitting, aborts and sends jam signal
 Send jamming signal (48 bit) after collision is
detected to insure all hosts see collision.
 Interestingly, the actual format of jam signal is
unspecified in the Ethernet specifications.
Most manufacturers have used alternating 1s and 0s as
jam signal.
Ethernet CSMA/CD algorithm
5. After aborting, NIC enters exponential backoff
phase: after mth collision, NIC chooses K at
random from {0,1,2,…,2m-1}. NIC waits K·512 bit
times, returns to Step 2.
 Ethernet frames are at least 64 bytes (512 bits)
 At 10Mbps it takes 0.1us to transmit one bit so 512 bits

(64B) take 51.2us to send

 The size of set from which K is selected grows

exponentially with the number of collisions
 1st time: choose K from {0,1} then delay = K *
51.2us
 2nd time: choose K from {0,1,2,3} then delay = K
* 51.2us
 nth time: delay = K x 51.2us, for K=0..2n – 1
• Note max value for k = 1023



Give up after several tries (15)
• Report transmit error to host
State Diagram for CSMA/CD

Packet?
No
Sense
Carrier

Send

Detect
Collision
Yes

Discard
Packet
attempts < 16

attempts == 16

Jam channel
b=CalcBackoff();
wait(b);
attempts++;
Ethernet’s CSMA/CD (more)
Why uses Exponential Backoff?
 If delay were not random, then there is a chance

that sources would retransmit in lock step
 Why not just choose from small set for K?
 This works fine for a small number of hosts
 Large number of nodes would result in more
collisions
 Does not take into account the collisions that
occurred in the past
Ethernet’s CSMA/CD (more)

Is CSMA/CD fair?
Introduction to Wireless Networks
Ideal Network
HOT SPOTS
WORK
HOME

Public Networks/
Internet

OUTDOORS

Manageable

Faster
RURAL
PUBLIC
VEHICLE
TRANSPORT

More
Secure

Seamless connectivity to all
networks, applications, &
services
Anytime Anywhere

Ease
11
At Home
Wired or Wireless: The Future
• Portability

• Mobility
• Ability to be reached regardless of location (Roaming)
• Session continuity while traversing between BS and across
diverse networks (Handover)

• Coverage
• Extend to rural subscribers

• Areas where wired networks not available
12
Components of Wireless Network
• Wireless hosts
• Laptops, palmtops, PDA, desktop computer, phone
• WiMAX calls wireless hosts as ‘Customer Premises Equipment
(CPE)’

• Access Points
• The base station (BS)
• Responsible for sending and receiving data
• A wireless host is associated with a BS
13
Components of Wireless Network
• Wireless link
• Communication link between wireless host and access
point/BS and/or among wireless hosts
• The link characteristics depend upon the wireless
technology

• Network Infrastructure
• A larger network with which a wireless host wishes to
communicate
• Service providers e.g. Wi-Tribe, Wateen, Mobilink etc.
14
Classification of Wireless Networks
• Single Hop / Multiple Hop
•

Number of hops a packet undergoes in the wireless network

• Infrastructure Based / Infrastructure Less
•
•

BS present or absent
Adhoc Networks– no BS

• Examples
•
•

Single Hop Infrastructure based: Wi-Fi in classroom/library/cafe , cellular networks
and Wimax
Single Hop Infrastructure less: Bluetooth

• Fixed / Mobile
•

Nomadicity

•
•

Ability to be reached regardless of location - Roaming
Session continuity while traversing between BS - Handover
15
Wireless Network Taxonomy
Wireless
Networking

Infrastructure

No
Infrastructure

Single Hop

Multiple Hops

Single Hop

Multiple Hops

WiFi, WiMax

Wireless
Mesh
Networks

Bluetooth

MANET,
VANET
Standards of Wireless Technology
WAN

IEEE 802.16d
(Fixed WiMAX)

MAN
LAN

Bluetooth

IEEE 802.16e
(Mobile WiMAX)

PAN
17

IEEE 802.11
(Wi-Fi )
Wi-Fi: The Predecessor of WiMAX
• Wi-Fi (Wireless Fidelity) is a set of technologies that are
based on the IEEE 802.11a, b, and g standards
• Wi-Fi is considered to be one of the first widely
deployed fixed broadband wireless networks
• The Wi-Fi architecture consists of a base station that
wireless hosts connect to in order to access network
resources
• As long as the users remain within 300 feet of the fixed
wireless access point, they can maintain broadband
wireless connectivity
Wi-Fi Standards
Standard

Throughput

Range
(outdoor)

Frequency

802.11a

Up to 54 Mbps

Up to 300 ft

5 Ghz

802.11b

Up to 11 Mbps

Up to 300 ft

2.4 Ghz

802.11g

Up to 54 Mbps

Up to 300 ft

2.4 Ghz

802.11n

100+ Mbps

Up to 500 ft

2.4/5 Ghz
Wi-Fi Issues
• Effective range
• Limited level of mobility

• Interference from other sources
• Operate in unlicensed spectrum

• Signal strength decreases with distance

• Multipath propagation
• Wave reflects of ground and objects
20
What is WiMAX?
• WiMax (Worldwide Interoperability for Microwave
Access) is a standards-based technology enabling the
delivery of last mile wireless broadband access as an
alternative to cable and DSL
• The technology is specified by the Institute of
Electrical and Electronics Engineers Inc., as the IEEE
802.16 standard
• WiMAX eliminates the constraints of Wi-Fi
WiMAX Strengths
• Effective range
•
•

2-5 miles
Broad operating range – unlicensed (2.5 GHz, 5 GHz), licensed (3.5 GHz)

• Interference from other sources
•

Operate in licensed spectrum

• Signal strength decreases with distance
• Multipath propagation
•

Wave reflects of ground and objects

Efficient signal processing
schemes, e.g. OFDM, OFDMA

22
WiMAX Vs Wi-Fi
Parameter

Fixed WiMAX

Mobile WiMAX

Wi-Fi

Standards

IEEE 802.16d2004.

IEEE802.16e-2005.

IEEE 802.11a/b/g

Coverage (Nonline-of-site)

3-5 miles

< 2 miles

<100 ft.

Mobility

Not applicable

Supported

Supported

DL: 6.1 – 9.4 Mbps

DL: 32-46 Mbps

UL: 3.3 – 6.5 Mbps

UL: 4-7 Mbps

Data rate

10 – 66 GHz (Line-of -site)
Frequency Range
2-11 GHz (Non-line-of-site)

IEEE 802.11b: 11
Mbps
IEEE 802.11 a & g:
54 Mbps
IEEE 802.11.b:
2.4GHz
IEEE 802.11.a:
5GHz
IEEE 802.11g:
2.4Ghz

23
WiMAX Frequency Allocation
Picture Courtesy: Motorola Training Manual CP16

International Frequency Allocation

24
WiMAX Organisations
 IEEE 802.16 Working Group (WG)
 WiMAX Forum

25
Responsibilities of IEEE 802.16 WG and
WiMAX Forum

Picture Courtesy: Motorola Training Manual
CP16

26
Inter Operability Testing (IOT)
 Interoperability testing allows
vendors to bilaterally verify the
standards compliant interfaces
between their network elements in
a controlled environment using
suitable test cases prior to software
release in common operator
networks.

 WiMAX network components are
put to IOT tests to check their
compliancy with WiMAX standards
 We have performed successful
IOT’s for CPE devices manufactured
by various vendors such as
Motorola, Alcatel-Lucent, Huawei,
Gemtech, ZTE, Green Packet etc.
27
NUST SAMPLE CPE CERTIFICATE
28

More Related Content

What's hot

Wireless LANs(IEEE802.11) Architecture
Wireless LANs(IEEE802.11) Architecture Wireless LANs(IEEE802.11) Architecture
Wireless LANs(IEEE802.11) Architecture
Raj vardhan
 
5 IEEE standards
5  IEEE standards5  IEEE standards
5 IEEE standards
Rodgers Moonde
 
Wireless Local Area Networks
Wireless Local Area NetworksWireless Local Area Networks
Wireless Local Area Networks
Don Norwood
 
Wireless LAN Technoloy
Wireless LAN TechnoloyWireless LAN Technoloy
Wireless LAN Technoloy
David Livingston J
 
Networking Concepts Lesson 11 - Enterprise & Distributed Networks - Eric Vand...
Networking Concepts Lesson 11 - Enterprise & Distributed Networks - Eric Vand...Networking Concepts Lesson 11 - Enterprise & Distributed Networks - Eric Vand...
Networking Concepts Lesson 11 - Enterprise & Distributed Networks - Eric Vand...
Eric Vanderburg
 
Chapter 3 1-network_design_with_internet_tools - Network Design
Chapter 3 1-network_design_with_internet_tools - Network DesignChapter 3 1-network_design_with_internet_tools - Network Design
Chapter 3 1-network_design_with_internet_tools - Network Design
nakomuri
 
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
Abdelkhalik Mosa
 
IEEE 802.11
IEEE 802.11IEEE 802.11
IEEE 802.11
Abhishek Pachisia
 
Chapter 3 2-remote_network_design - Network Design
Chapter 3 2-remote_network_design - Network DesignChapter 3 2-remote_network_design - Network Design
Chapter 3 2-remote_network_design - Network Design
nakomuri
 
Final presentation
Final presentationFinal presentation
Final presentation
sarangpatil8584
 
zigbee full ppt
zigbee full pptzigbee full ppt
zigbee full ppt
ranjitha mudhiraj
 
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationLAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
Abdelkhalik Mosa
 
Computer Network - Unit 2
Computer Network - Unit 2Computer Network - Unit 2
Computer Network - Unit 2
Chandan Gupta Bhagat
 
Mod8
Mod8Mod8
Lect3
Lect3Lect3
Wireless LAN Deployment Best Practices
Wireless LAN Deployment Best PracticesWireless LAN Deployment Best Practices
Wireless LAN Deployment Best Practices
Michael Boman
 
IEEE Standards
IEEE StandardsIEEE Standards
IEEE Standards
nareshkingster
 
Ethernet protocol
Ethernet protocolEthernet protocol
Ethernet protocol
Tom Chou
 
Networking Concepts Lesson 07 - Architectures - Eric Vanderburg
Networking Concepts Lesson 07 - Architectures - Eric VanderburgNetworking Concepts Lesson 07 - Architectures - Eric Vanderburg
Networking Concepts Lesson 07 - Architectures - Eric Vanderburg
Eric Vanderburg
 
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram SnehiVLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
MR. VIKRAM SNEHI
 

What's hot (20)

Wireless LANs(IEEE802.11) Architecture
Wireless LANs(IEEE802.11) Architecture Wireless LANs(IEEE802.11) Architecture
Wireless LANs(IEEE802.11) Architecture
 
5 IEEE standards
5  IEEE standards5  IEEE standards
5 IEEE standards
 
Wireless Local Area Networks
Wireless Local Area NetworksWireless Local Area Networks
Wireless Local Area Networks
 
Wireless LAN Technoloy
Wireless LAN TechnoloyWireless LAN Technoloy
Wireless LAN Technoloy
 
Networking Concepts Lesson 11 - Enterprise & Distributed Networks - Eric Vand...
Networking Concepts Lesson 11 - Enterprise & Distributed Networks - Eric Vand...Networking Concepts Lesson 11 - Enterprise & Distributed Networks - Eric Vand...
Networking Concepts Lesson 11 - Enterprise & Distributed Networks - Eric Vand...
 
Chapter 3 1-network_design_with_internet_tools - Network Design
Chapter 3 1-network_design_with_internet_tools - Network DesignChapter 3 1-network_design_with_internet_tools - Network Design
Chapter 3 1-network_design_with_internet_tools - Network Design
 
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
LAN Switching and Wireless: Ch3 - Virtual Local Area Networks (VLANs)
 
IEEE 802.11
IEEE 802.11IEEE 802.11
IEEE 802.11
 
Chapter 3 2-remote_network_design - Network Design
Chapter 3 2-remote_network_design - Network DesignChapter 3 2-remote_network_design - Network Design
Chapter 3 2-remote_network_design - Network Design
 
Final presentation
Final presentationFinal presentation
Final presentation
 
zigbee full ppt
zigbee full pptzigbee full ppt
zigbee full ppt
 
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and ConfigurationLAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
LAN Switching and Wireless: Ch2 - Basic Switch Concepts and Configuration
 
Computer Network - Unit 2
Computer Network - Unit 2Computer Network - Unit 2
Computer Network - Unit 2
 
Mod8
Mod8Mod8
Mod8
 
Lect3
Lect3Lect3
Lect3
 
Wireless LAN Deployment Best Practices
Wireless LAN Deployment Best PracticesWireless LAN Deployment Best Practices
Wireless LAN Deployment Best Practices
 
IEEE Standards
IEEE StandardsIEEE Standards
IEEE Standards
 
Ethernet protocol
Ethernet protocolEthernet protocol
Ethernet protocol
 
Networking Concepts Lesson 07 - Architectures - Eric Vanderburg
Networking Concepts Lesson 07 - Architectures - Eric VanderburgNetworking Concepts Lesson 07 - Architectures - Eric Vanderburg
Networking Concepts Lesson 07 - Architectures - Eric Vanderburg
 
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram SnehiVLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
 

Similar to Week16 lec2

WirelessB06.ppt
WirelessB06.pptWirelessB06.ppt
WirelessB06.ppt
BushraBush2
 
CN 5151(15) Module I part 1.3 21072020.pdf
CN 5151(15) Module I part 1.3 21072020.pdfCN 5151(15) Module I part 1.3 21072020.pdf
CN 5151(15) Module I part 1.3 21072020.pdf
ADARSHN40
 
WiFi Networks.pdf
WiFi Networks.pdfWiFi Networks.pdf
WiFi Networks.pdf
waqas232871
 
Wireless Local Area Networks.ppt for Computer Networks
Wireless Local Area Networks.ppt for Computer NetworksWireless Local Area Networks.ppt for Computer Networks
Wireless Local Area Networks.ppt for Computer Networks
MohdAbdulAleem4
 
Basic switch and switch configuration.pptx
Basic switch and switch configuration.pptxBasic switch and switch configuration.pptx
Basic switch and switch configuration.pptx
itwkd
 
presentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.pptpresentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.ppt
DrPreethiD1
 
presentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.pptpresentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.ppt
DrPreethiD1
 
presentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.pptpresentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.ppt
DrPreethiD1
 
Cyber security training at ist apr-18
Cyber security training at ist apr-18Cyber security training at ist apr-18
Cyber security training at ist apr-18
Sagar Walvekar
 
Lan basic
Lan basicLan basic
Lan basic
Online
 
educational content educational content educational content
educational content educational content  educational contenteducational content educational content  educational content
educational content educational content educational content
Olajide Kuku
 
Educational-Content-Educational-Content-Educational-Content
Educational-Content-Educational-Content-Educational-ContentEducational-Content-Educational-Content-Educational-Content
Educational-Content-Educational-Content-Educational-Content
Olajide Kuku
 
awsn module 1.ppt
awsn module 1.pptawsn module 1.ppt
awsn module 1.ppt
nandhakumar421744
 
Network Fundamentals: Ch9 - Ethernet
Network Fundamentals: Ch9 - EthernetNetwork Fundamentals: Ch9 - Ethernet
Network Fundamentals: Ch9 - Ethernet
Abdelkhalik Mosa
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
Aswini Badatya
 
Computer networks basic network_hardware_1
Computer networks basic network_hardware_1Computer networks basic network_hardware_1
Computer networks basic network_hardware_1
Aneesh Nelavelly
 
Introduction to Networking
Introduction to NetworkingIntroduction to Networking
Introduction to Networking
Mohammed Adam
 
IT8602 Mobile Communication - Unit III
IT8602 Mobile Communication  - Unit IIIIT8602 Mobile Communication  - Unit III
IT8602 Mobile Communication - Unit III
pkaviya
 
WIRELESS INTERNET BY SAIKIRAN PANJALA
WIRELESS INTERNET BY SAIKIRAN PANJALAWIRELESS INTERNET BY SAIKIRAN PANJALA
WIRELESS INTERNET BY SAIKIRAN PANJALA
Saikiran Panjala
 
wireless networks
wireless networkswireless networks
wireless networks
Saqib Shehzad
 

Similar to Week16 lec2 (20)

WirelessB06.ppt
WirelessB06.pptWirelessB06.ppt
WirelessB06.ppt
 
CN 5151(15) Module I part 1.3 21072020.pdf
CN 5151(15) Module I part 1.3 21072020.pdfCN 5151(15) Module I part 1.3 21072020.pdf
CN 5151(15) Module I part 1.3 21072020.pdf
 
WiFi Networks.pdf
WiFi Networks.pdfWiFi Networks.pdf
WiFi Networks.pdf
 
Wireless Local Area Networks.ppt for Computer Networks
Wireless Local Area Networks.ppt for Computer NetworksWireless Local Area Networks.ppt for Computer Networks
Wireless Local Area Networks.ppt for Computer Networks
 
Basic switch and switch configuration.pptx
Basic switch and switch configuration.pptxBasic switch and switch configuration.pptx
Basic switch and switch configuration.pptx
 
presentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.pptpresentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.ppt
 
presentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.pptpresentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.ppt
 
presentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.pptpresentation_intro_to_networking_1457926557_181219.ppt
presentation_intro_to_networking_1457926557_181219.ppt
 
Cyber security training at ist apr-18
Cyber security training at ist apr-18Cyber security training at ist apr-18
Cyber security training at ist apr-18
 
Lan basic
Lan basicLan basic
Lan basic
 
educational content educational content educational content
educational content educational content  educational contenteducational content educational content  educational content
educational content educational content educational content
 
Educational-Content-Educational-Content-Educational-Content
Educational-Content-Educational-Content-Educational-ContentEducational-Content-Educational-Content-Educational-Content
Educational-Content-Educational-Content-Educational-Content
 
awsn module 1.ppt
awsn module 1.pptawsn module 1.ppt
awsn module 1.ppt
 
Network Fundamentals: Ch9 - Ethernet
Network Fundamentals: Ch9 - EthernetNetwork Fundamentals: Ch9 - Ethernet
Network Fundamentals: Ch9 - Ethernet
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
 
Computer networks basic network_hardware_1
Computer networks basic network_hardware_1Computer networks basic network_hardware_1
Computer networks basic network_hardware_1
 
Introduction to Networking
Introduction to NetworkingIntroduction to Networking
Introduction to Networking
 
IT8602 Mobile Communication - Unit III
IT8602 Mobile Communication  - Unit IIIIT8602 Mobile Communication  - Unit III
IT8602 Mobile Communication - Unit III
 
WIRELESS INTERNET BY SAIKIRAN PANJALA
WIRELESS INTERNET BY SAIKIRAN PANJALAWIRELESS INTERNET BY SAIKIRAN PANJALA
WIRELESS INTERNET BY SAIKIRAN PANJALA
 
wireless networks
wireless networkswireless networks
wireless networks
 

More from syedhaiderraza

Week16 lec1
Week16 lec1Week16 lec1
Week16 lec1
syedhaiderraza
 
Week15 lec1
Week15 lec1Week15 lec1
Week15 lec1
syedhaiderraza
 
Week14 lec2
Week14 lec2Week14 lec2
Week14 lec2
syedhaiderraza
 
Week14 lec1
Week14 lec1Week14 lec1
Week14 lec1
syedhaiderraza
 
Week13 lec2
Week13 lec2Week13 lec2
Week13 lec2
syedhaiderraza
 
Week13 lec1
Week13 lec1Week13 lec1
Week13 lec1
syedhaiderraza
 
Week11 lec2
Week11 lec2Week11 lec2
Week11 lec2
syedhaiderraza
 
Week11 lec1
Week11 lec1Week11 lec1
Week11 lec1
syedhaiderraza
 
Week10 lec1
Week10 lec1Week10 lec1
Week10 lec1
syedhaiderraza
 
Week9 lec1
Week9 lec1Week9 lec1
Week9 lec1
syedhaiderraza
 
Week8 lec2-bscs1
Week8 lec2-bscs1Week8 lec2-bscs1
Week8 lec2-bscs1
syedhaiderraza
 
Week8 lec1-bscs1
Week8 lec1-bscs1Week8 lec1-bscs1
Week8 lec1-bscs1
syedhaiderraza
 
Week5 lec3-bscs1
Week5 lec3-bscs1Week5 lec3-bscs1
Week5 lec3-bscs1
syedhaiderraza
 
Week5 lec2-bscs1
Week5 lec2-bscs1Week5 lec2-bscs1
Week5 lec2-bscs1
syedhaiderraza
 
Week5 lec1-bscs1
Week5 lec1-bscs1Week5 lec1-bscs1
Week5 lec1-bscs1
syedhaiderraza
 
Week4 lec2-bscs1
Week4 lec2-bscs1Week4 lec2-bscs1
Week4 lec2-bscs1
syedhaiderraza
 
Week4 lec1-bscs1
Week4 lec1-bscs1Week4 lec1-bscs1
Week4 lec1-bscs1
syedhaiderraza
 
Week3 lec3-bscs1
Week3 lec3-bscs1Week3 lec3-bscs1
Week3 lec3-bscs1
syedhaiderraza
 
Week3 lec 2
Week3 lec 2Week3 lec 2
Week3 lec 2
syedhaiderraza
 
Week3 lec 1
Week3 lec 1Week3 lec 1
Week3 lec 1
syedhaiderraza
 

More from syedhaiderraza (20)

Week16 lec1
Week16 lec1Week16 lec1
Week16 lec1
 
Week15 lec1
Week15 lec1Week15 lec1
Week15 lec1
 
Week14 lec2
Week14 lec2Week14 lec2
Week14 lec2
 
Week14 lec1
Week14 lec1Week14 lec1
Week14 lec1
 
Week13 lec2
Week13 lec2Week13 lec2
Week13 lec2
 
Week13 lec1
Week13 lec1Week13 lec1
Week13 lec1
 
Week11 lec2
Week11 lec2Week11 lec2
Week11 lec2
 
Week11 lec1
Week11 lec1Week11 lec1
Week11 lec1
 
Week10 lec1
Week10 lec1Week10 lec1
Week10 lec1
 
Week9 lec1
Week9 lec1Week9 lec1
Week9 lec1
 
Week8 lec2-bscs1
Week8 lec2-bscs1Week8 lec2-bscs1
Week8 lec2-bscs1
 
Week8 lec1-bscs1
Week8 lec1-bscs1Week8 lec1-bscs1
Week8 lec1-bscs1
 
Week5 lec3-bscs1
Week5 lec3-bscs1Week5 lec3-bscs1
Week5 lec3-bscs1
 
Week5 lec2-bscs1
Week5 lec2-bscs1Week5 lec2-bscs1
Week5 lec2-bscs1
 
Week5 lec1-bscs1
Week5 lec1-bscs1Week5 lec1-bscs1
Week5 lec1-bscs1
 
Week4 lec2-bscs1
Week4 lec2-bscs1Week4 lec2-bscs1
Week4 lec2-bscs1
 
Week4 lec1-bscs1
Week4 lec1-bscs1Week4 lec1-bscs1
Week4 lec1-bscs1
 
Week3 lec3-bscs1
Week3 lec3-bscs1Week3 lec3-bscs1
Week3 lec3-bscs1
 
Week3 lec 2
Week3 lec 2Week3 lec 2
Week3 lec 2
 
Week3 lec 1
Week3 lec 1Week3 lec 1
Week3 lec 1
 

Recently uploaded

คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Diana Rendina
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 

Recently uploaded (20)

คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 

Week16 lec2

  • 1. Chapter 5 Link Layer Computer Networking: A Top Down Approach 4th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.
  • 2. Ethernet Frame Structure LAN technology  First widely used LAN technology  Invented in 1970s, evolved over the years  Kept up with speed race: 10 Mbps – 10 Gbps Sending adapter encapsulates IP datagram in Ethernet frame
  • 3. Ethernet: Unreliable, connectionless  Connectionless: No handshaking between sending and receiving NICs  Unreliable: receiving NIC doesn’t send acks to sending NIC    stream of datagrams passed to network layer can have gaps (missing datagrams) gaps will be filled if app is using TCP otherwise, app will see gaps  Ethernet’s MAC protocol: CSMA/CD
  • 4. Ethernet CSMA/CD algorithm CSMA/CD does the following; 1. An adapter may begin to transmit at any time; that is no notion of time slots. 2. An adapter uses carrier sensing. 3. An adapter aborts its transmission as soon as it detects collision. 4. Before attempting a retransmission, an adapter waits a random time If the propagation delay is very small excellent performance.  2nd and 3rd mechanisms are implemented by measuring voltage levels before and during transmission.  Each adapter runs CSMA/CD without explicit coordination with other adapters. 
  • 5. Ethernet CSMA/CD algorithm 1. NIC receives datagram from network layer, creates frame 2. If NIC senses channel idle (96 bit times), starts frame transmission. If NIC senses channel busy (plus 96 bit times), waits until channel idle, then transmits 3. If NIC transmits entire frame without detecting another transmission, NIC is done with frame ! 4. If NIC detects another transmission while transmitting, aborts and sends jam signal  Send jamming signal (48 bit) after collision is detected to insure all hosts see collision.  Interestingly, the actual format of jam signal is unspecified in the Ethernet specifications. Most manufacturers have used alternating 1s and 0s as jam signal.
  • 6. Ethernet CSMA/CD algorithm 5. After aborting, NIC enters exponential backoff phase: after mth collision, NIC chooses K at random from {0,1,2,…,2m-1}. NIC waits K·512 bit times, returns to Step 2.  Ethernet frames are at least 64 bytes (512 bits)  At 10Mbps it takes 0.1us to transmit one bit so 512 bits (64B) take 51.2us to send  The size of set from which K is selected grows exponentially with the number of collisions  1st time: choose K from {0,1} then delay = K * 51.2us  2nd time: choose K from {0,1,2,3} then delay = K * 51.2us  nth time: delay = K x 51.2us, for K=0..2n – 1 • Note max value for k = 1023  Give up after several tries (15) • Report transmit error to host
  • 7. State Diagram for CSMA/CD Packet? No Sense Carrier Send Detect Collision Yes Discard Packet attempts < 16 attempts == 16 Jam channel b=CalcBackoff(); wait(b); attempts++;
  • 8. Ethernet’s CSMA/CD (more) Why uses Exponential Backoff?  If delay were not random, then there is a chance that sources would retransmit in lock step  Why not just choose from small set for K?  This works fine for a small number of hosts  Large number of nodes would result in more collisions  Does not take into account the collisions that occurred in the past
  • 11. Ideal Network HOT SPOTS WORK HOME Public Networks/ Internet OUTDOORS Manageable Faster RURAL PUBLIC VEHICLE TRANSPORT More Secure Seamless connectivity to all networks, applications, & services Anytime Anywhere Ease 11 At Home
  • 12. Wired or Wireless: The Future • Portability • Mobility • Ability to be reached regardless of location (Roaming) • Session continuity while traversing between BS and across diverse networks (Handover) • Coverage • Extend to rural subscribers • Areas where wired networks not available 12
  • 13. Components of Wireless Network • Wireless hosts • Laptops, palmtops, PDA, desktop computer, phone • WiMAX calls wireless hosts as ‘Customer Premises Equipment (CPE)’ • Access Points • The base station (BS) • Responsible for sending and receiving data • A wireless host is associated with a BS 13
  • 14. Components of Wireless Network • Wireless link • Communication link between wireless host and access point/BS and/or among wireless hosts • The link characteristics depend upon the wireless technology • Network Infrastructure • A larger network with which a wireless host wishes to communicate • Service providers e.g. Wi-Tribe, Wateen, Mobilink etc. 14
  • 15. Classification of Wireless Networks • Single Hop / Multiple Hop • Number of hops a packet undergoes in the wireless network • Infrastructure Based / Infrastructure Less • • BS present or absent Adhoc Networks– no BS • Examples • • Single Hop Infrastructure based: Wi-Fi in classroom/library/cafe , cellular networks and Wimax Single Hop Infrastructure less: Bluetooth • Fixed / Mobile • Nomadicity • • Ability to be reached regardless of location - Roaming Session continuity while traversing between BS - Handover 15
  • 16. Wireless Network Taxonomy Wireless Networking Infrastructure No Infrastructure Single Hop Multiple Hops Single Hop Multiple Hops WiFi, WiMax Wireless Mesh Networks Bluetooth MANET, VANET
  • 17. Standards of Wireless Technology WAN IEEE 802.16d (Fixed WiMAX) MAN LAN Bluetooth IEEE 802.16e (Mobile WiMAX) PAN 17 IEEE 802.11 (Wi-Fi )
  • 18. Wi-Fi: The Predecessor of WiMAX • Wi-Fi (Wireless Fidelity) is a set of technologies that are based on the IEEE 802.11a, b, and g standards • Wi-Fi is considered to be one of the first widely deployed fixed broadband wireless networks • The Wi-Fi architecture consists of a base station that wireless hosts connect to in order to access network resources • As long as the users remain within 300 feet of the fixed wireless access point, they can maintain broadband wireless connectivity
  • 19. Wi-Fi Standards Standard Throughput Range (outdoor) Frequency 802.11a Up to 54 Mbps Up to 300 ft 5 Ghz 802.11b Up to 11 Mbps Up to 300 ft 2.4 Ghz 802.11g Up to 54 Mbps Up to 300 ft 2.4 Ghz 802.11n 100+ Mbps Up to 500 ft 2.4/5 Ghz
  • 20. Wi-Fi Issues • Effective range • Limited level of mobility • Interference from other sources • Operate in unlicensed spectrum • Signal strength decreases with distance • Multipath propagation • Wave reflects of ground and objects 20
  • 21. What is WiMAX? • WiMax (Worldwide Interoperability for Microwave Access) is a standards-based technology enabling the delivery of last mile wireless broadband access as an alternative to cable and DSL • The technology is specified by the Institute of Electrical and Electronics Engineers Inc., as the IEEE 802.16 standard • WiMAX eliminates the constraints of Wi-Fi
  • 22. WiMAX Strengths • Effective range • • 2-5 miles Broad operating range – unlicensed (2.5 GHz, 5 GHz), licensed (3.5 GHz) • Interference from other sources • Operate in licensed spectrum • Signal strength decreases with distance • Multipath propagation • Wave reflects of ground and objects Efficient signal processing schemes, e.g. OFDM, OFDMA 22
  • 23. WiMAX Vs Wi-Fi Parameter Fixed WiMAX Mobile WiMAX Wi-Fi Standards IEEE 802.16d2004. IEEE802.16e-2005. IEEE 802.11a/b/g Coverage (Nonline-of-site) 3-5 miles < 2 miles <100 ft. Mobility Not applicable Supported Supported DL: 6.1 – 9.4 Mbps DL: 32-46 Mbps UL: 3.3 – 6.5 Mbps UL: 4-7 Mbps Data rate 10 – 66 GHz (Line-of -site) Frequency Range 2-11 GHz (Non-line-of-site) IEEE 802.11b: 11 Mbps IEEE 802.11 a & g: 54 Mbps IEEE 802.11.b: 2.4GHz IEEE 802.11.a: 5GHz IEEE 802.11g: 2.4Ghz 23
  • 24. WiMAX Frequency Allocation Picture Courtesy: Motorola Training Manual CP16 International Frequency Allocation 24
  • 25. WiMAX Organisations  IEEE 802.16 Working Group (WG)  WiMAX Forum 25
  • 26. Responsibilities of IEEE 802.16 WG and WiMAX Forum Picture Courtesy: Motorola Training Manual CP16 26
  • 27. Inter Operability Testing (IOT)  Interoperability testing allows vendors to bilaterally verify the standards compliant interfaces between their network elements in a controlled environment using suitable test cases prior to software release in common operator networks.  WiMAX network components are put to IOT tests to check their compliancy with WiMAX standards  We have performed successful IOT’s for CPE devices manufactured by various vendors such as Motorola, Alcatel-Lucent, Huawei, Gemtech, ZTE, Green Packet etc. 27
  • 28. NUST SAMPLE CPE CERTIFICATE 28

Editor's Notes

  1. Wireless hosts may be or may not be mobileBS is Responsible for sending and receiving data to and from a wireless host associated with it
  2. A host connects to a BS or to another wireless host via wireless communication link. Different wireless link technologies have different transmit characteristics (data rates, bandwidth, distances/coverage, losses)
  3. Single hop infrastructure
  4. 2.3, 2.4,2.5, 2.6, 3.5…GHz.
  5. WiMAX checks:Certifying a device (terminal or network) as WiMAX type based on system profiles (fixed and mobile).Checking compliance for network beyond BS.