CS3505: Loca Area Networks CSMA/CD : IEEE 802.3 and LAN Internetworks.

Slides:



Advertisements
Similar presentations
1 UNIT I (Contd..) High-Speed LANs. 2 Introduction Fast Ethernet and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet Fibre Channel Fibre Channel High-speed.
Advertisements

Topic 7 Local Area Networks (LAN)
Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
Chapter 5 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the operation of the Ethernet sublayers.
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.
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.
Physical and Logical Topologies Lecture 2 Mariusz Nowostawski INFO333.
Ethernet Kenneth Castelino. Network Architecture - Protocols Physical: Actual signal transmission Data-Link: Framing / Error Detection Network: Routing.
Internetworking School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 4, Tuesday 1/30/2007)
Network Concepts. Networks LAN WAN Main Concepts n Protocol n Media n Topology.
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
Chapter 15: LAN Systems Business Data Communications, 4e.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
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)
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
For more notes and topics visit: eITnotes.com.
Connecting LANs, Backbone Networks, and Virtual LANs
Network Devices 1.
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.
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.
LECTURE 9 CT1303 LAN. LAN DEVICES Network: Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and.
© 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.
20 LAN Hardware Overview Version A.01 H3065S Module 2 Slides.
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.
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.
CS3502: Data and Computer Networks Local Area Networks - 4 Bridges / LAN internetworks.
Jaringan Komputer Dasar Ethernet Aurelio Rahmadian.
1 Ethernet & IEEE Cisco Section 7.3 Stephanie Hutter October 2000.
CT1303 LAN LECTURE 15.
Link Layer: MAC Ilam University Dr. Mozafar Bag-Mohammadi.
Ethernet Term Paper Introduced by: Almarshood, Yosef Bahaitham, Ahmed Alrashudi, Ahmed.
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.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
1 Kyung Hee University Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs.
 LANs – A Definition - A local area network (LAN) is a computer network covering a small physical area, like a home, office, or small group of buildings,
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Local Area Networks.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information.
1 CS4550: Computer Networks II Review Data Link Layer.
LANs : Aloha/CSMA , summary
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Link Layer MAC Dr. Mozafar Bag-Mohammadi University of Ilam.
Networks Network Components. Learning Objectives Describe different media for transmitting data and their carrying capabilities. Explain the different.
Rehab AlFallaj.  Network:  Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and do specific task.
Internetworking School of Business Eastern Illinois University © Abdou Illia, Spring 2016 (February 3, 2016)
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.
Ch. 16 Ethernet Traditional Ethernet IEEE Medium Access Control –Carrier Sense Multiple Access with Collision Detection (CSMA/CD) –The most.
Networking Devices.
Part III Datalink Layer 10.
Connecting LANs, Backbone Networks
Chapter 12 Local Area Networks
Protocol layering and data
Part III Datalink Layer 10.
LAN Hardware Concepts Module 3 H3065S F.00 [Course Title]
7- chapter Seven Local Area Networks (LAN)
Chapter 12 Local Area Networks
Protocol layering and data
Chapter 12 Local Area Networks
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.
Presentation transcript:

CS3505: Loca Area Networks CSMA/CD : IEEE and LAN Internetworks

CSMA/CD CSMA/CD  basic LAN architecture and protocol  most widespread LAN; estimate: more that 50% of all LANs on the Internet... implemented by many different companies  developed by Robert Metcalfe, XEROX PARC, early 1970s..... led to founding of “3COM” company, (Santa Clara). [later Metcalfe sold his company for $400M)

CSMA / CD : basic protocol  broadcast medium  first version used bus when the MAC receives a packet to transmit: 1. sense carrier (listen); if no signal detected then begin Xmitting message, & continue sensing; if collision detected then Xmit jam, stop Xmitting, wait, then goto (1); when end-of-packet Xmitted, END. else {carrier is busy} go to (1)

CSMA / CD : basic protocol  the “wait random time” is precisely defined: binary exponential backoff  physical encoding: digital signals, manchester encoding. Broadcast medium.  because collisions are detected, wasted time is short

CSMA / CD : backoff algorithm binary exponential backoff (BACKOFF)  1 slot = 51.2  s  time following collision measured in slots  a random slot between 1 and 1023 is chosen, and the packet is retransmitted then

CSMA / CD : backoff algorithm  example: suppose 2 stations collide. What happens?  what is Prob [another collision]?  why measure time in 51.2  s slots?

CSMA / CD : frame format length: 64 to 1518 bytes preamble : 7 bytes; SOF : 1 byte; DA,SA : 2/6 bytes; length : 2 bytes; data : ; pad : 0-46; FCS : 4

CSMA / CD : topologies, media, etc.  transmission media  coaxial cable (decreasing)  twisted pair (Cat 5, widely used)  fiber (less common but increasing)  topologies  bus - original design; used for many years  star with dumb or smart hub; now usual  data rates  10 Mbps  100 Mbps  Gbps where needed available

CSMA / CD : network components  medium (coax, tp, fiber)  transceivers  drop cable; station to coax  NIC (MAC protocol logic)  repeaters (needed to extend coax)  test equipment  hub (multiport repeater) : for star configuration  bridges (to connect to other LANs)

CSMA / CD : physical layout coax. cable, physical(and logical) bus CSMA/CD

CSMA / CD : physical layout star/hub configuration. physical star, logical bus 2-twisted pair connections; hub is a repeater

CSMA / CD : some specifics  prop speed 0.77 c on coax, 0.59 c on t.p.  at most 4 repeaters between 2 stations; so at most 5 cable segments  500 m /segment max, or 2000 with repeaters (coax);  drop cables 25 m max  max 100 stations per segment on coax  at least 2.5 m between adjacent receivers on coax  at most 1024 stations per ethernet

CSMA / CD : standard s IEEE : several physical configurations:  10BASE5 : baseband coaxial cable; original  10BASE2 : thin coaxial cable; cheaper alternative  10BASE-T : twisted pair, hub configuration  10BROAD36 : uses broadband coax (TV cable)  10BASE-F : fiber  100BASE-X : fiber OR twisted pair NOTE: all use the same frame format and basic MAC protocol

CSMA / CD : practical considerations  you have 3 PCs in your house; what will it take (equipment/dollars) to connect them together ?  design or plan a network for a small business with machines (PCs, Macs, etc), which is located in a single building. (eqmt, dollars)

CS3505: Bridges / LAN internetworks

Bridges : connecting LANs together  why do we need to connect LANs  what is a bridge?  types of bridges  routing in LAN internetworks  comparison: bridges, routers, repeaters  connecting similar LANs  connecting dissimilar LANs

why LANs need to be connected 1. connect 2 existing LANs (CS, math) 2. LAN too big; split it, but stay connected -- too many stations or traffic for one LAN 3. connect geographically separate LANs offices in different towns 4. reduce collisions --increase efficiency 5. security --help restrict traffic to one LAN

bridge : what is it?  low level “switch” that connects two or more LANs. “low level” => “MAC layer”  transparent : there is no change in the LANs or in the protocols of the networks  able to do simple routing  retains the simplicity and flexibility of LANs  faster than “software” switches (routers)  reasonable cost; cheaper than routers

bridge or switch? terminology  1st bridges sold in 1984, were 2-ports  early 1990s, multiport bridges appeared; were called “switches” by marketing vendors; technically no difference between a “switch” (layer 2) and a bridge  multiple LANs connected by high port density bridges commonly called “switched LANs” - actually an internet of LANs  “switching hub”, “LAN switch” - other terms for a multiport bridge

bridges & LAN connectors :types  local bridge  remote (2 half bridges)  same LAN, different LAN  two port, multiport  hub (not a bridge)  repeater (not a bridge)  router(not a bridge)

bridge : basic function suppose a bridge B connects networks X & Y. Then B : 1. reads all packets on X and Y, noting the destination, source addresses (DA, SA) 2. each packet on Y with DA on X is copied and transmitted on X. 3. each packet on X with DA on Y is copied, transmitted on Y.  the bridge operates on X, Y using the MAC protocol of those LANs.

bridge connecting 2 ethernets

notes on bridges  all stations have unique MAC addresses  bridge must “know” which LAN station is on  multi-port bridges - similar; extends to multiple LANs  no change or adjustment in NIC needed; bridge completely transparent  bridge operates on each LAN using the MAC protocol  remote (half bridge) - may use another protocol between the 2 half bridges, while using MAC on each LAN

LAN internet

half - bridge, connecting 2 LANs  2 halves communicate through some other protocol, e.g., PPP, HDLC.

bridges - routing  how do bridges “know” which packets to forward, and in which direction? 2 basic techniques : 1. fixed routing - the information is loaded manually into the bridge (typing it in, etc.). This info is then stored in a routing table. 2. dynamic routing: “learning bridges” - the bridge “learns” where the stations are by watching the traffic on its ports

bridges - routing  for fixed routing, many topologies possible  dynamic routing - the internet must be configured as a tree; this simplifies routing  tree : LANs and bridges are the nodes, and the links between them are the edges, and  LANs can be connected only to bridges, not (directly) to other LANs  if a cycle exists, the bridges will detect it and remove one from the active network, so that a tree structure is maintained

bridges - dynamic routing  bridge has a routing table, 3 fields : [ dest.address,next port #, time] when bridge receives a packet [DA,SA] on port X: 1. if SA found in table, reset timer, else add [SA, port#, time ] to table. 2. if [DA] found in table send packet out on next port indicated; else send packet on all ports except X.

bridge dynamic routing  timer: typical value : 300 seconds (why have the timer? is this a good default value?)  given the tree structure, bridges will learn a station’s direction (explain how?)  MAC addresses could be divided into (network, station) parts. If so, tables can be made smaller, but same algorithm used.

bridges, routers, repeaters, hubs  repeaters : simply connect 1 cable to another, repeat the bits. No routing decisions or filtering.  hubs : serve to extend the ethernet. No routing or filtering of messages.  bridges - connect LANs together at the MAC layer; filter and rout messages at the MAC layer.  routers -. Layer 3/3.5 (internet). Software, IP protocol.. Usually more expensive. Discussed in CS