CS 348: Computer Networks. - PHY; 30 th July Instructor: Sridhar Iyer IIT Bombay

Similar documents
CS 716: Introduction to communication networks. - 8 th class; 17 th Aug Instructor: Sridhar Iyer IIT Bombay

CS 716: Introduction to communication networks. - 9 th class; 19 th Aug Instructor: Sridhar Iyer IIT Bombay

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

CEN 538 Wireless LAN & MAN Networks

CS 348: Computer Networks. - Layering; 26 th July Instructor: Sridhar Iyer IIT Bombay

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Physical Layer. Medium Access Links and Protocols. Point-to-Point protocols. Modems: Signaling. Modems Signaling. Srinidhi Varadarajan

Local Area Networks NETW 901

Local Area Networks (LANs) SMU CSE 5344 /

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

Overview. Performance metrics - Section 1.5 Direct link networks Hardware building blocks - Section 2.1 Encoding - Section 2.2 Framing - Section 2.

Goal and Outline. Computer Networking. What Do We Need? Today s Story Lecture 3: Packet Switched Networks Peter Steenkiste

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Wireless and Mobile Networks

ECE 158A: Lecture 13. Fall 2015

More on LANs. Roadmap. CPSC Network Programming. ! Hardware Addressing. !LAN Wiring. ! Extending LANs. ! Local Loop Digital Technologies

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Chapter 1: introduction

Links. CS125 - mylinks 1 1/22/14

Network Media and Layer 1 Functionality

Mid Sweden University Dept. of IT and Media (ITM) Magnus Eriksson Tel , Jan 2009.

Introduction to Networks and the Internet

4G Mobile Communications

Outline. A Professional Company in Software-Defined Networking (SDN) Copyright , EstiNet Technologies Inc. All Rights Reserved..

Wireless MACs: MACAW/802.11

CS 428/528 Computer Networks Lecture 01. Yan Wang

Computer Networks and the internet. Daniel Graham Ph.D

Reminder: Datalink Functions Computer Networking. Datalink Architectures

Direct Link Communication I: Basic Techniques. Data Transmission. ignore carrier frequency, coding etc.

The following CompTIA Network+ domain objectives and examples are covered in this module:

D-STAR Review & Final Exam

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

CS321: Computer Networks Introduction to Computer Networks and Internet

WEEK 9 TCP/IP, PHYSICAL AND DATA LINK LAYERS

CARRIER SENSE MULTIPLE ACCESS (CSMA):

Mobile and Sensor Systems

Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005

Wireless IP for M2M / IoT 101

EE 122: Ethernet and

6th Slide Set Computer Networks

Kulite Wireless Sensors

MULTIPLE ACCESS PROTOCOLS 2. 1

Elchin Mammadov. Overview of Communication Systems

Chapter 8 OSI Physical Layer

Chapter 3. Wired and Wireless Communication. What You Will Learn... Computers Are Your Future. What You Will Learn...

Wireless Router at Home

White Paper. Defining the Future of Multi-Gigabit Wireless Communications. July 2010

CSE 461 Multiple Access. David Wetherall

Data Link Layer: Multi Access Protocols

Reading. Read 3 MPLS links on the class website

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

Computer Networks and Mobile Systems. Shyam Gollakota

ET4254 Communications and Networking 1

Multiple Access in Cellular and Systems

end systems, access networks, links 1.3 network core

CHAPTER 1 INTRODUCTION

Shared Access Networks Wireless. 1/27/14 CS mywireless 1

Computer Networks. Computer Networks. Telecommunication Links. CMPUT101 Introduction to Computing - Spring Chapter 12: Computer Networks 1

ECE 4450:427/527 - Computer Networks Spring 2017

Wireless IP for IoT / M2M 101 The Basics

Data Link Layer Technologies

Objectives. Learn how computers are connected. Become familiar with different types of transmission media

Wireless LANs. ITS 413 Internet Technologies and Applications

LANCOM Techpaper IEEE n Indoor Performance

Wireless# Guide to Wireless Communications. Objectives

ECE 4450:427/527 - Computer Networks Spring 2017

Last Lecture: Data Link Layer

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

end systems, access networks, links circuit switching, packet switching, network structure

Program Title: Telecommunication Engineering Technology Postsecondary Number: (AS) (AAS

Improving QoS of VoIP over Wireless Networks (IQ-VW)

Ethernet. Lecture 6. Outline. Ethernet - Physical Properties. Ethernet - Physical Properties. Ethernet

M242 COMPUTER NETWORS AND SECURITY

Department of EECS - University of California at Berkeley EECS122 - Introduction to Communication Networks - Spring 2005 Final: 5/20/2005

Frequency: it refers to the number of periods in 1 s. It is formally expressed in Hertz (Hz)

Subject Data Communication. Subject Code 15CS46. Module 2 (Part 2) Multiplexing and Switching

Lecture 3: Modulation & Layering"

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 10 Networking Essentials

Chapter 1. Uses of Computer Networks Network Hardware Network Software Reference Models Example Networks Network Standardization. Revised: August 2011

Wireless Networks. Authors: Marius Popovici Daniel Crişan Zagham Abbas. Technical University of Cluj-Napoca Group Cluj-Napoca, 24 Nov.

The data transmission mode describes the direction of data flow. It is either simplex, half duplex or full duplex.

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

CMPE 257: Wireless and Mobile Networking

Network+ Guide to Networks, Seventh Edition Chapter 5, Solutions

WHITE PAPER AX WAIT, DID WE JUST BUILD A WIRELESS SWITCH?

Outline: Connecting Many Computers

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

Lecture 6. Reminder: Homework 2, Programming Project 2 due on Thursday. Questions? Tuesday, September 13 CS 475 Networks - Lecture 6 1

Strengthening Unlicensed Band Wireless Backhaul

Basics of datacommunication

Special expressions, phrases, abbreviations and terms of Computer Networks

Review of Topology and Access Techniques / Switching Concepts

CS 455/555 Intro to Networks and Communications. Link Layer

Physical Layer: Multiplexing, Spectrum Spreading and Switching. Covers Chapters# 06 & 08 from Text Book

Lecture 5 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Announcements. TAs office hours: Mohamed Grissa: Mohamed Alkalbani:

Transcription:

CS 348: Computer Networks - PHY; 30 th July 2012 Instructor: Sridhar Iyer IIT Bombay

Activity: Think-Pair-Share Consider two people who want to communicate by talking. Think Individually (about the following questions): What is required to make the communication happen? What factors influence the success of communication? Write down as many points as you can for each of the above questions. Pair - Discuss with your neighbour. Copy answers from your neighbour's list that you have missed out! Convince your neighbour that each of your points is a valid answer. Share - Discuss with entire class. IIT Bombay CS 348 2

Key points in communication What is required to make the communication happen? Should speak the same language. => Agreement on interpretation; Syntax, Semantics. Should be able to hear each other 'clearly'. => Range, Pitch of voice. Should speak 'coherently'. => Talk at 'normal' speed; No mumbling; Meaningful sentences. What factors influence choice of language? Fluency => Encoding and decoding. What factors influence being able to hear? Distance, Noise => Modulation. IIT Bombay CS 348 3

Today's class discussion Having seen the concepts of layering, interfaces and protocols, we will get into the Physical layer (PHY). Why should there be a separate PHY layer? What should be the concerns of the PHY layer? What services should PHY layer provide? Let us quickly put some answers on the board! IIT Bombay CS 348 4

Physical layer (PHY) IIT Bombay CS 348 5

PHY functions Physical Layer consists of the basic hardware for transmission and reception between any two nodes in a network. Complex layer - due to plethora of technologies. May be point-to-point or multi-point connectivity. Implementation of this layer is termed as PHY. PHY defines Means of transmitting bits rather than logical data packets over a physical link. Bit stream is grouped into code words or symbols, then converted to a physical signal that is transmitted. Link parameters to be negotiated with the peer layer on the other side. IIT Bombay CS 348 6

PHY end-to-end communication Figure source: http://www.williamson-labs.com/480_com.htm IIT Bombay CS 348 7

Hardware: Network Cards/Adapters Ethernet card Wireless LAN Other types of PHY Hardware: Modems, Repeaters, Hub, Media converters, Cables, etc. IIT Bombay CS 348 8

PHY interface PHY provides A mechanical, electrical and procedural interface to the transmission medium. It defines the: Shapes and properties of the electrical connectors. Frequencies and modulation scheme to use. Other low level parameters...signal levels, impedances... A set of registers to device drivers to Determine and configure settings. Send and receive data. Carrier sense and other indicators to upper layer. PHY translates logical communications requests from the upper layer (Link Layer) into hardware-specific Tx/Rx operations. IIT Bombay CS 348 9

Some factors in PHY design Factors Distance Medium Cost Link capacity Security Topology Redundancy How they affect Repeaters, Modulation schemes, Antennas, Transmitter power wired/wireless; interference, noise Spectrum licensing Decides data rate which is determined by application needs Wireless (encryption) Point-to-point v/s Broadcast More than one link; error correction Amount of data Decides choice of link (data rate). Mobility Wireless; Power control (CDMA example) IIT Bombay CS 348 10

Key factors influencing PHY design Distance of receiver from transmitter Shout if listener is far away => Transmit power at sender. Noise in the Medium High pitch if windy; low if fog => Modulation schemes; Signal-to-Noise ratio. Capture mechanism at receiver Receiver only cares about whether it can hear properly, not about sender's transmit power or noisy medium. => Received Signal Strength; Capture Threshold. IIT Bombay CS 348 11

PHY: Wireless v/s Wired networks Regulations of frequencies Limited availability, coordination is required Useful frequencies are almost all occupied Bandwidth Low transmission rates; few Kbits/s to some Mbit/s. Delays and losses Higher delays: several hundred milliseconds Higher loss rates: susceptible to interference Always shared medium Lower security, simpler active attacking radio interface accessible for everyone IIT Bombay CS 348 12

Example: Linux PHY interface PHY Interface definitions int phy_read(struct phy_device *phydev, u16 regnum); int phy_write(struct phy_device *phydev, u16 regnum, u16 val); Other functions such as print_status, enable_interrupt,... Ethernet drivers in /usr/src/linux/net/inet/eth.c http://www.kernel.org/pub/linux/kernel/v1.0 http://www.google.co.in/codesearch IIT Bombay CS 348 13

Example PHY protocols Telephone Modems V.92, SONET/SDH, DSL, ISDN. Ethernet: 10BASE-T, 1000BASE-T. WiFi: 802.11 a/b/g GSM Um radio interface physical layer. Bluetooth Physical Layer. USB, RS-232. Firewire... Quick reference: http://en.wikipedia.org/wiki/category:physical_layer_protocols IIT Bombay CS 348 14

PHY configurable parameters Preset configurations are sufficient in most cases. GUI and text-based tools/utilities available to user: ethtool, Mii-tool Common actions: ifup eth0: Turn on the Ethernet Ifdown eth0: Turn off the Ethernet /etc/init.d/network [status stop start] Config parameters are stored in files typically in: /etc/network/interfaces /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/network/ Actual file names may vary across Linux flavours/versions IIT Bombay CS 348 15

More on Modulation schemes Fast Ethernet 100BASE-T and Gigabit Ethernet 1000BASE-T utilize Pulse Amplitude Modulation (PAM-5). See Ethernet Working Group, IEEE 802.3 http://www.ieee802.org/3/ WiFi 802.11b uses Direct Sequence Spread Spectrum (DSSS) and 802.11g uses Orthogonal Frequency Division Multiplexing (OFDM) See Wireless LAN Working Group, IEEE 802.11 http://www.ieee802.org/11/ IIT Bombay CS 348 16

More on PHY design Is beyond the scope of this course! Topics in PHY lead to research areas such as: Design of Transmitters, Antennas and Receivers. Modulation techniques. Coding, error correction. and many more. IIT Bombay CS 348 17

Key ideas in PHY: Bandwidth Amount of data that can be transmitted per unit time expressed in cycles per second, or Hertz (Hz) for analog devices expressed in bits per second (bps) for digital devices Units - KB = 2^10 bytes; Mbps = 10^6 bps Notion of Link Bandwidth v/s End-to-End IIT Bombay CS 348 18

Bandwidth v/s bit width IIT Bombay CS 348 19

Key ideas in PHY: Latency (delay) Time taken to send a message from point A to point B Latency = Propagation + Transmit + Queue Propagation = Distance / SpeedOfLight Transmit = Size / Bandwidth Queue = Waiting for transmit Notion of End-to-End delay IIT Bombay CS 348 20

Latency Queue is not relevant for direct links. Bandwidth not relevant if Size = 1 bit. Process-to-process latency includes software overhead Software overhead can dominate when Distance is small Terminology RTT: round-trip time IIT Bombay CS 348 21

Animations Some sites that provide Java applets (animations) on modulation techniques are: www.educypedia.be/electronics/ http://www.comapps.com/tonyt/applets/applets.html http://tams-www.informatik.unihamburg.de/applets/hades/webdemos/toc.html Search - modulation schemes animations IIT Bombay CS 348 22