Local Area Networks (LAN)

Similar documents
CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

Local Area Networks. Guest Instructor Elaine Wong. Elaine_06_I-1

Unit of Learning # 2 The Physical Layer. Sergio Guíñez Molinos sguinez@utalca.cl

Network Topologies. Network Topologies

Based on Computer Networking, 4 th Edition by Kurose and Ross


Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

Token Ring and. Fiber Distributed Data Interface (FDDI) Networks: Token Ring and FDDI 1

CSE 123A Computer Networks

COMPUTER NETWORKS HANDOUTS LECTURERS # PREPARED BY: HAMMAD KHALID KHAN. Copyright Virtual University of Pakistan

RTT 60.5 msec receiver window size: 32 KB

Controlled Random Access Methods

Computer Networks. By Hardeep Singh

Introduction to Ethernet

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

ICS 153 Introduction to Computer Networks. Inst: Chris Davison

Network Categories. Network Types for the Local Range. Ethernet. Carrier Sense Multiple Access

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Data Link Protocols. Link Layer Services. Framing, Addressing, link access: Error Detection:

Communication Networks. MAP-TELE 2011/12 José Ruela

11/22/

Wired & Wireless LAN Connections

Data Link Layer. Page 1. Ethernet

What You Will Learn About. Computers Are Your Future. Chapter 8. Networks: Communicating and Sharing Resources. Network Fundamentals

Computer Networks Vs. Distributed Systems

Page 1 of 7. Computer Networking

Direct Link Networks. Introduction. Physical Properties. Lecture - Ethernet 1. Areas for Discussion. Ethernet (Section 2.6)

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

EPL 657 Wireless Networks

Ring Local Area Network. Ring LANs

Telecommunications, Networks, and Wireless Computing

CWNA: Official Certification Guide Unit 1 Introduction to Wireless LANs

Local-Area Network -LAN

CS6956: Wireless and Mobile Networks Lecture Notes: 2/11/2015. IEEE Wireless Local Area Networks (WLANs)

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

Chapter 7: Computer Networks, the Internet, and the World Wide Web. Invitation to Computer Science, C++ Version, Third Edition

PLANEAMENTO E GESTÃO DE REDES INFORMÁTICAS COMPUTER NETWORKS PLANNING AND MANAGEMENT

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

CSMA/CA. Information Networks p. 1

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

How To Communicate With A Token Ring Network (Dihon)

Ethernet, VLAN, Ethernet Carrier Grade

Random Access Protocols

Module 15: Network Structures

1 Which network type is a specifically designed configuration of computers and other devices located within a confined area? A Peer-to-peer network

ECE/CS 372 introduction to computer networks. Lecture 13

The WestNet Advantage: -- Textbooks, ebooks, ecourses -- Instructor Resourse Center -- Student Resource Center

Computer Network and Communication

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1

Wireless LAN Concepts

TCOM 370 NOTES LOCAL AREA NETWORKS AND THE ALOHA PROTOCOL

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet

WIRELESS ETHERNET (IEEE )

WAN Data Link Protocols

Chapter 14: Distributed Operating Systems

Communication Systems Internetworking (Bridges & Co)

CS263: Wireless Communications and Sensor Networks

IT4405 Computer Networks (Compulsory)

LAN / WAN Technologies

What is it all about? Some simple solutions. Multiple Access. Contexts for the multiple access problem. Outline. Contexts

C Information Systems for Managers Fall 1999

Network Categories. Network Types for the Local Range. Ethernet

MANAGEMENT INFORMATION SYSTEMS 8/E

RETI DI TELECOMUNICAZIONI

Chapter 16: Distributed Operating Systems

Real-Time (Paradigms) (51)

2 Basic Concepts. Contents

Gigabit Ethernet: Architectural Design and Issues

Process Control and Automation using Modbus Protocol

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

LANs. Local Area Networks. via the Media Access Control (MAC) SubLayer. Networks: Local Area Networks

Overview of Network Hardware and Software. CS158a Chris Pollett Jan 29, 2007.

Introduction to Optical Networks

SFWR 4C03: Computer Networks & Computer Security Jan 3-7, Lecturer: Kartik Krishnan Lecture 1-3

Fiber Distributed Data Interface

Introduction Chapter 1. Uses of Computer Networks

FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. Chapter 2 An Introduction to Networking

Gigabit Ethernet. Abstract. 1. Introduction. 2. Benefits of Gigabit Ethernet

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

ECE 358: Computer Networks. Homework #3. Chapter 5 and 6 Review Questions 1

Communications and Computer Networks

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

Long Distance Connection and WAN

Wireless Networks. Reading: Sec5on 2.8. COS 461: Computer Networks Spring Mike Freedman

Chapter 7 Low-Speed Wireless Local Area Networks

IT Data Communication and Networks (Optional)

Introduction To Computer Networks

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Level 2 Routing: LAN Bridges and Switches

High Speed Ethernet. Dr. Sanjay P. Ahuja, Ph.D. Professor School of Computing, UNF

Data Communication Networks

Local Area Network. OSI Seven Layer Model. Whole Building Network

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

Switch Fabric Implementation Using Shared Memory

Wireless Personal Area Networks (WPANs)

Transcription:

Lecture 4 Local Area Networks (LAN) - Sharing Transmission Media by Computers - Classifications of Computer Networks: LAN, MAN, WAN Point-To-Point Connection and Shared Medium LAN Topology: Star, Ring, Bus Typical LANs - Ethernet (CSMA/CD) - LocalTalk (CSMA/CA) - Wireless LAN - Token Ring - FDDI - ATM Unicast, Broadcast, Multicast

Lecture 4 Classifications of Computer Networks LAN Local Area Network: A network that spans a small geographic area, such as a single building or buildings close to each other. Examples: Ethernet, LocalTalk, Token Ring, FDDI, ATM PAN Personal Area Network MAN Metropolitan Area Network: A network that can span a geographic area the size of a city. Example: DQDB WAN Wide Area Network: A network that can span a large geographic area, e.g., multiple cities, countries or continents. Examples: ARPANET, X.25, Frame Relay, SMDS, ATM

Point-To-Point Connection Network Lecture 4 Point-to-Point network provides a dedicated link between any two computers/devices Fully Connected - Dedicated link: used by only two computers and not shared with others - High security and privacy - (N 2 -N)/2 links are needed for N computers/devices 45 links (N=10), 4950 links (N=100), 499500 links (N=1000) - Such a network is not practical because of its high cost and inflexibility

Lecture 4 Shared Communication Channel/Medium in LAN Shared Medium - wire, cable, fiber - radio, infrared, Key natures of LAN: - Media type: wired/wireless, twisted pair/cable/fiber, radio/infrared - Topology: network shape/connection method - Protocol: how to use shared medium, media access control technique a) TDM: only one computer can send data in a time b) Frame: transfer element, each type of LAN has its own frame format - Bit rate/speed: usually from 1Mbps~1Gbps

LAN Basic Topologies Lecture 4 Star Topology Ring Topology Bus Topology

LAN Basic Topologies (cont.) Lecture 4

Ethernet - Bus Topology Lecture 4 Ethernet Media: Coax cable, twisted pair, fiber Topology: Logic bus (physically may be bus or star) Transmit: Only one can transmit at any time, all others receive transmission Speed: 10Mbps, 100Mbps (Fast Ethernet) and 1000Mbps (Gigabit Ethernet) Status: Most popular LAN and widely used History: Invented at Xerox (Palo Alto Research Center) in 1970s Defined a DIX standard by Digital Equipment, Intel and Xerox IEEE currently controls Ethernet standards Project 802.3 Ethernet Project 802.3 Define media, voltages, encoding, data rates, frames, wiring,

Lecture 4 When to Start Transmit - CSMA Animation All computers connect to a bus but only one can transmit at a time. Who can? No central controller/manager when computers transmit on the bus!! Ethernet employs CSMA to coordinate transmissions among multiple computers. CSMA (Carrier Sense with Multiple Access) - MA (Multiple Access): multiple computers are attached, any can access bus - CS (Carrier Sense): a computer listens to carrier before sending data waits if medium/bus is busy (another computer is transmitting) transmits if medium/bus is idle (no one transmits)

When to Start Transmit CSMA/CD Collision Lecture 4 Collis-Anim Animation Animation Even with CSMA, two computers may transmit simultaneously - Both find it idle and begin transmitting in almost a same time - Two signals exist in medium, interfere each other, call collision CD (Carrier Detection) - Monitor outgoing signal - Stop transmissions after collision is detected - Each waits random time in [0, S] - Listen to the bus and transmit again if it is idle - Wait random time in [0, 2S] if collisions is detected again - Double waiting time range [0, 2 k S] when k+1 collisions detected Called exponential backoff, very effective in practical

CSMA/CD Flowchart Lecture 4

Inventors of Ethernet Lecture 4 Collision Robert Metcalfe (1946, US) David R. Boggs (1950, US) - Developed at Xerox PARC, 1973-1974 - Metcalfe identifies the day Ethernet: May 22, 1973, circulated a memo titled "Alto Ethernet" containing a rough scheme. - Boggs identifies another date as birth of Ethernet: November 11, 1973, the first day the system actually functioned. - The two would co-invent Ethernet, with Metcalfe generating the ideas and Boggs figuring out how to build the system. - Patented with the 2 & Thacker, Lampson (75) - Metcalfe, Boggs, "Ethernet: Distributed Packet Switching for Local Computer Networks". Communications of the ACM (1976)

Lecture 4 LocalTalk - Bus Topology reserve transmit Media: Coax cable, twisted pair CSMA/CD vs CSMA/CA Topology: Logic bus (physically may be bus or star) Transmit: Only one can transmit at any time, all others receive transmission Speed: 230.4 kbps Status: IEEE Project 802.4, Apple s Macintosh computers, low cost & easy install CSMA/CA: Using CSMA to listen and transmit Using CA (collision avoidance) rather than CD (collision detection) - send a short message to reserve the bus if it is idle - transmit a frame if reservation is successful (no collision) - listen and reserve again Project 802.4

Lecture 4 Wireless LAN - Bus Topology Media: Air (infrared, spread spectrum, narrowband microwave) Topology: Logic bus Transmit: Only one can transmit, not all others can receive transmission depended upon transmitting energy and distance Speed: 1~10Mbps (infrared), 1~20Mbps (spread), 10~100Mbps (MW) Status: IEEE Project 802.11, many products from different companies CSMA/CA: Using CSMA to listen and transmit Using CA (collision avoidance) rather than CD (collision detection) - send a RTS message to reserve the medium if it is idle - transmit a frame if receiving a destination s CTS (no collision) - listen and reserve again RTS: Request To Send, CTS: Clear To Send Hidden node problem

CSMA/CA Flowchart (IEEE802.11) Lecture 4

Wireless LAN Wireless LAN: small range (< 100m) IEEE 802.11 (similar to Ethernet) - Defined by IEEE (Institute for Electrical and Electronic Engineers) - Access control: CSMA/CD (only one can send each time similar to TDMA, listen and transmit if no other transmission, otherwise wait) - Speed: 2Mbps (infrared), >10Mbps (Microwave, 2.4/5.2GHz) HIPERLAN - Defined by ETSI (European Telecommunication Standard Institute) - Access control: dynamic TDMA - Speed: 25Mbps (5GHz) and 155Mbps (17GHz) HomeRF - Defined by Home Radio Frequency Working Group (Industry, 1998) - Access control: similar IEEE 802.11 with priority and reservation control - Speed: 10Mbps (2.4GHz), supports both data, voice and streaming Bluetooth - Defined by Bluetooth Special Interest Group (SIG, industry) - Access control: TDD (Time Division Duplex) with circuit and packet switch - Speed: 1M~10bps

Lecture 4 Wireless Application Landscape Personal Area Network

Lecture 4 Station/Hardware Address and Frame Packet Header Source station Source address Frame data or Payload Destination station Destination address Trailer Dest Addr Sour Addr All stations (computers/devices) on shared-media LAN receive all transmissions Each station assigned unique number, called station address or hardware address fixed by manufacturer, configured manually or electronically provided dynamically by software A sender specifies destination address and source address in its frame header

Lecture 4 Destination Address and Transmission Mode unicast broadcast multicast Packet can be sent to: Video - Single destination (station address) called unicast (1-to-1) - All stations (a special address), called broadcast (1-to-all) - Subset of stations (special addresses), called multicast (1-to-m) Ethernet - Each station has 48bits (6 bytes) unique address assigned by manufacturer - Broadcast address: all 1s address (1111 11) - Multicast address: [1xx x], half of addresses reserved for multicast

Lecture 4 Ethernet Frame Format Ethernet Frame Preamble: 64bits (8 bytes) for receiver synchronization with incoming signal Destination address and source address Frame type (2 bytes): - 0000~05DC Reserved for use with IEEE LLC/SNAP - 0800 Internet IP Version 4-8008 AT&T Corporation - 8014 Silicon Graphics Corporation network games - 8137-8138 Novell Corporation IPX - Data or Payload: Minimum 46 bytes and maximum 1500 bytes CRC (4 bytes): Cyclic redundancy check

Token Ring - Ring Topology Lecture 4 token Token frame (3 bytes) SD AC ED Data frame SD AC FC DAdd SAdd SD: Start Delimiter AC: Access Control ED: End Delimiter FC: Frame Control FS: Frame Status Payload CRC ED FS Up to 4550 bytes Anim1 Anim2 Anim3 Media: Twisted pair (TW), fiber Topology: Logic ring (physically may be ring or star) Transmit: Bits flow in single direction from sender, next, destination to send Speed: 4, 16 or 100Mbps Status: IEEE Project 802.5, first developed by IBM Token: A permission to send data across the ring. Only one token in a ring and the token rotates one by one. If no data to be sent, computer passes received token to the next. When a computer obtains the token, it can send a single packet. A packet travels around entire ring and finally arrives source.

FDDI - Ring Topology Lecture 4 SD FC ED Token frame (3 bytes) Data frame SD FC DAdd SAdd Payload CRC ED FS Up to 4550 bytes Features: multiple frames for MM data or RT trans. Media: Fiber (Fiber Distributed Data Interconnect) or cable (CDDI) Topology: Two rings Transmit: Bits can flow in 2 directions for improving reliability Speed: 100 Mbps Status: ANSI standard, expensive than Ethernet and Token Ring Token: A permission to send data across the ring. Only one token in a ring and the token rotates one by one. If no data to be sent, computer passes received token to the next. When a computer obtains the token, it can send a single packet. A packet travels around entire ring and finally arrives source. FDDI

ATM LAN - Star Topology Lecture 4 ATM: Asynchronous Transmission Mode Media: Fiber Topology: Star Transmit: More than one can transmit because of using switch Speed: 25, 45, 155, 622 Mbps Status: ATM Forum and ATM Consortium, high speed for multimedia com Switch: Each station connects to switch with full-duplex connections. Computers send data independently and simultaneously. Packet size is very small, 53 bytes, called cell. Very expensive ATM

Exercise 4 1. Prove that the total number of links in a point-to-point network with N computers is (N 2 -N)/2 2. For each of bus, star and ring topologies, discuss the consequences if a station has broken. 3. In most technologies, a sending station can choose the amount of data in a frame, but the frame header is a fixed size. Calculate the percentage of bits in a frame devoted to the header, trailer and preamble for the largest and smallest Ethernet frame. 4. Assume a one megabyte file must be send from one computer to another (both are connected to a same 10BaseT Ethernet). What is the minimum time to send the file across the network? What is the minimum time across a Fast Ethernet? Across a gigabit Ethernet? 5. Give the definitions and examples of unicast, broadcast and multicast, respectively.