ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 17.

Slides:



Advertisements
Similar presentations
Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
Advertisements

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
1 K. Salah Module 4.2: Media Access Control The Media Access Control (MAC) sublayer –Random Access (CSMA), IEEE –Token Passing, IEEE Ch 13-
1 Pertemuan 13 Teknik Akses Jaringan - Random Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
Distributed systems Module 1 -Basic networking Teaching unit 1 – LAN standards Ernesto Damiani University of Bozen-Bolzano Lesson 5 – Collision management.
EEC-484/584 Computer Networks Lecture 10 Wenbing Zhao (Part of the slides are based on materials supplied by Dr. Louise Moser at UCSB.
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
EEC-484/584 Computer Networks Lecture 8 Wenbing Zhao
CSC 450/550 Part 3: The Medium Access Control Sublayer.
Computer Network 實踐資管 Wang-Jiunn Cheng 2004 PART IV-1 Local Area Networks (LANs) Topology.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
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)
EEC-484/584 Computer Networks Lecture 8 Wenbing Zhao
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 16 Introduction to Computer Networks.
EEC-484/584 Computer Networks Lecture 13 Wenbing Zhao
5-1 Data Link Layer r Today, we will study the data link layer… r This is the last layer in the network protocol stack we will study in this class…
EEC-484/584 Computer Networks Lecture 14 Wenbing Zhao
Link-layer EE122 Discussion 10/14/2011. MAC Addresses Link-layer deals with MAC addresses – 48-bit addresses, flat name space – E.g., 88-9F-FA-F
Ethernet. Ethernet [DEC, Intel, Xerox] 1-persistent, CSMA-CD with Binary Exponential Backoff Manchester encoding.
Cs/ee 143 Communication Networks Chapter 3 Ethernet Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Ethernet, ARP.
Lecture 8: Ethernet and Token Ring Networks. Ethernet Carrier Sense, Multiple Access and Collision Detect (CSMA/CD) LAN Ethernet Standard-DEC, Intel,
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.
Enhanced CSMA Additional improvement  Use CSMA access  Listen while transmitting  Stop immediately if collision sensed  Called collision detection.
5: DataLink Layer5-1 LAN technologies Data link layer so far: m services, error detection/correction, multiple access Next: LAN technologies m addressing.
9/11/2015 5:55 AM1 Ethernet and CSMA/CD CSE 6590 Fall 2010.
Introduction1-1 Data Communications and Computer Networks Chapter 5 CS 3830 Lecture 27 Omar Meqdadi Department of Computer Science and Software Engineering.
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
1 LAN Technologies and Network Topology. 2 Direct Point-to-Point Communication.
1 Computer Communication & Networks Lecture 13 Datalink Layer: Local Area Network Waleed Ejaz
LECTURE9 NET301. DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies the absence of other.
جلسه دهم شبکه های کامپیوتری به نــــــــــــام خدا.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 16.
Network Layer4-1 Lower limit on the number of check bits r We want to design a code m with m message bits and r check bits Allowing all single errors to.
LAN technologies and network topology LANs and shared media Locality of reference Star, bus and ring topologies Medium access control protocols.
CPS 356: Introduction to Computer Networks Lecture 7: Switching technologies Ch 2.8.2, 3.1, 3.4 Xiaowei Yang
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 2.
Link Layer: MAC Ilam University Dr. Mozafar Bag-Mohammadi.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 19.
CSCI 465 D ata Communications and Networks Lecture 21 Martin van Bommel CSCI 465 Data Communications & Networks 1.
1 Data Link Layer Lecture 22 Imran Ahmed University of Management & Technology.
Media Access Control (MAC) Sub-layer and Ethernet Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 7.
Networks and Protocols CE Week 2b. Topologies, CSMA/CD, CSMA/CA.
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information.
CS3505: Loca Area Networks CSMA/CD : IEEE and LAN Internetworks.
LANs : Aloha/CSMA , summary
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Ethernet. Ethernet (802.3) 1-persistent CSMA, CD, binary exponential backoff Carrier sense: station listens to channel first. 1-persistent: If idle, station.
Ethernet Overview it the IEEE standard for Ethernet.
Ethernet Chapter 4.
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)
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
1 Ethernet CSE 3213 Fall February Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed.
COMPUTER NETWORKS Lecture-8 Husnain Sherazi. Review Lecture 7  Shared Communication Channel  Locality of Reference Principle  LAN Topologies – Star.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Example DLL Protocols 1. High-Level Data Link Control (HDLC).
Data Link Layer Lower Layers Local Area Network Standards
Advanced Computer Networks
Lab 7 – CSMA/CD (Data Link Layer Layer)
CS 457 – Lecture 6 Ethernet Spring 2012.
Ethernet Neil Tang 9/17/2008 CS440 Computer Networks.
Presentation transcript:

ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 17

ICOM 6115©Manuel Rodriguez-Martinez Lecture Objectives Describe IEEE 802 family of protocols –Ethernet –WiFi –Broadband Discuss Collisions and Binary Backoff algorithm

ICOM 6115©Manuel Rodriguez-Martinez Ethernet Network Issue –Same channel is shared by many host –Only one can be using it at any given time Problem –What happens is two hosts transmit at the same time?

ICOM 6115©Manuel Rodriguez-Martinez Transmitter Algorithm Ethernet is a Carrier Sense system –Adaptor can “listen” to signal on wire If card has a frame to send it listens to wire –If a signal is detected, then it waits and tries again later when channel is idle –Otherwise, frame is sent and card starts listening as it sends Send and listen simultaneously to detects collision

ICOM 6115©Manuel Rodriguez-Martinez Some issues about Frame size Maximum Ethernet frame size is 1500 bytes –Limits the amount of time using the wire –Controls amount of RAM needed to buffer up frames Minimum Frame size is 512 bits (64 bytes) –Need to detect collisions –Might need to pad frames in order to reach this size

ICOM 6115©Manuel Rodriguez-Martinez Transmitter Algorithm If wire is idle (no signal), then next frame F is sent –No negotiation is done Else –While line is busy (signal is detected) Wait 9.6 usec –Send next frame F imediately Listen for collision as data is being sent –CSMA/CD – Carrier Sense Multiple-Access with Collision Detection

ICOM 6115©Manuel Rodriguez-Martinez The issue about collision Notice that two or more hosts can see line idle at a time t Thus, two or more hosts might start sending frames concurrently –At exactly time t –Or with a time difference d In either case, they frames collide in the wire, distorting the signals

ICOM 6115©Manuel Rodriguez-Martinez Collisions How much can it take to detect a collision? –1 RTT

ICOM 6115©Manuel Rodriguez-Martinez Collisions and Jamming When a host detects a collision it –Immediately sends a 48-bit special frame runt frame – used to tell all hosts about a collision –Some cards have a red led to indicate this –Stops transmissions and waits a time T to retransmit Need to make sure –Each frame is big enough to listen to it before all bits are send –Cable is not too long for signals to propagate

ICOM 6115©Manuel Rodriguez-Martinez Collision Indication via jamming Signal A sends a frame F1 to B Frame F1 arrives a B B starts sending a frame F2 to A –Collision occurs B sends jamming signal

ICOM 6115©Manuel Rodriguez-Martinez Ethernet Length and Frame Selection Worst case scenario is when hosts are at the extremes of wire Ethernet max length is set to 2500 m Need frame to last at least 1 RTT –In order to listen to it On a 10Mbps, RTT is 51.2 usec –Minimal frame must be 512 bits (64 bytes) A B

ICOM 6115©Manuel Rodriguez-Martinez Frame size at higher bandwidth What happens to the minimum frame size at higher bandwidth? –It must be made larger to ensure host can listen to frame that it is currently sending. –Alternatively, we can decrease both frame size and maximum link length Example: 1Gbps Ethernet, 51.2 usec RTT –A link of 2500 m, must have a min frame size of 6400 bytes –Or, have a 640 min frame size but length cannot be longer than 250 m.

ICOM 6115©Manuel Rodriguez-Martinez Binary Exponential Backoff How long to wait before re-transmitting after a collision? Idea: Time is divided into slots of length 1RTT After 1 st collision, network card awaits 0 or 1 time slots before retransmitting –Randomly chooses between 0 and 1 After 2 nd collision, randomly chooses to wait 0, 1, 2 or 3 slots After 3 rd collision, randomly chooses to wait 0, 1, 2, 3, 4, 5, 6, or 7 time slots

ICOM 6115©Manuel Rodriguez-Martinez Binary Exponential Backoff After the i-th collision, i ≤ 10, –the sender will randomly wait for k time slots –where k is randomly chosen from the interval After 10 consecutive collisions, the maximum number of slots is fixed to 1023 After 16 consecutive collisions, network card sends an error message to the OS –Network ERROR

ICOM 6115©Manuel Rodriguez-Martinez Making Ethernet Go Faster Problem –Ethernet is a bus network –Given a link with N hosts and Bandwidth B, the throughput per host is N/B –More hosts means more collisions Possible Solutions: –Convert Ethernet into a point-to-point LAN Switching –Make bits shorter (higher Bandwidth)

ICOM 6115©Manuel Rodriguez-Martinez Switched Ethernet: Point-to-Point LAN Host can connect directly to the switch via 10BaseT Cable Alternatively, host connect to a Hub which in turn connects to the switch

ICOM 6115©Manuel Rodriguez-Martinez Ethernet Switch Architecture BACK PLANE Ethernet Plug-In Cards High-Speed Back Plane Interconnects the cards

ICOM 6115©Manuel Rodriguez-Martinez A More Detailed Architecture Back Plane A switch is just is a special-purpose computer

ICOM 6115©Manuel Rodriguez-Martinez Switching on Ethernet 1.An adaptor sends the Frame to the plug-in card it is attached to 2.Plug-in card checks to see if destination MAC address is connected to it –If so, the frame is copied to the port of the card –Otherwise, the frame is sent to the backplane –Backplanes moves the frame to the plug-in card of the destination Backplane usually run at Gbps –Goto 2

ICOM 6115©Manuel Rodriguez-Martinez Plug-in Card Types Not buffered –Each card acts like a small hub Collision are limited to the card Each Card is a collision domain Buffered Card –Adaptors (network card) send frames to a buffer on the plug-in card –Frames are taken from the buffer and moved to their destination No collisions! But buffer size limits data rate!

ICOM 6115©Manuel Rodriguez-Martinez Some issues Plug-in card must learn the MAC address of NICs (Network Interface Card) attached to it Switch must know the MAC address of all the NICs attached to it In all cases frames are your regular Ethernet frames of old Can be used to control traffic –Do not allow anyone to plug-in a machine

ICOM 6115©Manuel Rodriguez-Martinez Back Plane Issues If Back Plane acts as a bus, performance will not be that good Need a way to move frames in parallel

ICOM 6115©Manuel Rodriguez-Martinez Example: Crossbar Switch Input Ports Output Ports