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.

Slides:



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

Channel Allocation Protocols. Dynamic Channel Allocation Parameters Station Model. –N independent stations, each acting as a Poisson Process for the purpose.
Computer Networks Ethernet I Professor Hui Zhang
EECC694 - Shaaban #1 lec #5 Spring Data Link In Broadcast Networks: The Media Access Sublayer Broadcast networks with multi-access (or random.
Ethernet – CSMA/CD Review
Fundamentals of Computer Networks ECE 478/578
Lecture 9: Multiple Access Protocols
Ethernet. Review Media Access Control – Broadcast media shared by all stations – MAC is used to determine who gets the right to send Developed protocol.
– Wireless PHY and MAC Stallings Types of Infrared FHSS (frequency hopping spread spectrum) DSSS (direct sequence.
Communication Networks Lecture 5 NETW 501-L5: NETW 501-L5: Medium Access Control Dr.-Ing. Khaled Shawky Hassan Room: C3-222, ext: 1204,
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.
MAC Protocols Media Access Control (who gets the use the channel) zContention-based yALOHA and Slotted ALOHA. yCSMA. yCSMA/CD. TDM and FDM are inefficient.
CS 5253 Workshop 1 MAC Protocol and Traffic Model.
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
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)
Distributed systems Module 1 -Basic networking Teaching unit 1 – LAN standards Ernesto Damiani University of Bozen-Bolzano Lesson 4 – Ethernet frame.
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…
Studying Local Area Networks Via Media Access Control (MAC) SubLayer
EEC-484/584 Computer Networks Lecture 14 Wenbing Zhao
ECE358: Computer Networks Spring 2012
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
Networks: Local Area Networks1 LANs Studying Local Area Networks Via Media Access Control (MAC) SubLayer.
Semester EEE449 Computer Networks The Data Link Layer Part 2: Media Access Control En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex,
Enhanced CSMA Additional improvement  Use CSMA access  Listen while transmitting  Stop immediately if collision sensed  Called collision detection.
Review: Medium Access Control Sublayer –What is the problem to be addressed in this sublayer? –Protocols that allow collision Pure ALOHA Slotted ALOHA.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 17.
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.
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.
NUS.SOC.CS2105 Ooi Wei Tsang Application Transport Network Link Physical you are here.
LECTURE9 NET301. DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies the absence of other.
LOCAL AREA NETWORKS. CSMA Carrier Sense Multiple Access To minimize the chance of collision and, therefore, increase the performance, the CSMA method.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking LANs 2: MAC protocols.
CSCI 465 D ata Communications and Networks Lecture 21 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Data Link Layer Moving Frames. Link Layer Protocols: ethernet, wireless, Token Ring and PPP Has node-to-node job of moving network layer.
جلسه یازدهم شبکه های کامپیوتری به نــــــــــــام خدا.
LOCAL AREA NETWORKS. CSMA/CD Carrier Sense Multiple Access with Collision Detection The CSMA method does not specify the procedure following a collision.
17 - Winter 2005 ECE ECE 766 Computer Interfacing and Protocols 1 Local Area Networks Need for high performance communications for physically close devices.
Medium Access Control Sub Layer
Multiple Access.
LANs : Aloha/CSMA , summary
Ethernet. Ethernet (802.3) 1-persistent CSMA, CD, binary exponential backoff Carrier sense: station listens to channel first. 1-persistent: If idle, station.
CS3502: Data and Computer Networks Local Area Networks - 1 introduction and early broadcast protocols.
LECTURE9 NET301 11/5/2015Lect 9 NET DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies.
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)
Carrier Sense Multiple Access Improve ALOHA by using carrier sense –Stations listen to the carrier before transmitting –If channel is busy, the station.
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.
1 Multiple Access: Ethernet Section Point-to-Point vs. Broadcast Media Point-to-point –PPP for dial-up access –Point-to-point link between Ethernet.
Medium Access Control Protocols, Local Area Networks, and Wireless Local Area Networks Lecture Note 10.
Ch. 16 Ethernet Traditional Ethernet IEEE Medium Access Control –Carrier Sense Multiple Access with Collision Detection (CSMA/CD) –The most.
COMPUTER NETWORKS Data-link Layer (The Medium Access Control Sublayer) MAC Sublayer.
Multiple Access By, B. R. Chandavarkar, CSE Dept., NITK, Surathkal Ref: B. A. Forouzan, 5 th Edition.
Example DLL Protocols 1. High-Level Data Link Control (HDLC).
Data Link Layer Lower Layers Local Area Network Standards
Week3 The Medium Access Sublayer
Lab 7 – CSMA/CD (Data Link Layer Layer)
CS 457 – Lecture 6 Ethernet Spring 2012.
Net301 lecture9 11/5/2015 Lect 9 NET301.
Services of DLL Framing Link access Reliable delivery
Learning Objectives After interacting with this Learning Object, the learner will be able to: Explain the process of collision detection in CSMA/CD.
Data Communication Networks
Presentation transcript:

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 amount of time (how long?), re-sends frame after waiting a random amount of time (otherwise?) –It continues to retry for a number of times and then gives up. (What happens then?) –Receivers check FCS and destination address to ACK the peak utilization with an average of 0.5 frame attempted every frame time. (Wait a minute.)

Slotted Aloha Performance How long does it take to send a frame? one success k-1 failures Expected number of transmissions

Carrier Sense Multiple Access (CSMA) Stations sense the medium before transmitting. This can reduce the vulnerable period.

CSMA 1-persistent –If medium is idle, then transmit. –If medium is not idle, then wait until it is and then transmit. p-persistent (for slotted channels only) –If medium is idle, then transmit. –If medium is not idle, then wait until it is idle –Once idle then transmit with probability p. And wait for the next slot with probability 1-p and repeat. Problem: when a collision occurs, it lasts for a long time, the whole frame transmission time. We shall see that for 10Mbps Ethernet, the max frame time is 1.2ms, but the max time to detect collision is 50microsec.

Carrier Sense Multiple Access with Collision Detection CSMA/CD When transmitting, detect if a collision is occurring. If a collision is occurring, abort as soon as possible and wait a random amount of time before retrying. After beginning transmission, how long until we know that we have control of the channel? Twice the propagation delay.

CSMA/CD After beginning transmission, how long until we know that we have control of the channel? Twice the propagation delay. Let T be the propagation delay. At t=0, node 1 begins transmission. Suppose that at t=T-  node 2 begins to transmit. At t=T, node 2 detects the collision. At t=2T- , node 1 detects the collision. Keeping propagation delay small can improve efficiency. After a collision is detected, often a jamming signal is applied. This slightly increases the contention interval.

CSMA/CD What happens if the propagation is too long and frame too short? Frame transmission time must be at least twice as long as the propagation delay. 10Mbps ethernet – one bit takes ? Propagation sec/meter = ? 10base max length is 2500 meters (with repeaters). So minimum frame size is ? But the the repeaters add some time, so roundtrip propagation delay < 50microsec. So minimum frame = ? What would be the minimum frame for 100Mbps, 1Gbps?

CSMA/ CD

Ethernet 10Base510Base210Base-T10Base-FP MediumCoaxialCoaxialUTP850nm fiber SignalingBasebandBasebandBasebandManchester ManchesterManchesterManchesterOn/Off TopologyBusBusStarStar Nodes

Frame Layout Preamble = ….10 for 56 bits – allows the PLL to synchronize Start of Frame – 1 byte DA - destination address – MAC address SA - source address – MAC address Length – 2 bytes Data – so that total length is at least 64 bytes no more than CRC 4 bytes. Efficiency = ( )/1500

Ethernet Address MAC address 6 bytes = 7x10 13 address Each interface has its own address. There are no duplicate address. Types of destination address All bits are one then broadcast, all card on LAN read this packet. This is used to learn about which other machines are on LAN, DHCP and also can be used in a network attack (but not anymore). Unicast address. Multicast address. If the first bit is one, then the address corosponds to a multicast group. All the members of the group read this packet.

CSMA/CD with Exponential Backoff Time is divided into 51.2 micro sec slots. If a collision occurs, then each host waits either 0 or 1 slot times before trying again. If this fails, they wait either 0, 1, 2, or 3 slot times….. However, the maximum slot times to wait is And after 16 total tries, it gives up and signals upper layer. Performance – with large frames, Ethernet get about 85% efficiency.

Hubs and Switches 10base-T To the hosts, the wires appear to be connected. But there may be so circuitry there. Hub

Switches Fewer collisions No collisions In the switch there can be much intelligence. The packets are buffered and the packets only go to the correct card or set of cards. This stops packet sniffing.