1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.

Slides:



Advertisements
Similar presentations
Ethernet. Most successful local area networking technology of last 20 years. Developed in the mid-1970s by researchers at the Xerox Palo Alto Research.
Advertisements

2.5 Reliable Transmission
Chapter 2: Direct Link Networks (continued) Slide Set 5.
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.
1 Shared Access Networks Outline Bus (Ethernet) Token ring (FDDI) Wireless (802.11)
CSE331: Introduction to Networks and Security Lecture 5 Fall 2002.
Chapter 14 LAN Systems Ethernet (CSMA/CD) ALOHA Slotted ALOHA CSMA
Network Concepts. Networks LAN WAN Main Concepts n Protocol n Media n Topology.
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
Spring 2002CS 4611 Shared Access Networks Outline Bus (Ethernet) Token ring (FDDI) Wireless (802.11)
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.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
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…
Spring 2003CS 4611 Shared Access Networks Outline Bus (Ethernet) Token ring (FDDI) Wireless (802.11)
1 LAN Topologies, Access methods (Week 1, Wednesday 1/10/2007) © Abdou Illia, Spring 2007.
Distributed Systems Module 1 -Basic networking Teaching unit 1 – LAN standards Ernesto Damiani University of Bozen-Bolzano Lesson 3 – Introduction to Ethernet.
Ethernet Outline Multiple Access and Ethernet Intro Ethernet Framing CSMA/CD protocol Exponential backoff.
Lecture 16 Random Access protocols r A node transmits at random at full channel data rate R. r If two or more nodes “collide”, they retransmit at random.
Lecture 8: Ethernet and Token Ring Networks. Ethernet Carrier Sense, Multiple Access and Collision Detect (CSMA/CD) LAN Ethernet Standard-DEC, Intel,
Spring 2006CS 3321 Chapter 2 Tidbits Outline A little hardware Ethernet Realistic data transfer rates.
Enhanced CSMA Additional improvement  Use CSMA access  Listen while transmitting  Stop immediately if collision sensed  Called collision detection.
Chapter Five Network Architecture. Chapter Objectives  Describe the basic and hybrid LAN technologies  Describe a variety of enterprise-wide and WAN.
Review: Medium Access Control Sublayer –What is the problem to be addressed in this sublayer? –Protocols that allow collision Pure ALOHA Slotted ALOHA.
© NOKIADEFAULT.PPT / / AO page: 1 IP in LANs.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 17.
Chapter 13 Wired LANs: Ethernet
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
Ch. 16 High-Speed LANs The Emergence of High- Speed LANs Trends –Computing power of PCs has continued to grow. –MIS organizations recognize the.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 16.
Network Technologies Chapter 2. Approaches to Network Communication Connection-Oriented –Circuit-switched –A dedicated connection (circuit) is formed.
Logical & Physical Topologies A logical technology is how the hosts are connected logically example token Ring can be laid out in a physical star but.
Layer 2 Technologies At layer 2 we create and transmit frames over communications channels Format of frames and layer 2 transmission protocols are dependent.
14-Oct-15Computer Networks1 Reliable Transmission.
1 Ethernet & IEEE Cisco Section 7.3 Stephanie Hutter October 2000.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
Ethernet Standards DIX consortium – Mbps Ethernet 1 st Blue book – 1980 IEEE group takes over – Project 802 –802.1 – High Level Interface –HLI –
Multiple Access Readings: Kurose & Ross, 5.3, 5.5.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. Medium Access Control Asst. Prof. Chaiporn.
Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information.
1Ethernet Lecture # 12 Computer Communication & Networks.
LANs : Aloha/CSMA , summary
Transport Layer: Sliding Window Reliability
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 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.
1 Direct Link Networks: Reliable Transmission Sections 2.5.
Simple LAN Topologies  Terminators stop signals after they have reached their destination  Signal bounce –Phenomenon in which signals travel endlessly.
COMPUTER NETWORKS Lecture-8 Husnain Sherazi. Review Lecture 7  Shared Communication Channel  Locality of Reference Principle  LAN Topologies – Star.
Lec # 23 Data communucation Muhammad Waseem Iqbal 1ethernet.
Ch. 16 Ethernet Traditional Ethernet IEEE Medium Access Control –Carrier Sense Multiple Access with Collision Detection (CSMA/CD) –The most.
CS380 Int. to Comp. Networks Data Link Networks - Part II1 Reliable Transmission How to fix corrupted frames. –Error correcting codes too expensive –Should.
Data Link Layer Lower Layers Local Area Network Standards
The University of Adelaide, School of Computer Science
Advanced Computer Networks
Getting Connected (Chapter 2 Part 3)
Chapter 14 LAN Systems Ethernet (CSMA/CD) ALOHA Slotted ALOHA CSMA
Ethernet Outline Multiple Access and Ethernet Intro Ethernet Framing
Chapter 12 Local Area Networks
Getting Connected (Chapter 2 Part 3)
Reliable transmission
Protocol layering and data
7- chapter Seven Local Area Networks (LAN)
Protocol layering and data
Ethernet Outline Multiple Access and Ethernet Intro Ethernet Framing
Ethernet 16EC351 Computer networks unit II Mr.M.Jagadesh,AP/ECE.
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.
Ethernet Outline Multiple Access and Ethernet Intro Ethernet Framing
Presentation transcript:

1 CS716 Advanced Computer Networks By Dr. Amir Qayyum

Lecture No. 9

3 Sequence Number Space SeqNum field is finite; sequence numbers wrap around Sequence number space must be larger than number of outstanding frames ( SWS )

4 Sequence Number Space SWS <= MaxSeqNum-1 is not sufficient –Suppose 3-bit SeqNum field (0..7); SWS=RWS=7 –Sender transmits frames 0..6; which arrive successfully (receiver window advances) –ACKs are lost; sender retransmits 0..6 –Receiver expecting 7, 0..5, but receives second incarnation of 0..5 assuming them as 8 th to 13 th frame

5 Required Sequence Number Space ? Assume SWS=RWS (simplest, and typical) –Sender transmits full SWS –Two extreme cases at receiver None received (waiting for 0…SWS-1) All received (waiting for SWS…2*SWS-1)

6 Required Sequence Number Space ? All possible packets must have unique SeqNum SWS < (MaxSeqNum+1)/2 or SWS+RWS < MaxSeqNum+1 is the correct rule Intuitively, SeqNum “slides” between two halves of sequence number space

7 What Next ? Arbitrating access to a shared medium After that: network adapters and example protocols

8 Shared Access Networks Outline Bus (Ethernet) Token ring (FDDI) Wireless (802.11) Network Adapter

9 Shared Access Media Arbitrating access to a shared media –Multiple hosts on a single link

10 Multiple Access Media Multiple senders on some media –Buses (Ethernet, including links in switched form) –Radio, satellite –Token rings …

11 Multiple Access Media Need method to moderate access –Fair arbitration –Good performance

12 Shared Media Communication needs vary –Over time –Between hosts Network is not fully utilized

13 Shared Media Recall methods for multiplexing –Frequency-division multiplexing (FDM, separate bands) –Time-division multiplexing (TDM, synchronous time slots) –Statistical TDM (STDM, time slots on demand) STDM most appropriate with stated assumptions

14 Shared Media: Problems Problem: demands can conflict, e. g., two hosts send simultaneously –STDM does not address this problem - centralized –Solution is a medium access control (MAC) algorithm

15 Shared Media: Solutions Three solutions (out of many) –Carrier sense multiple access with collision detection (CSMA / CD) Send only if medium is idle Stop sending immediately if collision detected –Token ring/FDDI pass a token around a ring; only token holder sends –Radio / wireless (IEEE )

16 Ethernet

17 History of Ethernet Developed by Xerox PARC in mid-1970s Roots in Aloha packet-radio network Standardized by Xerox / DEC / Intel in 1978 Similar to IEEE standard IEEE 802.3u standard defines Fast Ethernet (100 Mbps) New switched Ethernet now popular

18 Ethernet Topologies Bus— all nodes connected to a wire Star— all nodes connected to a central repeater Combinations thereof...

19 Ethernet Adaptor Segment of up to 500 m Nodes tap into segments Taps must be 2.5m apart Transceiver performs carrier sensing Transceiver transmits and receive signals Protocol is implemented in the adaptor

20 Ethernet – Alternative Technologies Can be constructed from a thinner cable (10Base2) rather than 50-ohm coax cable (10Base5) Newer technology uses 10BaseT (twisted pair) –Several point-to-point segments coming out of a multiway repeater called “hub”

21 Ethernet Components 10Base5 (ThickNet) Controller (Ethernet Card) Vampire Tap Transceiver Bus Topology

22 Ethernet Components 10Base2 (ThinNet) Controller (Ethernet Card) BNC T-junction Transceiver Bus Topology

23 Ethernet Components 10BaseT (Twisted Pair) Controller (Ethernet Card) Hub Star Topology

24 Ethernet – Multiple Segments Repeaters forward the broadcast signal on all out going segments (10Base5) Maximum of 4 repeaters (2500m), 1024 hosts Repeater Host … … …

25 Ethernet Packet Frame Preamble allows the receiver to synchronize with signal Frame must contain at least 46 bytes to detect collision standard substitutes length with type field –Type field (demux key) is the first thing in data portion –A device can accept both frames: type > 1500 Dest addr CRCPreamble Src addr TypeBody 1648

26 Ethernet Address Addresses –Unique, 48-bit unicast address assigned to each adapter –Example: 8:0:e4:b1:2 –Broadcast: all 1 s –Multicast: first bit is 1 –Promiscuous mode Problem remains: A distributed algorithm that provides fair access

27 Ethernet MAC – CSMA/CD Multiple access –Nodes send and receive frames over a shared link Carrier sense –Nodes can distinguish between an idle and busy link Collision detection –A node listens as it transmits to detect collision

28 CSMA/CD MAC Algorithm If line is idle (no carrier sensed) –Send immediately –Upper bound message size of ~1500 bytes –Must wait 9.6µs between back-to- back frames

29 CSMA/CD MAC Algorithm If line is busy (carrier sensed) … –Wait until the line becomes idle and then transmit immediately –Called 1-persistent (special case of p- persistent) If collision detected –Stop sending data and jam signal –Try again later

30 Collision Detection How to ensure that my-machine knows about the collision? Start transmission at time 0 my-machine your-machine Start transmission at time T Almost there at time T Collision !!!

31 Constraints on Collision Detection In our example, consider –my-machine’s message reaches your- machine at T –your-machine’s message reaches my- machine at 2T Thus, my-machine must still be transmitting at 2T

32 Constraints on Collision Detection Specifics of IEEE –Bounds 2T to 51.2 microseconds –Packet must be at least 64B long Jam after the collision, for 32 bits, then stop transmitting frame (runt frame of 96 bits) –Ensures that all hosts notice collision

33 Review Lecture 9 Shared access networks Shared media: issues Ethernet Topologies, technologies Segments Frame format, Addresses MAC protocol: CSMA/CD