Review: Medium Access Control Sublayer –What is the problem to be addressed in this sublayer? –Protocols that allow collision Pure ALOHA Slotted ALOHA.

Slides:



Advertisements
Similar presentations
LAN Technologies LAN TECHNOLOGIES.
Advertisements

Topic 7 Local Area Networks (LAN)
Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
Computer Networks Ethernet I Professor Hui Zhang
The ALOHA Protocol “Free for all”: whenever station has a frame to send, it does so. –Station listens for maximum RTT for an ACK. –If no ACK after a specified.
Ethernet – CSMA/CD Review
Ethernet. Review Media Access Control – Broadcast media shared by all stations – MAC is used to determine who gets the right to send Developed protocol.
1 A Station A begins transmission at t=0 A Station A captures channel at t=t prop CSMA Random Access Scheme.
1 Version 3.0 Module 6 Ethernet Fundamentals. 2 Version 3.0 Why is Ethernet so Successful? In 1973, it could carry data at 3 Mbps Now, it can carry data.
Fast Ethernet and Gigabit Ethernet. Fast Ethernet (100BASE-T) How to achieve 100 Mbps capacity? Media Independent Interface provides three choices. LLC.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 17 Introduction to Computer Networks.
Chapter 14 LAN Systems Ethernet (CSMA/CD) ALOHA Slotted ALOHA CSMA
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
EE 122: Ethernet and Ion Stoica September 18, 2002 (* this talk is based in part on the on-line slides of J. Kurose & K. Rose)
EECC694 - Shaaban #1 lec #6 Spring Point-to-Point Vs. Shared Channel Communication In LANs Point-to-point: –Computers connected by communication.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
Ethernet By far, the dominant standard for guided media for the internet is Ethernet. How does it work?
Chapter 13 Wired LANs: Ethernet
Networks: Fast Ethernet1 Fast Ethernet and Gigabit Ethernet.
Ethernet Outline Multiple Access and Ethernet Intro Ethernet Framing CSMA/CD protocol Exponential backoff.
1 ECE453 – Introduction to Computer Networks Lecture 8 – Multiple Access Control (II)
CS 453 Computer Networks Lecture 14 Medium Access Control Sublayer.
1 Kyung Hee University Chapter 13 Wired LANs: Ethernet.
Thin Ethernet (10B2 / IEEE 802.3a) Segment length 0.5 m Up to 30 attached nodes Cable flexible and cheap Integrated or external transceiver connected via.
Infrastructure de Communications – CR 4107Chapter 41 The Medium Access Control Sublayer Chapter 4.
Enhanced CSMA Additional improvement  Use CSMA access  Listen while transmitting  Stop immediately if collision sensed  Called collision detection.
CSC 311 IEEE STANDARD ETHERNET Common Bus topology Uses CSMA/CD Named after “ether”, the imaginary substance many once believed occupied all of space.
9/11/2015 5:55 AM1 Ethernet and CSMA/CD CSE 6590 Fall 2010.
Ethernet. Ethernet Goals Simplicity Low Cost Compatibility Address flexibility Fairness –All nodes have equal access to the network High speed Stability.
Ethernet Two nodes transmit at the same time
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.
1 Computer Communication & Networks Lecture 13 Datalink Layer: Local Area Network Waleed Ejaz
Chapter 4: Medium Access Control (MAC) Sublayer
Ch. 16 High-Speed LANs The Emergence of High- Speed LANs Trends –Computing power of PCs has continued to grow. –MIS organizations recognize the.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
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.
1 Ethernet & IEEE Cisco Section 7.3 Stephanie Hutter October 2000.
Network Devices & Wiring Geert Jan de Groot. Network Wiring Half/full duplex Ethernet Network Wiring Autonegotiation Structured wiring Optics.
Link Layer: MAC Ilam University Dr. Mozafar Bag-Mohammadi.
Local Area Networks: Ethernet. IEEE Background Institution of Electrical and Electronic Engineering (IEEE) A professional non-profit organization Project.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
جلسه یازدهم شبکه های کامپیوتری به نــــــــــــام خدا.
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.
LANs : Aloha/CSMA , summary
Chapter 13 and 14 – Multiple Access, Local Area Networks.
The Medium Access Control Sublayer Chapter 4 12/13/2015www.ishuchita.com1.
Ethernet. Ethernet standards milestones 1973: Ethernet Invented 1983: 10Mbps Ethernet 1985: 10Mbps Repeater 1990: 10BASE-T 1995: 100Mbps Ethernet 1998:
Ch 13. Wired LANs: Ethernet IEEE Standards Project 802 launched in 1985 – To set standards to enable intercommunication among equipment from a variety.
Link Layer MAC Dr. Mozafar Bag-Mohammadi University of Ilam.
IEEE STANDARDS IEEE STANDARDS In 1985, the Computer Society of the IEEE started a project, called Project 802, to set standards to enable intercommunication.
Datornätverk A – lektion 10
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
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)
1 Ethernet CSE 3213 Fall February Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed.
1 Ethernet History –developed by Xerox PARC in mid-1970s –roots in Aloha packet-radio network –standardized by Xerox, DEC, and Intel in 1978 –similar to.
Wired LANs: Ethernet Shashank Srivastava Motilal Nehru national Institute Of Information Technology, Allahabad 4 Sep 2013.
1 University of Calgary CS 441 Part 4 Medium Access Control 4.1 MAC Sublayer - CSMA 4.2 MAC Sublayer - Collision Free.
Ch. 16 Ethernet Traditional Ethernet IEEE Medium Access Control –Carrier Sense Multiple Access with Collision Detection (CSMA/CD) –The most.
ETHERNET Yash Vaidya. Introduction Ethernet is a family of computer networking technologies for local area networks (LANs). Ethernet was commercially.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
1 Kyung Hee University Chapter 13 Wired LANs: Ethernet.
Chapter 12 Local Area Networks
The Medium Access Control Sublayer
Chapter 12 Local Area Networks
Computer Interfacing and Protocols
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.
LAN Technologies LAN TECHNOLOGIES.
Presentation transcript:

Review: Medium Access Control Sublayer –What is the problem to be addressed in this sublayer? –Protocols that allow collision Pure ALOHA Slotted ALOHA CSMA CSMA/CD –Collision free protocols: bitmap method, binary countdown and token

Collision free protocols: Token pass. –There is only one token in the network. –The token is passed through every node in the network. –Only the node that has the token can transfer data.

Limited contention protocols: –collision based protocols (ALOHA,CSMA/CD) are good when the network load is low. –collision free protocols (bit map, binary countdown) are good when load is high. –How about combining their advantages -- limited contention protocols. Behave like the ALOHA scheme under light load Behave like the bitmap scheme under heavy load.

Limited contention protocols: –adaptive tree walk protocol trick: dynamic partition the stations into groups and limit the contention for each slot. –under light load, every one tries for each slot like ALOHA –under heavy load, only a small group can try for each slot –how do we do it »treat stations as the leaves of a binary tree. »first slot, all stations (under the root node) can try to get the slot. »if no conflict, repeat. »if conflict, use depth first search to traverse the tree, only nodes of a sub-tree get to try for the next slot.

0 1 Example: ABC* D E*F*GH* Slot 0: C*, E*, F*, H* (all nodes under node 0 can try), conflict slot 1: C* (all nodes under node 1 can try), C sends slot 2: E*, F*, H*(all nodes under node 2 can try), conflict slot 3: E*, F* (all nodes under node 5 can try), conflict slot 4: E* (all nodes under E can try), E sends slot 5: F* (all nodes under F can try), F sends slot 6: H* (all nodes under node 6 can try), H sends.

Ethernet: –Invented at Xerox by Robert Metcalfe (founder of 3Com) and Dave Boggs –background: ARPANet in late 60's, linking computers at different sites to central mainframe computers. By early 70's, the cost of computers went down, introduction of mini-computers PDP, which means each school can have more than one computer! – Applications: share printers, share files, share cycles Factory automation: many computers on factory floor Need local area networks to link the computers

Ethernet: –Use shared medium instead of switched-based –cost: one adaptor/machine + link –performance: all hosts sharing one link. –first Ethernet: 3 Mbps –PDP MIPS, 0.1 Mbps peak –no all computers transmit at peak all the time meaning, easily support up to 100 computers at that time – Now: –500MHz Pentium, around 200MIPS, 100Mbps –10Mbps cannot support as many machines.

Medium Access Problem: –multiple stations may transmit on the medium at the same time, which may result in collisions – Two solutions guarantee that only one station transfers at one time: (contention free protocol) FDDI, token ring, token bus use the first approach try the luck and re-transmit if there is a collision (contention based protocol) –need algorithm to reduce the probability of collision Ethernet uses CSMA/CD + binary exponential backoff to reduce the probability of collisions

CSMA/CD + binary exponential backoff –sense before send (CSMA) –abort sending upon detecting collision (CD). –adjust retransmission interval (binary exponential backoff) each time slot to be 51.2 us first collision, retransmission interval = random number between [0,1] second collision, interval = random number between [0,1,2,3] kth collision, interval = random number between [0, 2^k-1] upper bound 1023 slots.

Important design parameters –Bandwidth: 10 Mbps Propagation Delay: limit the frame size. Physical medium –thin cable/thick cable/twisted pair/fiber 10Base5 500 meters thick (cable) Ethernet 100 nodes/seg 10Base2 200 meters thin (cable) Ethernet 30 nodes/seg 10BaseT 100 meters twist pair 1024 nodes/seg 10BaseF 2000 meters fiber optics 1024 nodes/seg 10Base5/10Base2, cable connected to each machine 10BaseT -- connecting to a hub 10BaseF -- between building Connecting

–Multiple segments can be connected through the repeaters (hubs). –All segments connected by the repeaters are in the same collision domain. constraint: no two transceivers may be 2.5km apart and separated by 4 repeaters. frame format | Preamble | Start| Dst Addr | Src Addr | length | Data |Pad |Checksum| 7 1 2/6 2/ –Header: 14 Bytes, CRC: 4 Bytes – Minimum data (+ pad) length: 46 Bytes – Maximum data length: 1500 Bytes

Minimum frame size = ?? Why? To run CSMA/CD, each frame must be large enough to detect collision. –2 * max propagation delay? »standard: 2500m, 500m per segment, 4 repeaters. »speed of light: 3*10^8m/s »speed of signal propagation: 2*10^8m/s »propagation delay: about 25us (on wire) +25 us in repeaters, total delay = 51.2us »How many bytes do we need in each frame? Maximum frame size = ? Why? –larger is better for bandwidth utilization

How to find out your Ethernet address: "arp” –/usr/sbin/arp xi --> xi ( ) at 8:0:20:92:43:b1 Ethernet Switch: Increase the bandwidth, segments connected by switch have different collision domain. –Ethernet switch: data link layer device –Ethernet hub (repeater): physical layer device –Fast Ethernet Keep everything in Ethernet, make the clock faster 100Mbps. What are the problems? –Cable »100Base-T4 100m category 3 UTP, 4 lines. »100Base-Tx 100m category 5 twisted pair »100Base-Fx 2000m Fiber optic

What are the problems? –Cable –CSMA/CD? minimum frame size = 64byte = 512 bits, 5.12us using 100Mbps transmission rate. What can you do about this? –Increase the minimum frame size. –Reduce cable length –Faster Ethernet: »Reduce the cable length by a factor of 10, maximum length = 200 meters (100-Base-T, 100 meter cable). Full duplex mode: point to point connection, no contention. No CSMA/CD needed, can have longer cable.

–Gigabit Ethernet: make it even faster at 1Gbps. Cable: mainly fiber optics. CSMA/CD domain –Shortening the cable? 20 meters Alternative: increase the minimum frame size to 512 bytes, CSMA/CD domain 200 meters (not much error margin) –Experimental studies say that typical frame size are bytes. backward compatibility: –carrier extension -- short packet, stuff extra bits to make to 512 bytes improve performance: packet bursting -- transmit a burst of small frames, only the first one need carrier extension.