Module 8: Ethernet Switching

Slides:



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

CCNA3 v3 Module 7 v3 CCNA 3 Module 7 JEOPARDY K. Martin.
CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
Chabot College Chapter 2 Review Questions Semester IIIELEC Semester III ELEC
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
CCNA 3 v3.1 Module 4.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
Nov-03 ©Cisco Systems CCNA Semester 1 Version 3 Comp11 Mod8 – St. Lawrence College – Cornwall Campus, ON, Canada – Clark slide 1 Cisco Systems CCNA Version.
CCNA 1 v3.1 Module 8 Review.
Copyright 2003 CCNA 1 Chapter 6, part 2 Ethernet Switching By Your Name.
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
1. 2 Overview Shared Ethernet works extremely well under ideal conditions. When the number of devices trying to access the network is low, the number.
Introduction to IT and Communications Technology Justin Champion C208 – 3292 Ethernet Switching CE
Networking Basics CCNA 1 Chapter 8
Cisco CCNA v3.0 Chapter 8 Ethernet Switching
Semester 1 Module 8 Ethernet Switching Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Chapter 4: Managing LAN Traffic
1 CISCO NETWORKING ACADEMY PROGRAM (CNAP) SEMESTER 1/ MODULE 8 Ethernet Switching.
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
Network Devices.
1/28/2010 Network Plus Network Device Review. Physical Layer Devices Repeater –Repeats all signals or bits from one port to the other –Can be used extend.
Connectivity Devices Hakim S. ADICHE, MSc
S3C2 – LAN Switching Addressing LAN Problems. Congestion is Caused By Multitasking, Faster operating systems, More Web-based applications Client-Server.
Chapter 6 – Connectivity Devices
Prof. Dr. R.Nitsch, FH Darmstadt CCNAv30 – Semester 1 – Module 8 - Ethernet Switching Reiner Nitsch 
Module 8: Ethernet Switching
CCNA 3 Week 4 Switching Concepts. Copyright © 2005 University of Bolton Introduction Lan design has moved away from using shared media, hubs and repeaters.
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 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
OSI Model. Switches point to point bridges two types store & forward = entire frame received the decision made, and can handle frames with errors cut-through.
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
CCNA 1 v3.0 Module 8 Ethernet Switching. Copyright © 2005 University of Bolton Issues with Ethernet On busier shared ethernet networks, collisions become.
Click to edit Master subtitle style
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 8 Ethernet Switching Claes Larsen, CCAI.
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.
LAN Switching Concepts. Overview Ethernet networks used to be built using repeaters. When the performance of these networks began to suffer because too.
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.
Computer Networks. Internetworking Devices Network Interface Card (NIC) Repeaters HUB Bridge Switch Router.
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning Tree Protocol.
Switching Concepts Introduction to Ethernet/802.3 LANs
Ethernet Switching CCNA 1 CCNA 1. 2 Need for Switching When the number of devices trying to access the network is low, the number of collisions stays.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
Ethernet Switching Md.Ariful Islam(Shohag) B.Sc(Hons) in CS Microland Mob :
CCNA1 v3 Module 8 v3 CCNA 1 Module 8 JEOPARDY S Dow.
Lec # 25 Computer Network Muhammad Waseem Iqbal. Learn about the Internetworking Devices – Repeaters – Hubs – Switches – Bridges – Routers.
Connectors, Repeaters, Hubs, Bridges, Switches, Routers, NIC’s
Network Devices Repeaters, hubs, bridges, switches, routers, NIC’s.
Youngstown State University Cisco Regional Academy
Introduction to Networks v6.0
Instructor Materials Chapter 5: Ethernet
Networking Devices.
Part III Datalink Layer 10.
Network connectivity to the legacy wired LAN
Chapter 4 Data Link Layer Switching
Hubs Hubs are essentially physical-layer repeaters:
CCNA 1 v3.1 Module 8 Ethernet Switching
Network Devices Hub Definition:
CS4470 Computer Networking Protocols
Part III Datalink Layer 10.
Chapter 15. Connecting Devices
Network connectivity to the legacy wired LAN
Connectors, Repeaters, Hubs, Bridges, Switches, Routers, NIC’s
CCNA 1 v3.1 Module 8 Ethernet Switching
Presentation transcript:

Module 8: Ethernet Switching James Chen ydjames@ydu.edu.tw 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Outline 8.1 Ethernet Switching Layer 2 bridging Layer 2 switching Switch operation Latency Switch modes Spanning-Tree Protocol 8.2 Collision Domains and Broadcast Domains Shared media environments Collision domains Segmentation Layer 2 broadcasts Broadcast domains Introduction to data flow What is a network segment? 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness 8.1 Ethernet Switching 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Layer 2 bridging Ethernet is a shared media. Only one node can transmit data at a time. Within Ethernet physical segment more nodes more contention more retransmissions Break the large segment into parts and separate it into isolated collision domains. 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Layer 2 bridging (cont.) Example : Host A is pinging Host B. The address of Host A is added to its bridge table. The address of Host B has not been recorded yet as only the source address of a frame is recorded. Host B processes the ping request and transmits a ping reply back to Host A. The address of Host B is added to its bridge table. Host A is now going to ping Host C. The address of Host C has not been recorded yet as only the source address of a frame is recorded. Host C processes the ping request and transmits a ping reply back to Host A. The address of Host C is added to its bridge table. When Host D transmits data, its MAC address will also be recorded in the bridge table. 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Layer 2 bridging (cont.) 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Layer 2 switching Generally, a bridge has only two ports and divides a collision domain into two parts. All decisions made by a bridge are based on MAC or Layer 2 addressing and do not affect the logical or Layer 3 addressing. A switch dynamically builds and maintains a Content-Addressable Memory (CAM) table, holding all of the necessary MAC information for each port. A bridge will divide a collision domain but has no effect on a logical or broadcast domain. 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Switch operation A switch is essentially a multi-port bridge. When only one host is connected to a switch port, the two nodes (the switch port & host) share this small segment, or collision domain. The small physical segment is called microsegment. Most switches are capable of supporting full duplex. No contention for the full duplex media. The bandwidth is doubled when using full duplex. Content-addressable memory (CAM) is memory that essentially works backwards compared to conventional memory. Entering data into the memory will return the associated address. Using CAM allows a switch to directly find the port that is associated with a MAC address without using search algorithms. Application-specific integrated circuit (ASIC) -> speed up 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Latency Latency is the delay between the time a frame first starts to leave the source device and the time the first part of the frame reaches its destination. A wide variety of conditions can cause delays as a frame travels from source to destination: Media delays caused by the finite speed (10/100/1000Mbps) that signals can travel through the physical media. Circuit delays caused by the electronics that process the signal along the path. Software delays caused by the decisions that software must make to implement switching and protocols. Delays caused by the content of the frame. For example, a device cannot route a frame to a destination until the destination MAC address has been read. (RARP in routers) 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Switch modes How a frame is switched to the destination port is a trade off between latency and reliability. Cut-through A switch can start to transfer the frame as soon as the destination MAC address is received. Store-and-forward The switch receives the entire frame before sending it out the destination port. To verify the Frame Check Sum (FCS). Fail > it is discarded. Fragment-free The switch reads the first 64 bytes (frame header). This mode verifies the reliability of the addressing and Logical Link Control (LLC) protocol information to ensure the destination and handling of the data will be correct. 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Switch modes (cont.) Synchronous switching Both the source port and destination port must be operating at the same bit rate. cut-through Asynchronous switching The bit rates of both sides are not the same, the frame must be stored at one bit rate before it is sent out at the other bit rate. store-and-forward Asymmetric switching It provides switched connections between ports of unlike bandwidths. It is optimized for client/server traffic flows in which multiple clients simultaneously communicate with a server, requiring more bandwidth dedicated to the server port to prevent a bottleneck at that port. 2018/11/22 Yu Da College of Bussiness

Spanning-Tree Protocol To prevent switch loops and broadcast storms. Usually caused by design errors or accident. redundant paths : to provide for reliability and fault tolerance Each switch in a LAN using STP sends special messages called Bridge Protocol Data Units (BPDUs) out all its ports to let other switches know of its existence and to elect a root bridge for the network. The switches then use the Spanning-Tree Algorithm (STA) to resolve and shut down the redundant paths. Each port on a switch using Spanning-Tree Protocol exists in one of the following five states: 2018/11/22 Yu Da College of Bussiness

Spanning-Tree Protocol(cont.) 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness 8.2 Collision Domains and Broadcast Domains 2018/11/22 Yu Da College of Bussiness

Shared media environments Layer 1 media and topologies : Shared media environment Extended shared media environment Accommodate for multiple access or longer cable distances. Point-to-point network environment dialup network connections. Collisions only occur in a shared environment. 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Collision domains Collisions cause the network to be inefficient. All transmission stops for a period of time. The length of this period of time without transmissions varies and is determined by a backoff algorithm for each network device.  2018/11/22 Yu Da College of Bussiness

Collision domains (cont.) Layer 1 devices do not break up collision domains, Layer 2 and Layer 3 devices do break up collision domains. Breaking up, or increasing the number of collision domains with Layer 2 and 3 devices is also known as segmentation.  2018/11/22 Yu Da College of Bussiness

Collision domains (cont.) In a small network a single collosion domain can work just fine as there is little contention for the network media. This type of network is fine for an isolated network that does not require much data transmission. But as the network starts to grow, the contention for the line becomes greater and a larger number of collisions start to occur. As the network continues to grow, the contention for the line becomes greater and even starts to effect the performance of the computers on the network. Finally when the collision domain becomes too big and network transmission demands become too great. The number of collisions practically shuts the network down. 2018/11/22 Yu Da College of Bussiness

Collision domains (cont.) The round-trip delay calculation must be within certain limits otherwise all the workstations will not be able to hear all the collisions on the network. Repeater latency, propagation delay, and NIC latency all contribute to the four repeater rule. A late collision is when a collision happens after the first 64 bytes (512 bits) of the frame are transmitted. The chipsets in NICs are not required to retransmit automatically when a late collision occurs. The 5-4-3-2-1 rule : 5 segments of network media 4 repeaters or hubs 3 host segments of the network 2 link sections (no hosts) 1 large collision domain 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Round_Trip Delay 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Segmentation Layer 2 devices segment or divide collision domains. Keep tracking of the MAC addresses and which segment they are on. Layer 3 devices, like Layer 2 devices, do not forward collisions. Layer 3 devices and their functions will be covered in more depth in the section on broadcast domains.  2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Layer 2 broadcasts Destination MAC address 0xFFFFFFFFFFFF Layer 2 devices must flood all broadcast and multicast traffic. 2018/11/22 Yu Da College of Bussiness

Layer 2 broadcasts (cont.) Because the NIC must interrupt the CPU to process each broadcast or multicast group it belongs to (no discard), broadcast radiation affects the performance of hosts in the network. Workstations broadcast an Address Resolution Protocol (ARP) request every time they need to locate a MAC address that is not in the ARP table. 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness Broadcast domains Broadcasts are forwarded by Layer 2 devices. Broadcast domains are controlled at Layer 3 because routers do not forward broadcasts. Layer 3 forwarding is based on the destination IP address and not the MAC address. Use router to segment broadcast domains. 2018/11/22 Yu Da College of Bussiness

Introduction to data flow Layer 1 devices do no filtering, so everything that is received is passed on to the next segment. Layer 2 devices filter data frames based on the destination MAC address. Layer 3 devices filter data packets based on IP destination address. Data flow through a routed IP based network. 2018/11/22 Yu Da College of Bussiness

What is a network segment? 2018/11/22 Yu Da College of Bussiness

Yu Da College of Bussiness END 2018/11/22 Yu Da College of Bussiness