Ethernet 802 3 Switched LANs Ethernet IEEE 802

  • Slides: 64
Download presentation
Ethernet (802. 3) Switched LANs Ethernet IEEE 802. 3 Working Group LAN: Local Area

Ethernet (802. 3) Switched LANs Ethernet IEEE 802. 3 Working Group LAN: Local Area Network Chapter 5 * LANs are networks on a customer premises. Panko and Panko Business Data Networks and Security, 10 th Edition, Global Edition Copyright © 2015 Pearson Education, Ltd.

Introduction Physical Layer Standards Data Link Layer Standards Advanced Switch Operation Ethernet Security Copyright

Introduction Physical Layer Standards Data Link Layer Standards Advanced Switch Operation Ethernet Security Copyright © 2015 Pearson Education, Ltd.

Simple Switched Ethernet Network Core Switch Optical Fiber Trunk Lines Workgroup Switch UTP Access

Simple Switched Ethernet Network Core Switch Optical Fiber Trunk Lines Workgroup Switch UTP Access Lines Copyright © 2015 Pearson Education, Ltd.

5. 1 Simple Switched Ethernet Network Workgroup Switches Connect Hosts to the Network Copyright

5. 1 Simple Switched Ethernet Network Workgroup Switches Connect Hosts to the Network Copyright © 2015 Pearson Education, Ltd.

5. 1 Simple Switched Ethernet Network Core Switches Connect Switches to Other Switches Copyright

5. 1 Simple Switched Ethernet Network Core Switches Connect Switches to Other Switches Copyright © 2015 Pearson Education, Ltd.

5. 2 Ethernet Workgroup Switch with 48 Ports Hosts Normally Connect to Workgroup Switches

5. 2 Ethernet Workgroup Switch with 48 Ports Hosts Normally Connect to Workgroup Switches Through UTP Copper Wiring Copyright © 2015 Pearson Education, Ltd. UTP: Unshielded Twisted Pair

5. 2 Ethernet Workgroup Switch with 48 Ports Switches Often Connect to Other Switches

5. 2 Ethernet Workgroup Switch with 48 Ports Switches Often Connect to Other Switches Through Optical Fiber Copyright © 2015 Pearson Education, Ltd.

5. 2 Ethernet Workgroup Switch with 48 Ports 19 inches 48 cm It can

5. 2 Ethernet Workgroup Switch with 48 Ports 19 inches 48 cm It can fit into a standard equipment rack. Copyright © 2015 Pearson Education, Ltd. 1 U 1 U = 1. 75 inches

Ethernet Begins Introduction Physical Layer Standards Data Link Layer Standards Advanced Switch Operation Ethernet

Ethernet Begins Introduction Physical Layer Standards Data Link Layer Standards Advanced Switch Operation Ethernet Security Copyright © 2015 Pearson Education, Ltd.

UTP versus Optical Fiber Characteristic UTP (Unshielded Twisted Pair) Optical Fiber Medium Copper wire

UTP versus Optical Fiber Characteristic UTP (Unshielded Twisted Pair) Optical Fiber Medium Copper wire Glass Signal Electrical Light Maximum Usually 100 m Distance in LANs For LANs, usually 200 to 500 m Speed Similar Cost Lower Higher Copyright © 2015 Pearson Education, Ltd.

5. 4 IEEE LAN/MAN Standards Committee � IEEE Standards Association ◦ 802 LAN/MAN Standards

5. 4 IEEE LAN/MAN Standards Committee � IEEE Standards Association ◦ 802 LAN/MAN Standards Committee 802. 1 Working Group Standards used by multiple working groups Security Standards 802. 3 Working Group Ethernet standards 802. 11 Working Group Wi-Fi wireless LAN standards MAN: Metropolitan Area Network Copyright © 2015 Pearson Education, Ltd.

5. 6 Binary Signaling and Digital Signaling Copyright © 2015 Pearson Education, Ltd.

5. 6 Binary Signaling and Digital Signaling Copyright © 2015 Pearson Education, Ltd.

5. 6 Binary and Digital Signaling Copyright © 2015 Pearson Education, Ltd.

5. 6 Binary and Digital Signaling Copyright © 2015 Pearson Education, Ltd.

5. 7 Error Resistance in Binary and Digital Signaling Copyright © 2015 Pearson Education,

5. 7 Error Resistance in Binary and Digital Signaling Copyright © 2015 Pearson Education, Ltd.

5. 7 Error Resistance in Binary and Digital Signaling Copyright © 2015 Pearson Education,

5. 7 Error Resistance in Binary and Digital Signaling Copyright © 2015 Pearson Education, Ltd.

5. 8 Four-Pair Unshielded Twisted Pair Copper Wiring Copyright © 2015 Pearson Education, Ltd.

5. 8 Four-Pair Unshielded Twisted Pair Copper Wiring Copyright © 2015 Pearson Education, Ltd.

5. 9 RJ-45 (Ethernet) Connector and Jack RJ-45 Connector Copyright © 2015 Pearson Education,

5. 9 RJ-45 (Ethernet) Connector and Jack RJ-45 Connector Copyright © 2015 Pearson Education, Ltd.

5. 10 Serial versus Parallel Transmission NOT just 4 pairs! Copyright © 2015 Pearson

5. 10 Serial versus Parallel Transmission NOT just 4 pairs! Copyright © 2015 Pearson Education, Ltd.

5. 11 UTP Quality Category, Transmission Speed, and Maximum Distance Ethernet Signaling Standard Transmission

5. 11 UTP Quality Category, Transmission Speed, and Maximum Distance Ethernet Signaling Standard Transmission Speed UTP Quality Category Maximum Cord Length 100 BASE-TX 100 Mbps Category 5 e, 6, or higher 100 meters 1000 BASE-T 1 Gbps Category 5 e, 6, or higher 100 meters 10 GBASE-T 10 Gbps Category 6 55 meters 10 GBASE-T 10 Gbps Category 6 A 100 meters Category is a measure of UTP QUALITY Copyright © 2015 Pearson Education, Ltd.

5. 12 Terminal Crosstalk Interference Copyright © 2015 Pearson Education, Ltd.

5. 12 Terminal Crosstalk Interference Copyright © 2015 Pearson Education, Ltd.

5. 12 Terminal Crosstalk Interference Copyright © 2015 Pearson Education, Ltd.

5. 12 Terminal Crosstalk Interference Copyright © 2015 Pearson Education, Ltd.

5. 12 Terminal Crosstalk Interference Copyright © 2015 Pearson Education, Ltd.

5. 12 Terminal Crosstalk Interference Copyright © 2015 Pearson Education, Ltd.

5. 13 Optical Fiber Transmission Copyright © 2015 Pearson Education, Ltd. 1 nm =

5. 13 Optical Fiber Transmission Copyright © 2015 Pearson Education, Ltd. 1 nm = 10 -9 m 1 µm = 10 -6 m

Optical Fiber Transmission

Optical Fiber Transmission

Multimode fiber vs. Single-mode fiber Multimode fiber Single-mode fiber 50 microns 8~9 microns Modal

Multimode fiber vs. Single-mode fiber Multimode fiber Single-mode fiber 50 microns 8~9 microns Modal dispersion No modal dispersion used in LANs More expensive Copyright © 2015 Pearson Education, Ltd.

5. 14 Optical Fiber Cord Full Duplex, Half Duplex, Simplex Copyright © 2015 Pearson

5. 14 Optical Fiber Cord Full Duplex, Half Duplex, Simplex Copyright © 2015 Pearson Education, Ltd.

5. 15 Light Amplitude and Wavelength ~ 3. 00× 108 m/s • Longer-wavelength light

5. 15 Light Amplitude and Wavelength ~ 3. 00× 108 m/s • Longer-wavelength light gives long transmission distances. • Longer-wavelength light sources are much more expensive. Copyright © 2015 Pearson Education, Ltd.

5. 16 Optical Fiber Quality Designations and Transmission Distance ISO 11801 Standard Core/ Cladding

5. 16 Optical Fiber Quality Designations and Transmission Distance ISO 11801 Standard Core/ Cladding diameters (microns) Minimum Maximum Distance at 1 Gbps, 10 Gbp, 850 nm light (1000 BASE-SX) (10 GBASE-SR) Minimum Maximum Distance at 100 Gbps, 850 nm light OM 3 50/125 550 m 300 m 100 m OM 4 50/125 1, 000 m 440 m 150 m OM stands for Optical Multimode; a standard for multimode fiber. "Minimum" means minimum requirement. Copyright © 2015 Pearson Education, Ltd.

5. 17 Link Aggregation (Bonding) (short-wavelength) Copyright © 2015 Pearson Education, Ltd.

5. 17 Link Aggregation (Bonding) (short-wavelength) Copyright © 2015 Pearson Education, Ltd.

5. 18 Ethernet Physical Link Maximums and Unlimited Data Link Distances Copyright © 2015

5. 18 Ethernet Physical Link Maximums and Unlimited Data Link Distances Copyright © 2015 Pearson Education, Ltd.

5. 18 Ethernet Physical Link Maximums and Unlimited Data Link Distances Copyright © 2015

5. 18 Ethernet Physical Link Maximums and Unlimited Data Link Distances Copyright © 2015 Pearson Education, Ltd.

5. 18 Ethernet Physical Link Maximums and Unlimited Data Link Distances Copyright © 2015

5. 18 Ethernet Physical Link Maximums and Unlimited Data Link Distances Copyright © 2015 Pearson Education, Ltd.

Ethernet Begins Introduction Physical Layer Standards Data Link Layer Standards Advanced Switch Operation Ethernet

Ethernet Begins Introduction Physical Layer Standards Data Link Layer Standards Advanced Switch Operation Ethernet Security Copyright © 2015 Pearson Education, Ltd.

5. 19 Ethernet 802. 3 Frame Copyright © 2015 Pearson Education, Ltd.

5. 19 Ethernet 802. 3 Frame Copyright © 2015 Pearson Education, Ltd.

5. 20 Hexadecimal Notation 4 Bits 0000 0001 0010 0011 0100 0101 0110 0111

5. 20 Hexadecimal Notation 4 Bits 0000 0001 0010 0011 0100 0101 0110 0111 Decimal (Base 10) 0 1 2 3 4 5 6 7 What is 0101 in hex? What is 0000 in hex? Copyright © 2015 Pearson Education, Ltd. Hexadecimal (Base 16) 0 hex 1 hex 2 hex 3 hex 4 hex 5 hex 6 hex 7 hex

5. 20 Hexadecimal Notation 4 Bits* 1000 1001 1010 1011 1100 1101 1110 Decimal

5. 20 Hexadecimal Notation 4 Bits* 1000 1001 1010 1011 1100 1101 1110 Decimal (Base 10) 8 9 10 11 12 13 14 Hexadecimal (Base 16) 8 hex 9 hex A hex B hex C hex D hex E hex 1111 15 F hex What is 1001 in hex? What is 1111 in hex? Copyright © 2015 Pearson Education, Ltd.

5. 20 Hexadecimal Notation � Converting a 48 -bit MAC address to hex ◦

5. 20 Hexadecimal Notation � Converting a 48 -bit MAC address to hex ◦ Write down the 48 -bit address in 12 four-bit nibbles. ◦ Represent each nibble as a hex symbol. ◦ Pair the hex symbols and put a dash between the 6 pairs. ◦ Try these four nibbles: 00001111010 Copyright © 2015 Pearson Education, Ltd.

5. 19 Ethernet 802. 3 Frame Copyright © 2015 Pearson Education, Ltd.

5. 19 Ethernet 802. 3 Frame Copyright © 2015 Pearson Education, Ltd.

5. 19 Ethernet 802. 3 Frame Copyright © 2015 Pearson Education, Ltd.

5. 19 Ethernet 802. 3 Frame Copyright © 2015 Pearson Education, Ltd.

5. 19 Ethernet 802. 3 Frame 46 octets Copyright © 2015 Pearson Education, Ltd.

5. 19 Ethernet 802. 3 Frame 46 octets Copyright © 2015 Pearson Education, Ltd.

5. 21 Multi-Switch Ethernet Operation A packet from A 1… to E 5… must

5. 21 Multi-Switch Ethernet Operation A packet from A 1… to E 5… must pass through Switches 1, 2, and 3. Copyright © 2015 Pearson Education, Ltd.

5. 21 Multi-Switch Ethernet Operation Switch 1 sees that it should send the frame

5. 21 Multi-Switch Ethernet Operation Switch 1 sees that it should send the frame to E 5 out Port 5. Copyright © 2015 Pearson Education, Ltd.

5. 21 Multi-Switch Ethernet Operation Switch 2 sees that it should send the frame

5. 21 Multi-Switch Ethernet Operation Switch 2 sees that it should send the frame to E 5 out Port 7. Copyright © 2015 Pearson Education, Ltd.

5. 21 Multi-Switch Ethernet Operation Switch 3 sees that it should send the frame

5. 21 Multi-Switch Ethernet Operation Switch 3 sees that it should send the frame to E 5 out Port 6. Copyright © 2015 Pearson Education, Ltd.

Hierarchical Switch Organization Hierarchical topology • Each switch has only one parent switch above

Hierarchical Switch Organization Hierarchical topology • Each switch has only one parent switch above it. • There is only a single possible path between any two hosts. • The destination address in a frame will appear only once in the switching table. Copyright © 2015 Pearson Education, Ltd.

Ethernet Begins Introduction Physical Layer Standards Data Link Layer Standards Advanced Switch Operation Ethernet

Ethernet Begins Introduction Physical Layer Standards Data Link Layer Standards Advanced Switch Operation Ethernet Security Copyright © 2015 Pearson Education, Ltd.

5. 22 Single Point of Failure Copyright © 2015 Pearson Education, Ltd.

5. 22 Single Point of Failure Copyright © 2015 Pearson Education, Ltd.

5. 23 Backup Link and the Rapid Spanning Tree Protocol Loops are not allowed

5. 23 Backup Link and the Rapid Spanning Tree Protocol Loops are not allowed in Ethernet. A strict hierarchy is required. Copyright © 2015 Pearson Education, Ltd.

5. 23 Backup Link and the Rapid Spanning Tree Protocol Copyright © 2015 Pearson

5. 23 Backup Link and the Rapid Spanning Tree Protocol Copyright © 2015 Pearson Education, Ltd.

5. 24 Advanced Ethernet Capabilities � Priority ◦ Ethernet switches can provide up to

5. 24 Advanced Ethernet Capabilities � Priority ◦ Ethernet switches can provide up to eight priority levels � Manageability Managed Switch ◦ Manageable switches can be managed by SNMP ◦ Although manageable switches cost much more than non-manageable switches, this is more than made up for by lower management costs ◦ Software-defined networking may bring a revolution in switch management http: //www. dlinktw. com. tw/business/type? id=23&hid=1 https: //www. dlink. com/en/products/dgs-3130 -30 ts-30 -port-litelayer-3 -stackable-managed-gigabit-switch Copyright © 2015 Pearson Education, Ltd.

5. 24 Advanced Ethernet Capabilities � Power over Ethernet (POE) ◦ Switches can supply

5. 24 Advanced Ethernet Capabilities � Power over Ethernet (POE) ◦ Switches can supply power to devices via UTP. ◦ (Wired telephone systems and USB ports already do this. ) ◦ Less expensive than supplying power separately. Copyright © 2015 Pearson Education, Ltd.

5. 24 Advanced Ethernet Capabilities � Power Over Ethernet (POE) Plus ◦ Switches implementing

5. 24 Advanced Ethernet Capabilities � Power Over Ethernet (POE) Plus ◦ Switches implementing POE Plus can provide up to 25 watts of power over UTP to hosts ◦ This is sufficient for voice over IP phones, surveillance cameras, and most access points ◦ This saves money because there is no need to install power lines to these devices ◦ Not sufficient for desktop or laptop PCs Copyright © 2015 Pearson Education, Ltd.

Ethernet Begins Introduction Physical Layer Standards Data Link Layer Standards Advanced Switch Operation Ethernet

Ethernet Begins Introduction Physical Layer Standards Data Link Layer Standards Advanced Switch Operation Ethernet Security Copyright © 2015 Pearson Education, Ltd.

5. 25 802. 1 X Port-Based Access Control on an Ethernet Switch � The

5. 25 802. 1 X Port-Based Access Control on an Ethernet Switch � The Problem ◦ Anyone can enter the building and plug their computer into a switch or into a wall RJ-45 port, which connects to a switch. ◦ This usually gives the attacker access to the network without going through a firewall. Copyright © 2015 Pearson Education, Ltd.

5. 25 802. 1 X Port-Based Access Control on an Ethernet Switch � Solution:

5. 25 802. 1 X Port-Based Access Control on an Ethernet Switch � Solution: access control at switch ports. ◦ 802. 1 X Port Based Access Control can do this. ◦ Created by the 802. 1 WG, not the 802. 3 WG. ◦ 802. 1 WG creates general standards, such as security standards. Copyright © 2015 Pearson Education, Ltd.

5. 25 802. 1 X Port-Based Access Control on an Ethernet Switch Copyright ©

5. 25 802. 1 X Port-Based Access Control on an Ethernet Switch Copyright © 2015 Pearson Education, Ltd.

5. 25 802. 1 X Port-Based Access Control on an Ethernet Switch Copyright ©

5. 25 802. 1 X Port-Based Access Control on an Ethernet Switch Copyright © 2015 Pearson Education, Ltd.

5. 25 802. 1 X Port-Based Access Control on an Ethernet Switch � Advantages

5. 25 802. 1 X Port-Based Access Control on an Ethernet Switch � Advantages of a Central Authentication Server ◦ Switch cost: Authentication server does heavy work. ◦ Consistency: Attacker cannot find a misconfigured switch. ◦ Reduced management cost: Only one authentication database to maintain. ◦ Rapid changes: When someone leaves, is hired, or needs credential changes. Copyright © 2015 Pearson Education, Ltd.

5. 26 Man in the Middle Attack in an Ethernet LAN Using ARP Poisoning

5. 26 Man in the Middle Attack in an Ethernet LAN Using ARP Poisoning ARP Cache tells a host where to send a frame to reach a particular IP address Copyright © 2015 Pearson Education, Ltd.

5. 26 Man in the Middle Attack in an Ethernet LAN Using ARP Poisoning

5. 26 Man in the Middle Attack in an Ethernet LAN Using ARP Poisoning Copyright © 2015 Pearson Education, Ltd.

5. 26 Man in the Middle Attack in an Ethernet LAN Using ARP Poisoning

5. 26 Man in the Middle Attack in an Ethernet LAN Using ARP Poisoning Copyright © 2015 Pearson Education, Ltd.

5. 26 Man in the Middle Attack in an Ethernet LAN Using ARP Poisoning

5. 26 Man in the Middle Attack in an Ethernet LAN Using ARP Poisoning Copyright © 2015 Pearson Education, Ltd.

arp 指令 � arp –a 顯示ARP Cache � arp –d * 清除ARP Cache �

arp 指令 � arp –a 顯示ARP Cache � arp –d * 清除ARP Cache � arp -s 157. 55. 85. 212 00 -aa-00 -62 -c 6 -09 手動設定 Copyright © 2015 Pearson Education, Ltd.