1 CSE3213 Computer Network I Channelization (6.4.1-6.4.2) LAN (6.6) Ethernet(6.7) Token-Ring (6.8.1) Wireless LAN(6.10) LAN Bridges(6.11.1) Course page:

Slides:



Advertisements
Similar presentations
CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
Advertisements

Topic 7 Local Area Networks (LAN)
Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
1 ICS 156: Lecture 2 (part 2) Data link layer protocols Address resolution protocol Notes on lab 2.
University of Calgary – CPSC 441.  Ethernet, defined under IEEE 802.3, is one of today's most widely used data communications standards  It finds its.
Review r Error Detection: CRC r Multiple access protocols m Slotted ALOHA m CSMA/CD r Homework 3 out r Project 3 out, link state only. Some slides are.
Networks Terminology and Hardware. Network A network is a group of connected computers that can communicate with each other to share information and equipment,
Ethernet Risanuri Hidayat. Ethernet The term Ethernet refers to the family of local-area network (LAN) products covered by the IEEE standard. Three.
1 Data Link Protocols Relates to Lab 2. This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet,
Chapter 6 High-Speed LANs1 Chapter 6 High-Speed LANs.
Networks: Ethernet1 Ethernet. Networks: Ethernet2 Ethernet [DEC, Intel, Xerox] 1-persistent, CSMA-CD with Binary Exponential Backoff. Manchester encoding.
1 A Station A begins transmission at t=0 A Station A captures channel at t=t prop CSMA Random Access Scheme.
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
Chapter 15: LAN Systems Business Data Communications, 4e.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.
Review on Networking Technologies Linda Wu (CMPT )
Ethernet. Ethernet [DEC, Intel, Xerox] 1-persistent, CSMA-CD with Binary Exponential Backoff Manchester encoding.
1 LAN Topologies, Access methods (Week 1, Wednesday 1/10/2007) © Abdou Illia, Spring 2007.
Chapter 2 Review of Computer Network Technology
1 ECE453 – Introduction to Computer Networks Lecture 8 – Multiple Access Control (II)
1 Kyung Hee University Chapter 13 Wired LANs: Ethernet.
1 Computer Networks Course: CIS 3003 Fundamental of Information Technology.
Connecting LANs, Backbone Networks, and Virtual LANs
SIMS-201 LAN Basics, MANs, WANs.
Infrastructure de Communications – CR 4107Chapter 41 The Medium Access Control Sublayer Chapter 4.
Chapter 6 High-Speed LANs Chapter 6 High-Speed LANs.
Review: Medium Access Control Sublayer –What is the problem to be addressed in this sublayer? –Protocols that allow collision Pure ALOHA Slotted ALOHA.
1 Token Passing: IEEE802.5 standard  4 Mbps  maximum token holding time: 10 ms, limiting packet length  packet (token, data) format:  SD, ED mark start,
Chapter 5 outline 5.1 Introduction and services
© NOKIADEFAULT.PPT / / AO page: 1 IP in LANs.
Chapter 13 Wired LANs: Ethernet
Introduction1-1 Data Communications and Computer Networks Chapter 5 CS 3830 Lecture 27 Omar Meqdadi Department of Computer Science and Software Engineering.
LAN Technologies MAC protocols used in LANs, to control access to the channel Token Rings: IEEE (IBM token ring), for computer room, or department.
COSC 3213: Computer Networks I Instructor: Dr. Amir Asif Department of Computer Science York University Section M “Local Area Networks” Topics: LAN Standards:
1 Computer Communication & Networks Lecture 13 Datalink Layer: Local Area Network Waleed Ejaz
Ch. 16 High-Speed LANs The Emergence of High- Speed LANs Trends –Computing power of PCs has continued to grow. –MIS organizations recognize the.
Enterprise network 8.1:Introduction 8.2:LANs 8.3:Ethernet / IEEE :Token ring 8.5:Bridges 8.6:FDDI 8.7:High-speed LANs 8.8:LAN protocol 8.9:Multicast.
Token Passing: IEEE802.5 standard  4 Mbps  maximum token holding time: 10 ms, limiting packet length  packet (token, data) format:  SD, ED mark start,
Communication Networks Fourth Meeting. Types of Networks  What is a circuit network?  Two people are connected and allocated them their own physical.
Gigabit Ethernet.
CSCI 465 D ata Communications and Networks Lecture 19 Martin van Bommel CSCI 465 Data Communications & Networks 1.
1 Ethernet & IEEE Cisco Section 7.3 Stephanie Hutter October 2000.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 14 Local Area Networks: Ethernet.
Link Layer: MAC Ilam University Dr. Mozafar Bag-Mohammadi.
Ethernet Term Paper Introduced by: Almarshood, Yosef Bahaitham, Ahmed Alrashudi, Ahmed.
Local Area Networks: Ethernet. IEEE Background Institution of Electrical and Electronic Engineering (IEEE) A professional non-profit organization Project.
1 Data Link Layer Lecture 22 Imran Ahmed University of Management & Technology.
Data Link Layer Moving Frames. Link Layer Protocols: ethernet, wireless, Token Ring and PPP Has node-to-node job of moving network layer.
1 CS4550: Computer Networks II Review Data Link Layer.
17 - Winter 2005 ECE ECE 766 Computer Interfacing and Protocols 1 Local Area Networks Need for high performance communications for physically close devices.
Enterprise network 8.1:Introduction 8.2:LANs 8.3:Ethernet / IEEE :Token ring 8.5:Bridges.
CS3505: Loca Area Networks CSMA/CD : IEEE and LAN Internetworks.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Chapter 6 Medium Access Control Protocols and Local Area Networks Wireless LAN.
Ch 13. Wired LANs: Ethernet IEEE Standards Project 802 launched in 1985 – To set standards to enable intercommunication among equipment from a variety.
Ethernet Advanced Chapter 5. Release 16/7/2009 Chapter Objectives Explain 10Base-T network Explain 10Base-FL Explain the rule Identify different.
EE 122: Lecture 6 Ion Stoica September 13, 2001 (* this talk is based in part on the on-line slides of J. Kurose & K. Rose)
Data and Computer Communications Eighth Edition by William Stallings Chapter 15 – Local Area Network Overview.
Data Link Protocols Relates to Lab 2.
Token Passing: IEEE802.5 standard  4 Mbps  maximum token holding time: 10 ms, limiting packet length  packet (token, data) format:
COMPUTER NETWORKS Lecture-8 Husnain Sherazi. Review Lecture 7  Shared Communication Channel  Locality of Reference Principle  LAN Topologies – Star.
ETHERNET Yash Vaidya. Introduction Ethernet is a family of computer networking technologies for local area networks (LANs). Ethernet was commercially.
COSC 3213: Computer Networks I Instructor: Dr. Amir Asif
Hubs Hubs are essentially physical-layer repeaters:
Chapter 12 Local Area Networks
Chapter 6 Medium Access Control Protocols and Local Area Networks
Business Data Communications, 4e
Chapter 12 Local Area Networks
Chapter 12 Local Area Networks
LAN Addresses and ARP IP address: drives the packet to destination network LAN (or MAC or Physical) address: drives the packet to the destination node’s.
Presentation transcript:

1 CSE3213 Computer Network I Channelization ( ) LAN (6.6) Ethernet(6.7) Token-Ring (6.8.1) Wireless LAN(6.10) LAN Bridges(6.11.1) Course page: Slides modified from Alberto Leon-Garcia and Indra Widjaja

2 Channelization

3 Why Channelization? Channelization –Semi-static bandwidth allocation of portion of shared medium to a given user Highly efficient for constant-bit rate traffic Preferred approach in –Cellular telephone networks –Terrestrial & satellite broadcast radio & TV

4 Why not Channelization? Inflexible in allocation of bandwidth to users with different requirements Inefficient for bursty traffic Does not scale well to large numbers of users –Average transfer delay increases with number of users M Dynamic MAC much better at handling bursty traffic

5 Channelization Approaches Frequency Division Multiple Access (FDMA) –Frequency band allocated to users –Broadcast radio & TV, analog cellular phone Time Division Multiple Access (TDMA) –Periodic time slots allocated to users –Telephone backbone, GSM digital cellular phone

6 Channelization: FDMA Divide channel into M frequency bands Each station transmits and listens on assigned bands Each station transmits at most R/M bps Good for stream traffic; Used in connection-oriented systems Inefficient for bursty traffic Frequency Guard bands Time W 1 2 M M–1 …

7 Channelization: TDMA Dedicate 1 slot per station in transmission cycles Stations transmit data burst at full channel bandwidth Each station transmits at R bps 1/M of the time Excellent for stream traffic; Used in connection-oriented systems Inefficient for bursty traffic due to unused dedicated slots 1 Time Guard time One cycle M W Frequency...

8 Guardbands FDMA –Frequency bands must be non-overlapping to prevent interference –Guardbands ensure separation; form of overhead TDMA –Stations must be synchronized to common clock –Time gaps between transmission bursts from different stations to prevent collisions; form of overhead –Must take into account propagation delays

9 Overview of LANs

10 What is a LAN? Local area means: Private ownership –freedom from regulatory constraints of WANs Short distance (~1km) between computers –low cost –very high-speed, relatively error-free communication –complex error control unnecessary Machines are constantly moved –Keeping track of location of computers a chore –Simply give each machine a unique address –Broadcast all messages to all machines in the LAN Need a medium access control protocol

11 Typical LAN Structure RAM ROM Ethernet Processor Transmission Medium Network Interface Card (NIC) Unique MAC “physical” address

12 Medium Access Control Sublayer In IEEE 802.1, Data Link Layer divided into: 1.Medium Access Control Sublayer –Coordinate access to medium –Connectionless frame transfer service –Machines identified by MAC/physical address –Broadcast frames with MAC addresses 2.Logical Link Control Sublayer –Between Network layer & MAC sublayer

13 MAC Sub-layer Data link layer CSMA-CD Token Ring Logical link control Physical layer MAC LLC Wireless LAN Network layer Physical layer OSI IEEE 802 Various physical layers Other LANs

14 Logical Link Control Layer PHY MAC PHY MAC PHY MAC Unreliable Datagram Service PHY MAC PHY MAC PHY MAC Reliable frame service LLC A C A C IEEE 802.2: LLC enhances service provided by MAC

15 Encapsulation of MAC frames IP LLC Header Data MAC Header FCS LLC PDU IP Packet

16 Ethernet

17 IEEE MAC: Ethernet MAC Protocol: CSMA/CD Slot Time is the critical system parameter –upper bound on time to detect collision –upper bound on time to acquire channel –upper bound on length of frame segment generated by collision –quantum for retransmission scheduling –max{round-trip propagation, MAC jam time} Truncated binary exponential backoff – for retransmission n: 0 < r < 2 k, where k=min(n,10) –Give up after 16 retransmissions

18 IEEE Original Parameters Transmission Rate: 10 Mbps Min Frame: 512 bits = 64 bytes Slot time: 512 bits/10 Mbps = 51.2  sec –51.2  sec x 2x10 5 km/sec =10.24 km, 1 way –5.12 km round trip distance Max Length: 2500 meters + 4 repeaters Each x10 increase in bit rate, must be accompanied by x10 decrease in distance

19 IEEE MAC Frame Preamble SD Destination address Source address Length Information Pad FCS bytes SynchStart frame MAC Frame Every frame transmission begins “from scratch” Preamble helps receivers synchronize their clocks to transmitter clock 7 bytes of generate a square wave Start frame byte changes to Receivers look for change in 10 pattern

20 IEEE MAC Frame Preamble SD Destination address Source address Length Information Pad FCS bytes SynchStart frame 0 Single address 1 Group address Destination address single address group address broadcast = Addresses local or global Global addresses first 24 bits assigned to manufacturer; next 24 bits assigned by manufacturer Cisco C 3COM C 0 Local address 1 Global address MAC Frame

21 IEEE MAC Frame Preamble SD Destination address Source address Length Information Pad FCS bytes SynchStart frame MAC Frame Length: # bytes in information field Max frame 1518 bytes, excluding preamble & SD Max information 1500 bytes: 05DC Pad: ensures min frame of 64 bytes FCS: CCITT-32 CRC, covers addresses, length, information, pad fields NIC discards frames with improper lengths or failed CRC

22 IEEE Physical Layer (a) transceivers (b) 10base510base210baseT10baseFX MediumThick coaxThin coaxTwisted pairOptical fiber Max. Segment Length500 m200 m100 m2 km TopologyBus Star Point-to- point link Table 6.2 IEEE Mbps medium alternatives Thick Coax: Stiff, hard to work with T connectors flaky Hubs & Switches!

23 Ethernet Hubs & Switches (a) Single collision domain (b) High-Speed backplane or interconnection fabric Twisted Pair Cheap Easy to work with Reliable Star-topology CSMA-CD Twisted Pair Cheap Bridging increases scalability Separate collision domains Full duplex operation

24 a =.01 a =.1 a =.2 Ethernet Scalability CSMA-CD maximum throughput depends on normalized delay-bandwidth product a =t prop /X x10 increase in bit rate = x10 decrease in X To keep a constant need to either: decrease t prop (distance) by x10; or increase frame length x10

25 Fast Ethernet 100baseT4100baseT100baseFX Medium Twisted pair category 3 UTP 4 pairs Twisted pair category 5 UTP two pairs Optical fiber multimode Two strands Max. Segment Length 100 m 2 km TopologyStar Table 6.4 IEEE Mbps Ethernet medium alternatives To preserve compatibility with 10 Mbps Ethernet: Same frame format, same interfaces, same protocols Hub topology only with twisted pair & fiber Bus topology & coaxial cable abandoned Category 3 twisted pair (ordinary telephone grade) requires 4 pairs Category 5 twisted pair requires 2 pairs (most popular) Most prevalent LAN today

26 Gigabit Ethernet Table 6.3 IEEE Gbps Fast Ethernet medium alternatives 1000baseSX1000baseLX1000baseCX1000baseT Medium Optical fiber multimode Two strands Optical fiber single mode Two strands Shielded copper cable Twisted pair category 5 UTP Max. Segment Length 550 m5 km25 m100 m TopologyStar Slot time increased to 512 bytes Small frames need to be extended to 512 B Frame bursting to allow stations to transmit burst of short frames Frame structure preserved but CSMA-CD essentially abandoned Extensive deployment in backbone of enterprise data networks and in server farms

27 10 Gigabit Ethernet Table 6.5 IEEE Gbps Ethernet medium alternatives 10GbaseSR10GBaseLR10GbaseEW10GbaseLX4 Medium Two optical fibers Multimode at 850 nm 64B66B code Two optical fibers Single-mode at 1310 nm 64B66B Two optical fibers Single-mode at 1550 nm SONET compatibility Two optical fibers multimode/single- mode with four wavelengths at 1310 nm band 8B10B code Max. Segment Length 300 m10 km40 km300 m – 10 km Frame structure preserved CSMA-CD protocol officially abandoned LAN PHY for local network applications WAN PHY for wide area interconnection using SONET OC-192c Extensive deployment in metro networks anticipated

28 Token Ring

29 IEEE Ring LAN Unidirectional ring network 4 Mbps and 16 Mbps on twisted pair –Differential Manchester line coding Token passing protocol provides access Fairness Access priorities  Breaks in ring bring entire network down Reliability by using star topology

30 Star Topology Ring LAN Stations connected in star fashion to wiring closet –Use existing telephone wiring Ring implemented inside equipment box Relays can bypass failed links or stations

31 Token frame format SDFCAC Destination address Source address InformationFCS 14 ED FS 1 Data frame format Token Frame Format SDACED P P PT M R R R Access control PPP=priority; T=token bit M=monitor bit; RRR=reservation T=0 token; T=1 data Starting delimiter J, K nondata symbols (line code) J begins as “0” but no transition K begins as “1” but no transition 00 J K 0 Ending delimiter I = intermediate-frame bit E = error-detection bit IE J K 1

Wireless LAN

33 Wireless Data Communications Wireless communications compelling Easy, low-cost deployment Mobility & roaming: Access information anywhere Supports personal devices PDAs, laptops, data-cell-phones Supports communicating devices Cameras, location devices, wireless identification  Signal strength varies in space & time  Signal can be captured by snoopers  Spectrum is limited & usually regulated

34 B D C A Ad Hoc Communications Temporary association of group of stations –Within range of each other –Need to exchange information –E.g. Presentation in meeting, or distributed computer game, or both

35 A2 B2 B1 A1 AP1 AP2 Distribution System Server Gateway to the Internet Portal BSS A BSS B Infrastructure Network Permanent Access Points provide access to Internet

36 A transmits data frame (a) Data Frame A B C C transmits data frame & collides with A at B (b) C senses medium, station A is hidden from C Data Frame B C A Hidden Terminal Problem New MAC: CSMA with Collision Avoidance

37 RTS A requests to send B C (a) CTS A B C B announces A ok to send (b) Data Frame A sends B C remains quiet (c) CSMA with Collision Avoidance

38 IEEE Physical Layer Options Frequency Band Bit RateModulation Scheme GHz1-2 Mbps Frequency-Hopping Spread Spectrum, Direct Sequence Spread Spectrum b2.4 GHz11 Mbps Complementary Code Keying & QPSK g2.4 GHz54 Mbps Orthogonal Frequency Division Multiplexing & CCK for backward compatibility with b a5-6 GHz54 Mbps Orthogonal Frequency Division Multiplexing

39 LAN Bridges

40 Hub Station Two Twisted Pairs Hubs, Bridges & Routers Hub: Active central element in a star topology –Twisted Pair: inexpensive, easy to insall –Simple repeater in Ethernet LANs –“Intelligent hub”: fault isolation, net configuration, statistics –Requirements that arise: Hub Station Two Twisted Pairs User community grows, need to interconnect hubs ? Hubs are for different types of LANs Hub

41 Hub Station Two Twisted Pairs Hubs, Bridges & Routers Interconnecting Hubs –Repeater: Signal regeneration All traffic appears in both LANs –Bridge: MAC address filtering Local traffic stays in own LAN –Routers: Internet routing All traffic stays in own LAN Hub Station Two Twisted Pairs ? Higher Scalability

42 Operation at data link level implies capability to work with multiple network layers However, must deal with –Difference in MAC formats –Difference in data rates; buffering; timers –Difference in maximum frame length PHY MAC LLC Network PHY MAC LLC CSMA/CD Token Ring General Bridge Issues

43 Bridge Network Physical Network LLC Physical LLC MAC Bridges of Same Type Common case involves LANs of same type Bridging is done at MAC level

44 Interconnection of IEEE LANs with complete transparency Use table lookup, and –discard frame, if source & destination in same LAN –forward frame, if source & destination in different LAN –use flooding, if destination unknown Use backward learning to build table –observe source address of arriving LANs –handle topology changes by removing old entries Transparent Bridges Bridge S1S2 S4 S3 S5 S6 LAN1 LAN2

45 B1 S1S2 B2 S3S4 S5 Port 1Port 2Port 1Port 2 LAN1LAN2LAN3 Address Port

46 B1 S1S2 B2 S3S4 S5 Port 1Port 2Port 1Port 2 LAN1LAN2LAN3 Address Port S11 Address Port S11 S1 → S5 S1 to S5

47 B1 S1S2 B2 S3S4 S5 Port 1Port 2Port 1Port 2 LAN1LAN2LAN3 Address Port S11 S31 Address Port S11 S31 S3 → S2 S3  S2

48 B1 S1S2 B2 S3S4 S5 Port 1Port 2Port 1Port 2 LAN1LAN2LAN3 S4 S3 Address Port S11 S32 S4 2 Address Port S11 S31 S4 2 S4  S3

49 B1 S1S2 B2 S3S4 S5 Port 1Port 2Port 1Port 2 LAN1LAN2LAN3 Address Port S11 S32 S4 2 S2 1 Address Port S11 S31 S4 2 S2  S1

50 Adaptive Learning In a static network, tables eventually store all addresses & learning stops In practice, stations are added & moved all the time –Introduce timer (minutes) to age each entry & force it to be relearned periodically –If frame arrives on port that differs from frame address & port in table, update immediately