Ethernet LANs Chapter 4 Panko’s Business Data Networks and Telecommunications, 6th edition Copyright 2007 Prentice-Hall May only be used by adopters of.

Slides:



Advertisements
Similar presentations
Topic 7 Local Area Networks (LAN)
Advertisements

Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 4-1 Multi-Switch Ethernet LAN Operation.
Larger Site Networks Part 1. 2 Small Site –Single-hub or Single- Switch Ethernet LANs Large Site –Multi-hub Ethernet LANs –Ethernet Switched Site Networks.
COS 338 Day 7. DAY 7 Agenda Questions? Capstone Proposal must be approved by OCT 6 Submit at any time (prior to Oct 6) using format specified in Capstone.
Repeaters can Mix PHY Standards Repeater NIC BNC AUI Connectors RJ-45 UTPDrop Cables 10Base5 Trunk Cable 10Base2 10Base-T.
1 10Base-T Ethernet LAN Copyright 1998 Panko. 2 LANs u Local Area Networks u Limited Geographical Area –Single office –Single building –University campus.
Chapter 5. Ethernet BasicsPhysical Layer Ethernet StandardsData Link Layer Ethernet StandardsEthernet Security 2 © 2013 Pearson.
CSC 450/550 Part 3: The Medium Access Control Sublayer More Contents on the Engineering Side of Ethernet.
1 Version 3.0 Module 6 Ethernet Fundamentals. 2 Version 3.0 Why is Ethernet so Successful? In 1973, it could carry data at 3 Mbps Now, it can carry data.
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Ethernet Kenneth Castelino. Network Architecture - Protocols Physical: Actual signal transmission Data-Link: Framing / Error Detection Network: Routing.
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
Ethernet LANs Chapter Figure 4-1: A Short History of Ethernet Standards Ethernet –The dominant wired LAN technology today –Only “competitor” is.
Review on Networking Technologies Linda Wu (CMPT )
1 LAN Topologies, Access methods (Week 1, Wednesday 1/10/2007) © Abdou Illia, Spring 2007.
Chapter 2 Review of Computer Network Technology
Chapter 5 Revised August 2013 Panko and Panko Business Data Networks and Security, 9 th Edition © 2013 Pearson Panko and Panko Business Data Networks and.
1 Computer Networks Course: CIS 3003 Fundamental of Information Technology.
Connecting LANs, Backbone Networks, and Virtual LANs
Infrastructure de Communications – CR 4107Chapter 41 The Medium Access Control Sublayer Chapter 4.
Chapter 6 High-Speed LANs Chapter 6 High-Speed LANs.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 4-1 Ethernet LANs Chapter 4 Updated January 2009 Raymond Panko’s Business Data Networks and.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 17.
1 10Base-T Ethernet LAN. 2 LANs u Local Area Networks u Limited Geographical Area –Single office –Single building –University campus or industrial park.
Ethernet BasicsPhysical Layer Ethernet StandardsData Link Layer Ethernet StandardsEthernet Security 1 © 2013 Pearson.
Ethernet LANs Chapter 4 Updated January 2007 Panko’s Business Data Networks and Telecommunications, 6th edition Copyright 2007 Prentice-Hall May only be.
Ethernet Two nodes transmit at the same time
Introduction to IT and Communications Technology Justin Champion C208 – 3292 Ethernet Fundamentals CE
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.
Network Technologies Chapter 2. Approaches to Network Communication Connection-Oriented –Circuit-switched –A dedicated connection (circuit) is formed.
Ethernet LANs Chapter 4 Panko’s Business Data Networks and Telecommunications, 6th edition Copyright 2007 Prentice-Hall May only be used by adopters of.
LAN Topologies and Standards Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 14 Local Area Networks: Ethernet.
Module 8: Ethernet Switching
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 4-1 Ethernet LANs Chapter 4 Raymond Panko’s Business Data Networks and Telecommunications, 7th.
Ethernet Term Paper Introduced by: Almarshood, Yosef Bahaitham, Ahmed Alrashudi, Ahmed.
Local Area Networks: Ethernet. IEEE Background Institution of Electrical and Electronic Engineering (IEEE) A professional non-profit organization Project.
1 Data Link Layer Lecture 22 Imran Ahmed University of Management & Technology.
Other LAN Technologies Chapter 5 Copyright 2003 Prentice-Hall Panko’s Business Data Networks and Telecommunications, 4 th edition.
 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,
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Ethernet Network Fundamentals – Chapter 9.
Other LAN Technologies. 2 LAN Standards u 802 Working Groups –802.3Ethernet LANs –802.5Token-Ring Networks –802.11Radio LANs – VG-AnyLAN.
Ethernet LANs Chapter 4 Updated January 2009 XU Zhengchuan Fudan University.
Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information.
NETWORK HARDWARE CABLES NETWORK INTERFACE CARD (NIC)
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 4-1 Ethernet LANs Chapter 4 Updated January 2009 Raymond Panko’s Business Data Networks and.
Ethernet LANs Ethernet IEEE Working Group
1 Ethernet LAN. 2 LANs u Local Area Networks u Limited Geographical Area –Single office –Single building –University campus or industrial park u Generally,
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
The Building Blocks: LAN Shared and Switched Ethernet Connecting Devices Ethernet Access Methods Network Operating Systems Best Practice LAN Designs.
Copyright 2002Cisco Press: CCNA Instructor’s Manual Year 2 - Chapter 16/Cisco 4 - Module 9 CCNA Certification Exam Review By Your Name.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 4-1 Ethernet LANs Chapter 4 Updated January 2009 Raymond Panko’s Business Data Networks and.
Suntorn Witosurapot Communication networks and networking for managers Suntorn Witosurapot Contact Address: Phone: or
Lesson 4—Networking BASICS1 Networking BASICS Network Architectures Unit 2 Lesson 4.
IEEE 802.X Standards The Institute of Electrical and Electronics Engineers (IEEE) has developed a series of networking standards to ensure that networking.
Ethernet LANs Chapter 4 Copyright 2004 Prentice-Hall Panko’s Business Data Networks and Telecommunications, 5 th edition.
1 Ethernet CSE 3213 Fall February Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed.
Chapter Objectives After completing this chapter you will be able to: Describe in detail the following Local Area Network (LAN) technologies: Ethernet.
Ch. 16 Ethernet Traditional Ethernet IEEE Medium Access Control –Carrier Sense Multiple Access with Collision Detection (CSMA/CD) –The most.
ETHERNET Yash Vaidya. Introduction Ethernet is a family of computer networking technologies for local area networks (LANs). Ethernet was commercially.
Ethernet LANs Chapter 4 Panko’s Business Data Networks and Telecommunications, 5th edition Copyright 2005 Prentice-Hall.
Networking Devices.
NETWORK TOPOLOGIES There are three basic configurations used to connect computers they are the Bus Ring Star.
Ethernet LANs Chapter 4 Updated January 2007
Ethernet LAN 1 1.
Presentation transcript:

Ethernet LANs Chapter 4 Panko’s Business Data Networks and Telecommunications, 6th edition Copyright 2007 Prentice-Hall May only be used by adopters of the book

4-2 Orientation Chapters 2 and 3 Looked at Standards –Chapter 2: Layered standards (data link to application) –Chapter 3: Physical layer standards Chapters 4-7 Deal With Single Networks –Chapter 4: Ethernet LANs Chapter 4a deals with obsolete Token-Ring Networks –Chapter 5: Wireless LANs –Chapters 6 and 7: WANs –Flow is from LANs to WANs

4-3 Figure 4-1: A Short History of Ethernet Standards Ethernet –The dominant wired LAN technology today –Only “competitor” is wireless LANs (which actually are supplementary) The IEEE 802 Committee –LAN standards development is done primarily by the Institute for Electrical and Electronics Engineers (IEEE) –IEEE created the 802 LAN/MAN Standards Committee for LAN standards (the 802 Committee)

4-4 Figure 4-1: A Short History of Ethernet Standards The 802 Committee creates working groups for specific types of standards –802.1 for general standards –802.3 for Ethernet standards The terms and Ethernet are interchangeable – for wireless LAN standards – for WiMax wireless metropolitan area network standards

4-5 IEEE 802 Standards IEEE Higher layer LAN protocols IEEE Logical link control IEEE Ethernet IEEE Token bus IEEE Token Ring IEEE Metropolitan Area Networks IEEE Broadband LAN using Coaxial Cable IEEE Fiber Optic TAG IEEE Integrated Services LAN IEEE Interoperable LAN Security IEEE Wireless LAN (Wi-Fi certification) IEEE demand priority IEEE Cable modems IEEE Wireless PAN IEEE (Bluetooth certification) IEEE Broadband Wireless Access (WiMAX certification) IEEE e (Mobile) Broadband Wireless Access IEEE Resilient packet ring IEEE Radio Regulatory TAG IEEE Coexistence TAG IEEE Mobile Broadband Wireless Access IEEE Media Independent Handoff IEEE Wireless Regional Area Network

4-6 Figure 4-1: A Short History of Ethernet Standards Ethernet Standards are OSI Standards –Single networks, including LANs, are governed by physical and data link layer standards –Layer 1 and Layer 2 standards are almost universally OSI standards –Ethernet is no exception –The IEEE makes standards; ISO ratifies them –In practice, when finishes standards, vendors begin building compliant products

Ethernet Physical Layer Standards

4-8 Figure 4-3: Baseband Versus Broadband Transmission Baseband Transmission Source Signal Transmitted Signal (Same) Transmission Medium Signal is injected directly into the transmission medium (wire, optical fiber) Inexpensive, so dominates wired LAN transmission technology BASE in standard names means baseband

4-9 Figure 4-3: Baseband Versus Broadband Transmission, Continued Broadband Transmission Source Radio Tuner Modulated Signal Radio Channel The radio tuner modulates the signal to a higher frequency. The transceiver then sends the signal in a radio channel. Expensive but needed for radio-based networks. Not used in Ethernet, but is used in wireless LANs (discussed in Chapter 5).

4-10 Figure 4-2: Ethernet Physical Layer Standards Physical Layer Standard Medium Required Maximum Run Length Speed UTP 100BASE-TX4-pair Category 5 or higher 100 meters100 Mbps 1000BASE-T (Gigabit Ethernet) 4-pair Category 5 or higher 100 meters1,000 Mbps 10BASE-T4-pair Category 3 or higher 100 meters10 Mbps UTP dominates the Ethernet access line market T: twisted-pair wireX: 2 pair (transmit, receive)

4-11 Physical Layer Standard Medium 850 nm light (inexpensive) Multimode fiber Maximum Run Length Speed 1000BASE-SX275 m1 Gbps 1000BASE-SX500 m1 Gbps 1000BASE-SX220 m1 Gbps Gigabit Ethernet, 850 nm, various core sizes and modal bandwidths Dominates switch-to-switch trunk lines for gigabit Ethernet 1000BASE-SX550 m1 Gbps Figure 4-2: Ethernet Physical Layer Standards, Continued 62.5 microns 160 MHz-km S: 850 nm (short wavelength)

4-12 Perspective 100BASE-TXAccess links to client stations today are dominated by 100BASE-TX –But 1000BASE-T usage is growing 1000BASE-SXTrunk links today are dominated by 1000BASE-SX –Sufficient for most LAN trunk line distances and speeds –Short trunk links, however, use UTP –Longer and faster trunk links use other fiber standards

4-13 Physical Layer Standard MediumMaximum Run Length Speed 10GBASE-SR/SW62.5/125 micron multimode, 850 nm. 65 m10 Gbps 10 Gbps Ethernet, multimode S = 850 nm R=LAN (10 Gbps) W=WAN ( Gbps) Figure 4-2: Ethernet Physical Layer Standards, Continued 10GBASE-SR is used primarily for trunk lines within equipment rooms

4-14 Physical Layer Standard MediumMaximum Run Length Speed 10GBASE-LR/LW8.3/125 micron single mode, 1,310 nm. 10 km10 Gbps 10GBASE-ER/EW8.3/125 micron single mode, 1,550 nm. 40 km10 Gbps 10 Gbps Ethernet, for wide area networks L = 1,310 nm, E = 1,550 nm R = LAN (10 Gbps) W = WAN ( Gbps) for SONET/SDH Figure 4-2: Ethernet Physical Layer Standards, Continued

4-15 Figure 4-2: Ethernet Physical Layer Standards, Continued Physical Layer Standard MediumMaximum Run Length Speed 40 Gbps Ethernet 8.3/125 micron single mode. Under Development 40 Gbps

4-16 Figure 4-4: Link Aggregation (Trunking or Bonding) Fiber Cord Fiber Cord 1000BASE-SX Switch Two links double trunk capacity between the switches (1 Gbps to 2 Gbps) No need to buy a more expensive 10 Gbps Ethernet port or switch Switch must support link aggregation (also called trunking or bonding) 1000BASE-SX Switch

4-17 Figure 4-5: Data Link Using Multiple Switches Original Signal Received Signal Regenerated Signal Switches regenerate signals before sending them out; this removes propagation effects. It therefore allows signals to travel farther.

4-18 Figure 4-5: Data Link Using Multiple Switches, Continued Original Signal Received Signal Received Signal Received Signal Regenerated Signal Regenerated Signal Thanks to regeneration, signals can travel far across a series of switches

4-19 Figure 4-5: Data Link Using Multiple Switches, Continued Original Signal Received Signal Received Signal Received Signal Regenerated Signal Regenerated Signal UTP 62.5/125 Multimode Fiber 100BASE-TX (100 m maximum) Physical Link 100BASE-TX (100 m maximum) Physical Link 1000BASE-SX (220 m maximum) Physical Link Each trunk line along the way has a distance limit

4-20 Figure 4-5: Data Link Using Multiple Switches, Continued Station-to-station data link does not have a maximum distance (420 m distance spanned in this example) Original Signal Received Signal Received Signal Received Signal Regenerated Signal Regenerated Signal UTP 62.5/125 Multimode Fiber 100BASE-TX (100 m maximum) Physical Link 100BASE-TX (100 m maximum) Physical Link 1000BASE-SX (220 m maximum) Physical Link

Ethernet Data Link (MAC) Layer Standards 802 Layering Frame Syntax Switch Operation

4-22 Figure 4-6: Layering in 802 Networks, Continued TCP/IP Internet Layer Standards (IP, ARP, etc.) Other Internet Layer Standards (IPX, etc.) Ethernet MAC Layer Standard Physical Layer Media Access Control Layer Non-Ethernet MAC Standards (802.5, , etc.) 100BASE- TX 1000 Base- SX … Logical Link Control Layer Non-Ethernet Physical Layer Standards (802.11, etc.) Data Link Layer Internet Layer The 802 LAN/MAN Standards Committee subdivided the data link layer The media access control (MAC) layer handles details specific to a particular technology (Ethernet 802.3, for wireless LANs, etc.) The logical link control layer handles some general functions: Connection to the internet layer, etc.; Not important to corporate networking professionals

4-23 Figure 4-6: Layering in 802 Networks, Continued TCP/IP Internet Layer Standards (IP, ARP, etc.) Other Internet Layer Standards (IPX, etc.) Ethernet MAC Layer Standard Physical Layer Media Access Control Layer Non-Ethernet MAC Standards (802.5, , etc.) 100BASE- TX 1000 BASE- SX … Logical Link Control Layer Non-Ethernet Physical Layer Standards (802.11, etc.) Data Link Layer Internet Layer Ethernet only has a single MAC standard (The MAC Layer Standard) Ethernet has many physical layer standards (Fig. 4-2)

4-24 Figure 4-7: The Ethernet MAC Layer Frame Preamble (7 Octets) … Start of Frame Delimiter (1 Octet) Destination MAC Address (48 bits) Source MAC Address (48 bits) Field Preamble and Start of Frame Delimiter Strong repeating 10… pattern. Synchronizes receiver’s clock with sender’s clock Like quarterback calling out “Hut 1, Hut 2, Hut 3 …” to synchronize the team

4-25 Figure 4-7: The Ethernet MAC-Layer Frame, Continued Preamble (7 Octets) … Start of Frame Delimiter (1 Octet) Destination MAC Address (48 bits) Source MAC Address (48 bits) Field Computers use raw 48-bit MAC addresses; Humans use Hexadecimal notation (A1-23-9C-AB-33-53), which is discussed next.

4-26 Figure 4-8: Hexadecimal Notation 4 Bits (Base 2)* Decimal (Base 10) Hexadecimal (Base 16) Symbol hex hex hex With 4 bits, there are 2 4 =16 possible symbols. For example, CD-7B-DF hex begins with for hex hex hex hex hex Begin Counting at Zero

4-27 Figure 4-8: Hexadecimal Notation, Continued 4 Bits (Base 2) Decimal (Base 10) Hexadecimal (Base 16) Symbol hex hex A hex B hex C hex D hex E hex F hex After 9, Count A Through F

4-28 Figure 4-8: Hexadecimal Notation, Continued Converting 48-Bit MAC Addresses to Hex –Start with the 48-bit MAC Address … –Break the MAC address into twelve 4-bit “nibbles” … –Convert each nibble to a hex symbol A 1 D D –Write the hex symbols in pairs (each pair is an octet) and put a dash between each pair A1-DD-3C-D7-23-FF

4-29 Figure 4-7: The Ethernet MAC Layer Frame, Continued Length (2 Octets) PAD Field Packet (Variable Length) LLC Subheader (Usually 8 Octets) Data Field (Variable Length) Frame Check Sequence (4 Octets) Data field contains A packet of variable length Packet is preceded in the data field by an LLC subheader that describes the type of packet (IP, IPX, etc.) Length field gives the length of the data field in octets

4-30 Figure 4-7: The Ethernet MAC Layer Frame, Continued Length (2 Octets) PAD Field Packet (Variable Length) LLC Subheader (Usually 8 Octets) Data Field (Variable Length) Frame Check Sequence (4 Octets) A PAD is added if the data field is less than 46 octets; length is set to make the data field plus PAD field 46 octets; A PAD field is not added if data field is greater than 46 octets long.

4-31 Figure 4-7: The Ethernet MAC Layer Frame, Continued Length (2 Octets) PAD Field Packet (Variable Length) LLC Subheader (Usually 8 Octets) Data Field (Variable Length) Frame Check Sequence (4 Octets) Sender computes the frame check sequence field value based on the bits in the other fields. The receiver redoes the computation. If it gets a different results, the frame must have a transmission error. The receiver discards the frame. There is no error correction. Ethernet is not reliable.

4-32 Figure 4-9: Multiswitch Ethernet LAN Switch 2 Switch 1 Switch 3 Port 5 on Switch 1 to Port 3 on Switch 2 Port 7 on Switch 2 to Port 4 on Switch 3 A1-44-D5-1F-AA-4C Switch 1, Port 2 E5-BB D3-56 Switch 3, Port 6 D C4-B6-9F Switch 3, Port 2 B2-CD-13-5B-E4-65 Switch 1, Port 7 The Situation: A1… Sends to E5… Frame must go through 3 switches along the way (1, 2, and then 3)

4-33 Figure 4-9: Multiswitch Ethernet LAN, Continued Switching Table Switch 1 PortStation 2A1-45-D5-1F-AA-4C 7B2-CD-13-5B-E4-65 5D C4-B6-9F 5E5-BB D3-56 Switch 2 Switch 1 Port 5 on Switch 1 to Port 3 on Switch 2 A1-44-D5-1F-AA-4C Switch 1, Port 2 B2-CD-13-5B-E4-65 Switch 1, Port 7 E5-BB D3-56 Switch 3, Port 6 On Switch 1

4-34 Figure 4-9: Multiswitch Ethernet LAN, Continued Switch 2 Switch 1 Switch 3 Port 5 on Switch 1 to Port 3 on Switch 2 Port 7 on Switch 2 to Port 4 on Switch 3 Switching Table Switch 2 PortStation 3A1-44-D5-1F-AA-4C 3B2-CD-13-5B-E4-65 7D C4-B6-9F 7E5-BB D3-56 E5-BB D3-56 Switch 3, Port 6 On Switch 2

4-35 Figure 4-9: Multiswitch Ethernet LAN, Continued Switch 2 Switch 3 Port 7 on Switch 2 to Port 4 on Switch 3 A1-44-D5-1F-AA-4C Switch 1, Port 2 D C4-B6-9F Switch 3, Port 2 Switching Table Switch 3 PortStation 4A1-44-D5-1F-AA-4C 4B2-CD-13-5B-E4-65 2D C4-B6-9F 6E5-BB D3-56 E5-BB D3-56 Switch 3, Port 6 On Switch 3

4-36 Figure 4-10: Hierarchical Ethernet LAN Ethernet Switch F Server Y Server X Client PC1 Single Possible Path Between Client PC 1 and Server Y Ethernet Switch E Ethernet Switch D Ethernet Switch B Ethernet Switch A Ethernet Switch C

4-37 Figure 4-10: Hierarchical Ethernet LAN, Continued With only one possible path between stations… –Therefore there is only one possible port on a switch to send the frame back out –Therefore only one row per MAC address in switching table –Switch can find the one row quickly –This makes Ethernet switches inexpensive per frame –Low cost has led to Ethernet’s LAN dominance PortStation 2A1-44-D5-1F-AA-4C 7B2-CD-13-5B-E4-65 5E5-BB D3-56

4-38 Figure 4-10: Hierarchical Ethernet LAN, Continued Workgroup Ethernet Switch F Core Switches Workgroup Ethernet Switch E Workgroup Ethernet Switch D Core Ethernet Switch B Core Ethernet Switch A Core Ethernet Switch C Core Workgroup Switch As noted in Chapter 3, there are workgroup and core switches. Core switches need more capacity.

4-39 Figure 4-11: Single Point of Failure in a Switch Hierarchy No Communication Switch 1 Switch 2 Switch 3 Switch Fails A1-44-D5-1F-AA-4C B2-CD-13-5B-E4-65 D C4-B6-9F E5-BB D3-56

4-40 Figure 4-12: 802.1D Spanning Tree Protocol (STP) Switch 1 Switch 2 Switch 3 A1-44-D5-1F-AA-4C B2-CD-13-5B-E4-65 D C4-B6-9F E5-BB D3-56 Activated Deactivated Normal Operation Loop, but Spanning Tree Protocol Deactivates One Link

4-41 Figure 4-12: 802.1D Spanning Tree Protocol (STP), Continued Switch 1 Switch 2 Switch 3 A1-44-D5-1F-AA-4C B2-CD-13-5B-E4-65 C3-2D-55-3B-A9-4F D C4-B6-9F E5-BB D3-56 Deactivated Reactivated Switch 2 Fails

4-42 Figure 4-12: 802.1D (STP), Continued Spanning Tree Protocol (STP) –Works but when there is a break in the hierarchy, the network converges to a new hierarchy too slowly Rapid Spanning Tree Protocol (RSTP) –Newer algorithm that converges very quickly

4-43 Figure 4-13: Virtual LAN (VLAN) with Ethernet Switches Client A Client B Client C Server DServer E Server Broadcast Server Broadcasting without VLANS Servers Sometimes Broadcast; Goes To All Stations; Latency Results Destination MAC address: FF-FF-FF-FF-FF-FF

4-44 Figure 4-13: Virtual LAN (VLAN) with Ethernet Switches, Continued Server Broadcasting with VLANS Client A on VLAN1 Client B on VLAN2 Client C on VLAN1 Server D on VLAN2 Server E on VLAN1 Server Broadcast No With VLANs, Broadcasts Only Go To a Server’s VLAN Clients; Less Latency

4-45 Figure 4-14: Tagged Ethernet Frame (Governed By 802.1Q) Destination Address (6 Octets) Destination Address (6 Octets) Source Address (6 Octets) Length (2 Octets) Length of Data Field in Octets 1,500 (Decimal) Maximum Tag Protocol ID (2 Octets) hex; 33,024 decimal. Larger than 1,500, So not a Length Field By looking at the value in the 2 octets after the addresses, the switch can tell if this frame is a basic frame (value less than 1,500) or a tagged (value is 33,024). Basic MAC FrameTagged MAC Frame Start-of-Frame Delimiter (1 Octet) Preamble (7 octets) Start-of-Frame Delimiter (1 Octet) Preamble (7 octets) Source Address (6 Octets)

4-46 Figure 4-14: Tagged Ethernet Frame (Governed By 802.1Q), Continued Tag Control Information (2 Octets) Priority Level (0-7) (3 bits); VLAN ID (12 bits) 1 other bit Basic MAC FrameTagged MAC Frame Length (2 Octets) Data Field (variable) PAD (If Needed) Frame Check Sequence (4 Octets) PAD (If Needed) Frame Check Sequence (4 Octets)

4-47 Figure 4-15: Handling Momentary Traffic Peaks with Overprovisioning and Priority Traffic Network Capacity Momentary Traffic Peak: Congestion and Latency Time Momentary Traffic Peak: Congestion and Latency Momentary traffic peaks usually last only a fraction of a second; They occasionally exceed the network’s capacity. When they do, frames will be delayed, even dropped.

4-48 Figure 4-15: Handling Momentary Traffic Peaks with Overprovisioning and Priority, Continued Traffic Overprovisioned Network Capacity Momentary Peak: No Congestion Time Overprovisioned Traffic Capacity in Ethernet Overprovisioning: Build high capacity than will rarely if ever be exceeded. This wastes capacity. But cheaper than using priority (next)

4-49 Figure 4-15: Handling Momentary Traffic Peaks with Overprovisioning and Priority, Continued Traffic Network Capacity Momentary Peak Time Priority in Ethernet High-Priority Traffic Goes Low-Priority Waits Priority: During momentary peaks, give priority to traffic that is intolerant of latency (delay), such as voice. No need to overprovision, but expensive to implement. Ongoing management is very expensive.

4-50 Figure 4-16: Hub Versus Switch Operation, Continued AB CD Ethernet Switch Switch Sends Frame Out One Port If A Is Transmitting to C, B Can Transmit to D Simultaneously

4-51 Figure 4-16: Hub Versus Switch Operation AB CD Ethernet Hub Hub Broadcasts Each Bit Out All Other Ports --- If A Is Transmitting, B Must Wait to Transmit X

4-52 Figure 4-16: Hub Versus Switch Operation, Continued Hubs Need Media Access Control –This limits when a station may transmit –Ethernet hubs use CSMA/CD Carrier Sense Multiple Access (CSMA) –Only transmit if no other station is transmitting –Otherwise, wait Collision Detection (CD) –If two NICs transmit at the same time, this is a collision –Both will stop, wait a random amount of time, and the go back to CSMA to send again

4-53 Carrier Sense Multiple Access with Collision Detection collisionWith CSMA, collision occupies medium for duration of transmission Stations listen whilst transmitting 1.If medium idle, transmit, otherwise, step 2 2.If busy, listen for idle, then transmit 3.If collision detected, send a jamming signal and then cease transmission 4.After jam, wait random time (backoff) then start from step 1 Binary exponential backoff –Random delay is doubled (the first 10 retransmission) –After 16 unsuccessful attempts, give up

Purchasing Switches

4-55 Figure 4-17: Switch Purchasing Considerations Number and Speeds of Ports –Buyers must decide on the number of ports needed and the speed of each –Buyers often can buy a prebuilt switch with this configuration

4-56 Figure 4-18: Switching Matrix Mbps 1234 Port 1 to Port Mbps Aggregate Capacity to Be Nonblocking Input Queue(s) 100BASE-TX Input Ports 100BASE-TX Output Ports Any-to-Any Switching Matrix Note: Input Port 1 and Output Port 1 are the same port. Aggregate switching matrix capacity is its total switching speed. Maximum input for this switch is 400 Mbps (4 x 100 Mbps). 400 Mbps aggregate capacity is needed for switch to be nonblocking

4-57 Figure 4-17: Switch Purchasing Considerations, Continued Store-and-Forward Versus Cut-Through Switching (see Figure 4-19) –Store-and-forward Ethernet switches read whole frame before passing the frame on –Cut-through Ethernet switches read only some fields before starting to pass the frame back out –Cut-through switches have less latency, but this is rarely important

4-58 Figure 4-19: Store-and-Forward Versus Cut- Through Switching Preamble Start-of-Frame Delimiter Destination Address Source Address Tag Fields if Present Length Cyclical Redundancy Check Data (and Perhaps PAD) 2. Cut-Through Based On MAC Destination Address (14 Octets) 3.. Cut-Through for Priority or VLANs (24 Octets) 4. Cut-Through at 64 Bytes (Not a Runt) 1. Store-and- Forward Processing Ends Here (Often Hundreds Of Bytes)

4-59 Figure 4-20: Managed Switches Manager Command to Change Configuration (can fix many problems remotely) Get Data Data Requested Managed Switch Manager can manage all switches remotely Managed switches cost much more than unmanaged switcheds

4-60 Ethernet Security Port-Based Access Control (802.1X) –Attackers on site can walk up to any Ethernet port and plug in a computer, bypassing the firewall –802.1X standard Computer attaching to a port must first authenticate itself. (Details in Chapter 5) No Access Without Authentication

4-61 Ethernet Security MAC Security (MACsec) 802.1AE –Switches must talk to one another for STP, VLANs, and other supervisory protocols –An attacker on a PC can pretend to be a switch and send false supervisory messages –802.1AE MACsec protects supervisory communication, preventing many types of attacks Stops Fake Message PC impersonating a switch False Supervisory Message

Box: Advanced Switch Purchase Considerations Physical and Electrical Features Box

4-63 Figure 4-21: Physical and Electrical Features Physical Size –Switches fit into standard 19-in (48-cm) wide equipment racks –Switch heights usually are multiples of 1U (1.75 in or 4.4 cm) 19 inches (48 cm) Box

4-64 Figure 4-21: Physical and Electrical Features, Continued Port Flexibility –Fixed-port switches No flexibility: the number of ports is fixed 1 or 2 U tall Most workgroup switches are fixed-port switches Box

4-65 Figure 4-21: Physical and Electrical Features, Continued Port Flexibility –Stackable Switches Fixed number of ports 1 or 2 U tall High-speed interconnect bus connects stacked switches When demand increases, firm can simply add a new stackable switch Box

4-66 Figure 4-21: Physical and Electrical Features, Continued Port Flexibility –Modular Switches 1 or 2 U tall Contain one or a few slots for modules Each module usually contains 1 to 4 ports Box Module

4-67 Figure 4-21: Physical and Electrical Features, Continued Port Flexibility –Chassis switches Several U tall Contain several expansion slots Each expansion board contains several slots Most core switches are chassis switches Box

4-68 Figure 4-21: Physical and Electrical Features, Continued Switch and NIC Ports –Normal Ethernet RJ-45 switch ports transmit on Pins 3 and 6 and listen on Pins 1 and 2 –NICs transmit on Pins 1 and 2 and listen on Ports 3 and 6 Box Normal PC NIC Port Normal Switch Port Pins 1 & 2 Pins 3 & 6

4-69 Figure 4-21: Physical and Electrical Features, Continued Switch and NIC Ports –If you connect two normal ports on different switches via UTP cords, BOTH will send on Pins 3 & 6 and neither will listen on Pins 3 & 6 Communication will be impossible Box Normal Switch Port Normal Switch Port On Parent Switch Pins 3 & 6 Pins 3 & 6

4-70 Figure 4-21: Physical and Electrical Features, Continued Switch Uplink Ports –On a growing number of switches, normal ports change automatically to uplink ports if used that way Box Normal Switch Port Normal Switch Port On Parent Switch Pins 3 & 6 1. Normally transmits on Pins 3 & 6 2. Changes automatically to Pins 1 & 2

4-71 Figure 4-21: Physical and Electrical Features, Continued Crossover Cables –Designed to connect ordinary ports on two switches –Internally, connect Pins 1 & 2 on one machine to Pins 3 & 6 on the other switch –Do NOT use to connect NICs to switches or a switch uplink port to another switch! Box / New Normal Switch Port Normal Switch Port On Parent Switch Pins 3 & 6 Pins 1 & 2 Crossover Cable

4-72 Figure 4-21: Physical and Electrical Features, Continued Electrical Power –Under the 802.3af standard, switches can provide electrical power to devices over the UTP cord –Currently limited to watts; sufficient for most wireless access points (Chapter 5) and voice over IP telephones (Chapter 6) but not sufficient for computers –New slightly higher-power version of the standard is being developed to be able to serve sophisticated access points; still not good enough for computers. Box

Topics Covered

4-74 Topics Covered Ethernet Standards Setting –802.3 Working Group –Physical and data link layer standards –OSI standards Physical Layer Standards –BASE means baseband –100BASE-TX dominates for access lines –10GBASE-SX dominates for trunk lines –Link aggregation for small capacity increases –Regeneration to carry signals across multiple switches

4-75 Topics Covered Ethernet MAC Layer Standards –Data link layer subdivided into the LLC and MAC layers –The Ethernet MAC Layer Frame Preamble and Start of Frame Delimiter fields Destination and Source MAC addresses fields –Hexadecimal notation Length field Data field –LLC subheader –Packet –PAD if needed Frame Check Sequence field

4-76 Topics Covered Ethernet MAC Layer Standards –Switch operation Operation of a hierarchy of switches –Single possible path between any two computers –Hierarchy gives low price per frame transmitted –Single points of failure and the Spanning Tree Protocol VLANs and frame tagging to reduce broadcasting Momentary traffic peaks: addressed by overprovisioning and priority Hubs and CSMA/CD

4-77 Topics Covered Switch Purchasing Considerations –Number and speed of ports –Switching matrix (nonblocking) –Store-and-forward versus cut-through switches –Managed switches –Ethernet security 802.1X Port-Based Access Control 802.1AE MACsec

4-78 Topics Covered Advanced Switch Purchasing Considerations –Physical size –Fixed-Port-Speeches –Stackable Switches –Modular Switches –Chassis Switches –Pins in Switch Ports and Uplink Ports –Electrical Power (802.3af) Box