Brierley 1 Module 4 Module 4 Introduction to LAN Switching.

Slides:



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

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
Chabot College ELEC VLAN. Data Link Sublayers LLC (Logical Link Control) MAC (Media Access Control)
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.
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.
Chapter 8: Local Area Networks: Internetworking. 2 Objectives List the reasons for interconnecting multiple local area network segments and interconnecting.
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.
1 Interconnection ECS 152A. 2 Interconnecting with hubs r Backbone hub interconnects LAN segments r Extends max distance between nodes r But individual.
1 Chapter 8 Local Area Networks - Internetworking Data Communications and Computer Networks: A Business User’s Approach.
Ethernet Frame PreambleDestination Address Source Address Length/ Type LLC/ Data Frame Check Sequence.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 1: Internetworking.
Switches in Networking B. Konkoth. Network Traffic  Scalability  Ability to handle growing amount of work  Capability of a system to increase performance.
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
Connecting LANs, Backbone Networks, and Virtual LANs
Module 4 – Switching Concepts
Network Devices 1.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—2-1 Ethernet LANs Solving Network Challenges with Switched LAN Technology.
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
Semester 1 Module 8 Ethernet Switching Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Chapter 6 High-Speed LANs Chapter 6 High-Speed LANs.
Ch. 4 – Switching Concepts CCNA 3 version 3.0. Overview Ethernet networks used to be built using repeaters. When the performance of these networks began.
Introduction1-1 Data Communications and Computer Networks Chapter 5 CS 3830 Lecture 27 Omar Meqdadi Department of Computer Science and Software Engineering.
1 CISCO NETWORKING ACADEMY PROGRAM (CNAP) SEMESTER 1/ MODULE 8 Ethernet Switching.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
S3C2 – LAN Switching Addressing LAN Problems. Congestion is Caused By Multitasking, Faster operating systems, More Web-based applications Client-Server.
Switches 1RD-CSY  In this lecture, we will learn about  Collision Domain and Microsegmentation  Switches – a layer two device ◦ MAC address.
Module 8: Ethernet Switching
Chapter Overview Bridging Switching Routing.
CCNA 3 Week 4 Switching Concepts. Copyright © 2005 University of Bolton Introduction Lan design has moved away from using shared media, hubs and repeaters.
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
Networks and Protocols CE Week 2a. Network hardware.
Version 4.0 Ethernet Network Fundamentals – Chapter 9 Sandra Coleman, CCNA, CCAI.
Semester 3—LAN Switching Chapter 2 Objectives  By the end of this chapter we will be able to perform tasks related to: – Various LAN Communication Problems.
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.
Switches 1RD-CSY  In this lecture, we will learn about  Collision Domain and Microsegmentation  Switches – a layer two device ◦ MAC address.
CCNA 1 v3.0 Module 8 Ethernet Switching. Copyright © 2005 University of Bolton Issues with Ethernet On busier shared ethernet networks, collisions become.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
1 Chapter 8 Local Area Networks - Internetworking.
LAN Switching and Wireless Basic Switch Concepts and Configuration.
STORE AND FORWARD & CUT THROUGH FORWARD Switches can use different forwarding techniques— two of these are store-and-forward switching and cut-through.
LAN Switching Concepts. Overview Ethernet networks used to be built using repeaters. When the performance of these networks began to suffer because too.
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.
Copyright 2002Cisco Press: CCNA Instructor’s Manual Year 2 - Chapter 16/Cisco 4 - Module 9 CCNA Certification Exam Review By Your Name.
Ethernet Overview it the IEEE standard for Ethernet.
Switching Concepts Introduction to Ethernet/802.3 LANs
Identify basic switching concepts and the operation of Cisco switches.
LAN Switching Semester 3, Chapter 2 Allan Johnson.
CISCO NETWORKING ACADEMY Chabot College ELEC Ethernet Switches.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
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.
1 Pertemuan 6 Introduction to Ethernet/802.3 LANs.
1 CCNA 3 v3.1 Module 4 Switching Concepts Claes Larsen, CCAI.
CCNA3 v3 Module 4 v3 CCNA 3 Module 4 JEOPARDY K. Martin.
Pertemuan 7 Introduction to LAN Switching and Switch Operation
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
Link Layer 5.1 Introduction and services
Hubs Hubs are essentially physical-layer repeaters:
Hubs Hubs are essentially physical-layer repeaters:
Module 8: Ethernet Switching
Connectors, Repeaters, Hubs, Bridges, Switches, Routers, NIC’s
Presentation transcript:

Brierley 1 Module 4 Module 4 Introduction to LAN Switching

Brierley 2 Objectives LAN congestion and its effect on network performance LAN congestion and its effect on network performance Advantages of LAN segmentation in a network Advantages of LAN segmentation in a network Advantages and disadvantages of using bridges, switches, and routers for LAN segmentation Advantages and disadvantages of using bridges, switches, and routers for LAN segmentation Effects of switching, bridging, and routing on network throughput Fast Ethernet technology and its benefits Effects of switching, bridging, and routing on network throughput Fast Ethernet technology and its benefits

Brierley 3

4

5 CSMA/CD prevents multiple devices from transmitting at the same time.

Brierley 6 The Ethernet/802.3 Interface Ethernet is known as a shared-medium technology – all the devices are connected to the same delivery media. Ethernet is known as a shared-medium technology – all the devices are connected to the same delivery media. Ethernet media uses a data frame broadcast method of transmitting and receiving data to all nodes on the shared media. Ethernet media uses a data frame broadcast method of transmitting and receiving data to all nodes on the shared media.

Brierley 7 Standard Ethernet using Carrier Sense Multiple Access/ Collision Detection (CSMA/CD) and a shared medium can support data transmission rates of up to 10 Gbps (gigabits per second). Standard Ethernet using Carrier Sense Multiple Access/ Collision Detection (CSMA/CD) and a shared medium can support data transmission rates of up to 10 Gbps (gigabits per second). Goal of Standard Ethernet is to provide a best effort delivery service and allow all devices on the shared medium to transmit on an equal basis. Goal of Standard Ethernet is to provide a best effort delivery service and allow all devices on the shared medium to transmit on an equal basis.

Brierley 8  The data frame broadcast delivery nature of Ethernet/802.3 LANs  CSMA/CD access methods allow only one station to transmit at a time.  Network congestion due to increased bandwidth demands from multimedia applications such as video and the Internet.  Normal latency (propagation delay) of frames as they travel across the LAN layer 1 media and pass through layer 1, 2 and 3 networking devices.  Extending the distances of the Ethernet/802.3 LANs using Layer 1 repeaters. Performance of a shared media Ethernet/802.3 LAN can be negatively effected by several factors.

Brierley 9 Half-Duplex Design Loopback Tx Tx Rx Rx Collision Detection Ethernet Controller Tx Tx Rx Rx Collision Detection Ethernet Controller Transmit Receive Loopback Ethernet NIC Ethernet physical connector provides several circuits Most important are TX (transmit), RX (receive), and CD (collision detection)

Brierley 10 Half-Duplex Ethernet Design (Standard Ethernet) The most important of these circuits are the receive (RX), transmit (TX), and CD (collision detection0. The most important of these circuits are the receive (RX), transmit (TX), and CD (collision detection0. The transmit (TX) circuit is active at the transmitting station. The transmit (TX) circuit is active at the transmitting station. The receive (RX) circuit is active at the receiving station. The receive (RX) circuit is active at the receiving station.

Brierley 11 To the network this appears as a single one way bridge. To the network this appears as a single one way bridge. Both devices are contending for the right to use the single shared medium. Both devices are contending for the right to use the single shared medium. The CD (collision detection) circuit on each node contends for the use of the network when the two nodes attempt to transmit at the same time. The CD (collision detection) circuit on each node contends for the use of the network when the two nodes attempt to transmit at the same time. After a collision occurs, the hosts will resume transmitting based on the hold time calculated by a back-off algorithm. After a collision occurs, the hosts will resume transmitting based on the hold time calculated by a back-off algorithm. Then the host will determine if the network is clear before attempting to retransmit. Then the host will determine if the network is clear before attempting to retransmit.

Brierley 12

Brierley 13 Congestion and Bandwidth To relieve network congestion more bandwidth is needed or the available bandwidth must be used more efficiently. To relieve network congestion more bandwidth is needed or the available bandwidth must be used more efficiently. “Throwing bandwidth at the problem”. This could be attacking the symptom and not the problem. “Throwing bandwidth at the problem”. This could be attacking the symptom and not the problem.

Brierley 14

Brierley 15 Propagation Delay Latency is also known as Propagation delay is the time a frame or packet requires to travel from the source to destination on the network. Latency is also known as Propagation delay is the time a frame or packet requires to travel from the source to destination on the network. The greater the number of devices the greater the latency or propagation delay The greater the number of devices the greater the latency or propagation delay adding hosts simply increases collisions, increases jam signals decreasing throughput. adding hosts simply increases collisions, increases jam signals decreasing throughput.

Brierley 16

Brierley 17 Ethernet Transmission Times Each Ethernet bit uses a 100ns window for transmission. Each Ethernet bit uses a 100ns window for transmission. A byte is equal to eight bits. A byte is equal to eight bits. Therefore, one byte takes a minimum of 800ns to transmit (8 bits at 100ns = 800ns). Therefore, one byte takes a minimum of 800ns to transmit (8 bits at 100ns = 800ns).

Brierley 18 A 64 byte frame requires 51,200ns or 51.2 microseconds to transmit A 64 byte frame requires 51,200ns or 51.2 microseconds to transmit 1 Ethernet bit uses a 100ns window for transmission. 1 Ethernet bit uses a 100ns window for transmission. A byte is equal to eight bits. A byte is equal to eight bits. Therefore, one byte takes a minimum of 800ns to transmit (8 bits at 100ns = 800ns). Therefore, one byte takes a minimum of 800ns to transmit (8 bits at 100ns = 800ns). 1 microsecond = 1000 nanoseconds 1 microsecond = 1000 nanoseconds 1 byte = 8 bits 1 byte = 8 bits (64 bytes at 800ns) = 51,200ns (64 bytes at 800ns) = 51,200ns (51,200ns/1000) = 51.2 microseconds). (51,200ns/1000) = 51.2 microseconds).

Brierley 19

Brierley 20 Extending Shared Media LANs using Repeaters Signal attenuation –Signal weakens as they travels through the network due to resistance in the medium. Signal attenuation –Signal weakens as they travels through the network due to resistance in the medium. A repeater is used to extend the geography of a LAN allowing more users to share that same network. A repeater is used to extend the geography of a LAN allowing more users to share that same network.

Brierley 21

Brierley 22 Improving LAN Performance The performance of a network can be improved in a shared media LAN by: The performance of a network can be improved in a shared media LAN by:  Segmenting the network using bridges, routers, or switches  Using full duplex transmitting  Upgrade to a faster Ethernet standard

Brierley 23

Brierley 24 Segment LANs? Each segment uses the (CSMA/CD) protocol to manages traffic on the segment. Each segment uses the (CSMA/CD) protocol to manages traffic on the segment. By segmenting a network - less devices are sharing the same bandwidth By segmenting a network - less devices are sharing the same bandwidth Each segment is its own collision domain. Each segment is its own collision domain.

Brierley 25

Brierley 26 Segmented LANs? In a segmented Ethernet LAN messages passed between segments is transmitted on a network backbone using a bridge, switch, or router. In a segmented Ethernet LAN messages passed between segments is transmitted on a network backbone using a bridge, switch, or router. The backbone network is its own collision domain and uses CSMA/CD to manage between segments. The backbone network is its own collision domain and uses CSMA/CD to manage between segments.

Brierley 27

Brierley 28 Segmentation with Bridges Bridges are Layer 2 devices, independent of Layer 3 protocols used by routers Bridges are Layer 2 devices, independent of Layer 3 protocols used by routers they transmit data frames regardless of which Layer 3 protocol is being used they transmit data frames regardless of which Layer 3 protocol is being used They are transparent to the other devices on the network. They are transparent to the other devices on the network. Bridges increase latency (delay) in a network by 10-30%. Bridges increase latency (delay) in a network by 10-30%.Why?

Brierley 29 A bridge is by default a store and forward device A bridge is by default a store and forward device It examines the destination MAC address to determine through which interface the frame will be forward. It examines the destination MAC address to determine through which interface the frame will be forward. If there is no match in the CAM table, the frame is flooded out all other interfaces If there is no match in the CAM table, the frame is flooded out all other interfaces Bridges “learn” network segments by building an address table, a CAM (Content Address Memory), containing the (MAC) address of each network device that accesses the bridge and pairs it with its network segment. Bridges “learn” network segments by building an address table, a CAM (Content Address Memory), containing the (MAC) address of each network device that accesses the bridge and pairs it with its network segment. Collision domains are created, not broadcast domains. Collision domains are created, not broadcast domains.

Brierley 30

Brierley 31

Brierley 32 Segmentation using Routers Routers operate at network layer and base routing decisions on the Layer 3 IP protocol address. Routers operate at network layer and base routing decisions on the Layer 3 IP protocol address. Routers perform higher level functions than do bridges consequently they operate at a higher latency. Routers perform higher level functions than do bridges consequently they operate at a higher latency.

Brierley 33 Routers? Segment broadcast domains Segment broadcast domains Forward packets based on destination network layer addresses, i.e. IP Forward packets based on destination network layer addresses, i.e. IP Segment collision domains Segment collision domains

Brierley 34 More collision domains, but more bandwidth for each user

Brierley 35

Brierley 36 Segmentation with LAN Switches A switch segments a LAN into microsegments creating collision free domains from one larger collision domain, not broadcast domains. A switch segments a LAN into microsegments creating collision free domains from one larger collision domain, not broadcast domains. Switched Ethernet available bandwidth can reach close to 100%. Switched Ethernet available bandwidth can reach close to 100%.

Brierley 37

Brierley 38 LAN Switch Latency Each switch on an Ethernet LAN adds latency to the network. Each switch on an Ethernet LAN adds latency to the network. The type of switching used can help overcome the built in latency of some switches. The type of switching used can help overcome the built in latency of some switches.

Brierley 39

Brierley 40 Full-Duplex Ethernet Overview Full duplex Ethernet allows the transmission of a packet and the reception of a packet at the same time. Full duplex Ethernet allows the transmission of a packet and the reception of a packet at the same time. Requires two pairs of conductors and a switched connection between each node Requires two pairs of conductors and a switched connection between each node

Brierley 41 Simultaneous transmission and reception of frames is called bidirectional traffic (two-way) and on a 10Mbps circuit yields 20Mbps of throughput. Simultaneous transmission and reception of frames is called bidirectional traffic (two-way) and on a 10Mbps circuit yields 20Mbps of throughput. The network interface cards (NICs) on both ends of the circuit require full duplex capabilities. The network interface cards (NICs) on both ends of the circuit require full duplex capabilities.

Brierley 42 Full-Duplex Ethernet Design Transmit circuit connects directly to receive circuit No collisions Significant performance improvement Eliminates contention on Ethernet point-to-point links Uses a single port for each full-duplex connection TX Full Duplex Ethernet Controller Loopback Tx Tx Rx Collision Detection RX Full Duplex Ethernet Controller Loopback Tx Tx Rx Collision Detection

Brierley 43 Using Full Duplex Nodes must –Be directly attached to a dedicated switched port –Have installed network interface card that supports full duplex Full Duplex Half Duplex HUB

Brierley 44 Full-Duplex Ethernet Design Standard Ethernet normally can only use % of the 100Mbps available bandwidth. This is due to collisions and latency. This is due to collisions and latency. Full duplex Ethernet offers 100% of the bandwidth in both directions. Full duplex Ethernet offers 100% of the bandwidth in both directions. This produces a potential 200Mbps throughput – 100Mbps TX and 100Mbps RX. This produces a potential 200Mbps throughput – 100Mbps TX and 100Mbps RX.

Brierley 45

Brierley 46

Brierley 47 This virtual network circuit exists only when two nodes need to communicate this circuit is established within the switch. This virtual network circuit exists only when two nodes need to communicate this circuit is established within the switch. It Allows multiple users to communicate in parallel via these virtual circuits. It Allows multiple users to communicate in parallel via these virtual circuits.

Brierley 48

Brierley 49 Source MAC address is used to build this table

Brierley 50

Brierley 51 How a LAN Switch Learns Addresses When messages are received by the switch their: When messages are received by the switch their: addresses are read and stored in the CAM (Content Address Memory). addresses are read and stored in the CAM (Content Address Memory). Each time an address is stored it is time stamped. Each time an address is stored it is time stamped. This allows addresses to be stored for a set period of time. This allows addresses to be stored for a set period of time.

Brierley 52 But more domains

Brierley 53 Benefits of Switching A LAN switch allows many users to communicate in parallel : A LAN switch allows many users to communicate in parallel : through the use of virtual circuits through the use of virtual circuits dedicated network segments dedicated network segments in a collision free environment. in a collision free environment. Very cost effective. Very cost effective.

Brierley 54

Brierley 55 Symmetric Switching A symmetric switch is optimized through even distribution of network traffic across the entire network. A symmetric switch is optimized through even distribution of network traffic across the entire network. All networks using the same bandwidth. All networks using the same bandwidth.

Brierley 56 before forwarding

Brierley 57 Asymmetric Switching Asymmetric switching is best exemplified in client-server network traffic flows where multiple clients are simultaneously communicating with a server. Asymmetric switching is best exemplified in client-server network traffic flows where multiple clients are simultaneously communicating with a server. Each usually at a lower bandwidth than the server Each usually at a lower bandwidth than the server

Brierley 58

Brierley 59 Memory Buffering The area of memory where the switch stores the destination and transmission data is called the memory buffer. The area of memory where the switch stores the destination and transmission data is called the memory buffer. This memory buffer can make use of two methods for forwarding packets: This memory buffer can make use of two methods for forwarding packets: port based memory buffering port based memory buffering shared memory buffering. shared memory buffering.

Brierley 60 Port based memory buffering packets are stored in queues that are linked to specific incoming ports. Port based memory buffering packets are stored in queues that are linked to specific incoming ports. Problem: One port may fill while another is empty. Problem: One port may fill while another is empty. Shared memory buffering deposits all packets into a common memory buffer that is shared by all the ports on the switch. (Better!) Shared memory buffering deposits all packets into a common memory buffer that is shared by all the ports on the switch. (Better!)

Brierley 61 3 frame transmission modes in a switch (+one variation)

Brierley 62 Three Switching Methods Store and Forward - the entire frame is received before any forwarding takes place. Store and Forward - the entire frame is received before any forwarding takes place. Latency occurs while the frame is being received; the latency is greater with larger frames because the entire frame takes longer to read. Latency occurs while the frame is being received; the latency is greater with larger frames because the entire frame takes longer to read. Error detection is high because of the time available to the switch to check for errors while waiting for the entire frame to be received. Error detection is high because of the time available to the switch to check for errors while waiting for the entire frame to be received.

Brierley 63 Cut-through the switch reads the destination address before receiving the entire frame. Cut-through the switch reads the destination address before receiving the entire frame. The frame is then forwarded before the entire frame arrives. The frame is then forwarded before the entire frame arrives. This mode decreases the latency of the transmission and has poor error detection. This mode decreases the latency of the transmission and has poor error detection.

Brierley 64 Fragment-Free Switching The switch reads only the 1st 64 bytes of the incoming frame and then forwards the frame to its destination port The switch reads only the 1st 64 bytes of the incoming frame and then forwards the frame to its destination port

Brierley 65 Means the switch is in cut through mode

Brierley 66 Adaptive Cut Through Combines cut through with store and forward Combines cut through with store and forward The switch uses cut-through until there are a given number of errors The switch uses cut-through until there are a given number of errors Then the switch will change to store and forward method Then the switch will change to store and forward method

Brierley 67 Emerging Trends: The Network Evolution Shared to Switched The New Wiring Closet VLAN System LAN Campus Switch The New Backbone The Old Wiring Closet HUB

Brierley 68 Benefits of Switches Number of collisions reduced Simultaneous, multiple communications High-speed uplinks Improved network response Increased user productivity

Brierley 69 Module 4 Module 4 Switching Concepts END