CS4470 Computer Networking Protocols

Slides:



Advertisements
Similar presentations
Network Devices Repeaters, hubs, bridges, switches, routers, NICs.
Advertisements

5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
1 Fall 2005 Extending LANs Qutaibah Malluhi CSE Department Qatar University Repeaters, Hubs, Bridges, Fiber Modems, and Switches.
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
1 Computer Networks Internetworking Devices. 2 Repeaters Hubs Bridges –Learning algorithms –Problem of closed loops Switches Routers.
CSCI 4550/8556 Computer Networks Comer, Chapter 11: Extending LANs: Fiber Modems, Repeaters, Bridges and Switches.
Internetworking School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 4, Tuesday 1/30/2007)
1 Interconnection ECS 152A. 2 Interconnecting with hubs r Backbone hub interconnects LAN segments r Extends max distance between nodes r But individual.
1 Interconnecting LAN segments Repeaters Hubs Bridges Switches.
1 K. Salah Module 4.3: Repeaters, Bridges, & Switches Repeater Hub NIC Bridges Switches VLANs GbE.
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
COMPUTER NETWORKS.
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
Connecting LANs, Backbone Networks, and Virtual LANs
Chapter 11 Extending LANs: Fiber Modems, Repeaters, Bridges, & Switches Hub Bridge Switch.
Semester 1 Module 8 Ethernet Switching Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
CSC 336 Data Communications and Networking Lecture 7d: Interconnecting LAN Dr. Cheer-Sun Yang Spring 2001.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. Extending LANs Asst. Prof. Chaiporn Jaikaeo,
CS3502: Data and Computer Networks Local Area Networks - 4 Bridges / LAN internetworks.
Connectivity Devices Hakim S. ADICHE, MSc
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
5: DataLink Layer5a-1 Chapter 5: The Data Link Layer Last time: r multiple access protocols and LANs r link layer addressing, ARP r specific link layer.
Chapter 9 - LAN Wiring, Physical Topology and Interface Hardware Introduction Speeds of LANs and computers Network interface hardware I/O interfaces Network.
Chapter 6 – Connectivity Devices
Extending LANs Fiber modems Repeaters Bridges Switches.
1 Chapter 11 Extending Networks (Repeaters, Bridges, Switches)
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
Cisco 3 – Switching Concepts Perrine. J Page 16/1/2016 Module 4 The use of bridges and switches for segmentation results in ____? 1.Multiple broadcast.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Computer Networks 15-1 Chapter 15. Connecting LANs, Backbone Networks, and Virtual LANs 15.1 Connecting devices 15.2 Backbone networks 15.3 Virtual LANs.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
NET 324 D Networks and Communication Department Lec1 : Network Devices.
1 Data Link Layer Lecture 23 Imran Ahmed University of Management & Technology.
Cisco Network Devices Chapter 6 powered by DJ 1. Chapter Objectives At the end of this Chapter you will be able to:  Identify and explain various Cisco.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Chapter 11 Extending LANs 1. Distance limitations of LANs 2. Connecting multiple LANs together 3. Repeaters 4. Bridges 5. Filtering frame 6. Bridged network.
CCNA Guide to Cisco Networking Chapter 2: Network Devices.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
CS470 Computer Networking Protocols Huiping Guo Department of Computer Science California State University, Los Angeles 2. Ethernet.
Extending LANs using Repeaters, Bridges, and Switches.
1 Ch 11 Extending LANs Fiber modems, Repeaters, Bridges, and Switches.
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Internetworking School of Business Eastern Illinois University © Abdou Illia, Spring 2016 (February 3, 2016)
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
4: DataLink Layer1 Hubs r Physical Layer devices: essentially repeaters operating at bit levels: repeat received bits on one interface to all other interfaces.
Computer Communication and Networking Lecture # 4 by Zainab Malik 1.
5: DataLink Layer5-1 Hubs Hubs are essentially physical-layer repeaters: m bits coming from one link go out all other links m at the same rate m no frame.
Chapter Objectives After completing this chapter you will be able to: Describe in detail the following Local Area Network (LAN) technologies: Ethernet.
Lec # 25 Computer Network Muhammad Waseem Iqbal. Learn about the Internetworking Devices – Repeaters – Hubs – Switches – Bridges – Routers.
COMPUTER NETWORKS CS610 Lecture-13 Hammad Khalid Khan.
Connectors, Repeaters, Hubs, Bridges, Switches, Routers, NIC’s
1 Packet Switching Outline Switching and Forwarding Bridges and Extended LANs.
Network Devices Repeaters, hubs, bridges, switches, routers, NIC’s.
Chapter 3 Part 1 Switching and Bridging
Chapter 16– Connecting LANs
Networking Devices.
Part III Datalink Layer 10.
Connecting Devices LANs or WANs do not normally operate in isolation. They are connected to one another or to the Internet. To connect LANs or WANs, we.
Now (switched network)
Chapter 4 Data Link Layer Switching
Hubs Hubs are essentially physical-layer repeaters:
Chapter 3 Part 1 Switching and Bridging
Hubs Hubs are essentially physical-layer repeaters:
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Communication Networks NETW 501
Part III Datalink Layer 10.
Chapter 15. Connecting Devices
Connectors, Repeaters, Hubs, Bridges, Switches, Routers, NIC’s
Presentation transcript:

CS4470 Computer Networking Protocols 12/31/2018 CS4470 Computer Networking Protocols 5. Data Link Layer 3 Huiping Guo Department of Computer Science California State University, Los Angeles

Outline Overview of data link layer LANs Framing Error detection 12/31/2018 Outline Overview of data link layer Framing Error detection LANs Topologies Ethernet Extended LANs 5. Link CS4470

LAN Distance Limitations LANs use shared medium - Ethernet, token ring Why limit the length of LANs Fare Access CSMA/CD –with minimum frame size, if propagation delay too long we won’t detect collision while transmitting Hardware is engineered to emit a fixed amount of electrical power An electrical signal gradually becomes weaker as it travels along a copper wire. 5. Link CS4470

LAN Distance Limitations Standards set a maximum distance for LANs 10BaseT 100m per segment 10Base2 185m per segment 10Base5 500m per segment Can extend distances Repeaters/Hubs Bridges/Switches 5. Link CS4470

Repeaters A bidirectional, analog amplifier that retransmits analog signals Simply copy signals between segments Do not understand frame formats or addresses Act on bits One repeater can effectively double the length of an LAN segment, e.g. 100m to 200m 5. Link CS4470

Hubs Hubs act as repeaters Connect multiple LAN segments hub 5. Link CS4470

Limits on Repeaters/Hubs Can't extend Ethernet with repeaters infinitely At most 4 repeaters CSMA/CD requires low delay if medium is too long, CSMA/CD won't work Run into the problem of not being able to detect collisions while transmitting the frame 5. Link CS4470

Limits on Repeaters/Hubs 12/31/2018 Limits on Repeaters/Hubs Repeaters/Hubs don’t understand frames Don’t distinguish between signals that correspond to a valid frame and other electrical signals If a collision or electrical interference occurs on one segment, repeaters cause the same problem to occur on all other segments Even two computers are in the different LAN segments, they cannot transmit at the same time Aside from hubs, bridges are used today in favor of repeaters 5. Link CS4470

Bridges A device that connects two LANs Act on frames List to traffic on each segment When it receives a frame from LAN1, it checks the destination address In LAN1? Discard! In LAN2? Go to 3) The frame arrived intact? Yes! Forward it to LAN2 No! discard 5. Link CS4470

Bridge Operation 5. Link CS4470

Advantages of Bridges They help isolate problems Don’t forward interference signals in one segment to another Don’t forward collisions from one segment to another Only forward complete and correct frames 5. Link CS4470

Frame filtering A bridge doesn’t forward a frame unless necessary How to determine whether to forward a frame? A bridge receives a frame from LAN1 Checks the destination address If the destination address is in LAN1, discard the frame If not, forward the frame on the other segment 5. Link CS4470

Frame filtering (cont.) How does a bridge know which computers are attached to which segment? Adaptive learning Bridges can learn automatically No configurations required 5. Link CS4470

Bridge Learning Algorithm Receive some data packet on some input port Look at the packet’s source MAC address. If it’s not a broadcast address then: Lookup address in internal lookup table If not in the table, store it in the table using the address and the port it is on If it is in the table, change the entry if it’s on a different port 5. Link CS4470

Bridge Operation Example 5. Link CS4470

Exercise Four LANs are connected by three bridges. Each bridge maintains two tables which describe what stations are in each LAN. Initially, all the tables are empty. 5. Link CS4470

Exercise Show how the tables of the four bridges change after each of the following events happen in sequence. A sends a frame to B A sends a frame to F F sends a frame to A E sends a frame to I G sends a frame to H H sends a BROADCAST frame. D sends a frame to G G sends a frame to D H sends a frame to C A moves to LAN3 and then sends a frame to B 5. Link CS4470

5. Link CS4470 Actions Bridge 1 Bridge 2 Bridge 3 LAN 1 LAN 2 LAN2 a.A sends a frame to  B  A   A b. A sends a frame to F c. F sends a frame to A  F F A,F d. E sends a frame to I  F,E A  F, E A,F,E e. G sends a frame to H   F,E,G  A,G  F, E  A,F,E G f. H sends a BROADCAST frame.   F,E,G,H A,G,H G,H g. D sends a frame to G  F,E,G,H,D A,G, H,D A,F,E,D  G,H h. G sends a frame to D  A,G, H,D  A,F,E,D i. H sends a frame to C F,E,G,H,D  F, E  j. A moves to LAN3 and then sends a frame to B  F,E,G,H,D,A G, H,D  F, E,A 5. Link CS4470

Multiple LANs 5. Link CS4470

Multiple Bridges Anything wrong with this picture? 5. Link CS4470

A cycle of bridges Bridged LANs contain a loop and all bridges forward broadcast frames frames flow around the cycle forever Computers on all segments receive an infinite number of copies How to prevent this? A bridged network must NOT allow both of the following conditions to occur simultaneously All bridges forward all broadcast frames The bridged network contains a cycle of bridged segments. 5. Link CS4470

A cycle of bridges A network is managed by more than one administrator In such a setting, it is possible that no single person knows the entire configuration of the network A bridge that closes a loop might be added without anyone knowing Loops are built into the network on purpose Redundancy is provided to make the network more immune o failure Bridges must be able to handle loops Run a distributed spanning tree algorithm 5. Link CS4470

Switches Switches are similar to bridges They both operate at the link layer They both know frame addresses The two terms are often used interchangeably 5. Link CS4470

Combining switches and hubs 5. Link CS4470

Switch example Suppose C sends a frame to D address interface 1 2 3 A B E G 1 2 3 hub hub hub A I D F B G C H E Switch receives frame from from C notes in the switch table that C is on interface 1 because D is not in table, switch forwards frame into interfaces 2 and 3 frame received by D 5. Link CS4470

Switch example Suppose D replies back with frame to C. address interface 1 2 3 A B E G C 1 2 3 hub hub hub A I D F B G C H E Switch receives frame from from D notes in switch table that D is on interface 2 because C is in table, switch forwards frame only to interface 1 frame received by C 5. Link CS4470

Switches and Bridges? Most switches act just like a bridge Segments traffic Typically implements spanning tree algorithm Has more ports than a bridge 5. Link CS4470

Hub vs. Bridge vs. Switch A B C D E F hub A B C A B C D E F switch 5. Link CS4470