Local Area Networks Local Area Networks Project 802 Ethernet ดร. อนันต ผลเพิ่ม Anan Phonphoem, Ph.D. anan@cpe.ku.ac.th http://www.cpe.ku.ac.th/~anan Computer Engineering Department Kasetsart University, Bangkok, Thailand Traditional Ethernet Fast Ethernet Gigabit Ethernet Token Ring FDDI More on Ethernet Frame 2 Project 802 IEEE 802 uses HDLC frame structure 2 sets of functions: LLC & MAC LLC (IEEE 802.2) OSI Model and Project 802 End-user information Logical address, control info, data MAC Contention Î shared media Physical address, Sync, flag, flow, error control LLC: Logical Link Control MAC: Medium Access Control 3 IEEE 802 LAN Std. Family 802 Overview and Architecture 802.7 Broadband LAN 802.1 Network Management 802.8 Fiber Optic 802.2 Logical Link Control (LLC) 802.9 Isochonous LAN 802.3 CSMA/CD - Ethernet 802.10 Integrated Service Security 1802.3 Conformance Test Methodology for IEEE 802.3 802.4 Token Passing Bus 802.5 Token Ring 802.6 Metropolitan Area Network (MAN) : DQDB 802.11 Wireless LAN 802.12 Demand Priority 802.15 Wireless PAN 802.16 Broadband Wireless Access (Wireless MAN) 802.17 Resilient Packet Ring 802.18 Radio Regulatory 4 IEEE 802 LAN Std. Family Layer 3-7 802.2 Logical Link Control (LLC) MAC 802.3 802.4 CSMA/CD Token Bus 5 802.5 802.11 Token Wireless PHY Ring LAN Layer 2 Data Link Layer 1 Physical 6 1 IEEE 802.2 LLC PDU Format Data link control protocol Exchange data between end users across LAN using a 802-based MAC Independent Address used by LLC Network topology Transmission medium MAC PDU: Protocol Data Unit in the LLC level 7 PDU Control Field Same as HDLC 8 3 Generations of Ethernet 9 10 IEEE 802.3 Traditional Ethernet • • • • • Baseband (Digital) Broadband (Analog) 10Base5 10Base2 10BaseT 1Base5 100BaseT • 10Broad36 2 Regular Ethernet MAC: Evolution of CSMA/CD Station 1 transmits to station 4 Assume low collision 13 802.3 MAC Frame 14 Minimum – Maximum Length Preamble + SFD Î Flag in HDLC Why minimum length is important ? The correction of the CSMA/CD (Entire frame send out before the collision is detected!) 15 Ethernet Address Ethernet Address Each device has a network interface card (NIC) Can be called 16 MAC Address / Physical Address / Ethernet Address Each NIC has a 6-byte address Written in Hexadecimal notation Unicast Address 00-E0-00-AB-04-50 (for source and Destination) Broadcast Address FF-FF-FF-FF-FF-FF Multicast Address 11-C0-02-D9-12-77 00-E0-00-AB-04-50 17 18 3 Physical Layer Physical Layer Signaling (PLS) 19 20 Medium Attachment Unit (MAU) (Transceiver) Attachment Unit Interface (AUI) 21 22 Ethernet For Baseband: Manchester Encoding For Broadband: IEEE 802.3 • • • • • • Differential PSK Support up to 100 Mbps Baseband (Digital) Broadband (Analog) 10Base5 10Base2 10BaseT 10BaseFL 1Base5 100BaseT • 10Broad36 23 4 Notation 10Base5 Thicknet 25 10Base5: Ethernet Segments 26 10BASE5 Repeater: not an amplifier Î regenerate Why 2500 meters? 27 Transceiver 28 Notation 29 30 5 10Base2 10Base2 31 Notation 32 10BaseT 33 10BaseT 34 10Base-FL 35 36 6 Notation 1BASE5 •AT&T product •Seldom used now ?? •Range Î can be cascaded (not all to Hub) 37 38 Network with/without bridge Switched Ethernet 40 Collision Domain Area of collision All Layer 1 connections Collision Domain Cross cable – Point-to-Point Coaxial cable – Bus Hub – Star Repeater – Extended network segment Is large network connected by repeaters good? 41 42 7 Switched Ethernet Microsegmentation 43 44 Full-Duplex Switched Ethernet Fast Ethernet 45 Medium-independent interface (MII) Fast Ethernet RS: replaces PLS in the 10Mbps Ethernet Encoding moves to PHY Encoding is mediumdependent 47 48 8 100Base-TX Fast Ethernet 100Base-T4 100Base-X 4 pairs of UTP (CAT3) 100Base-TX 2 pairs of UTP(STP) 100Base-FX 2 Optical Fibers Signaling: NRZ-I 50 Encoding in 100Base-TX 100Base-FX 51 Encoding in 100Base-FX 52 100Base-T4 53 54 9 100Base-T4 Fast/Gigabit Ethernet the speed increases if collision domain decreases 10Mbps, collision domain Î 2500 m. ?? 55 56 Fast Ethernet Min. Ethernet Frame = 72 bytes (including preamble) Gigabit Ethernet 10 Mbps 2500 m 57 Gigabit Ethernet 59 10 1000Base-X Encoding in 1000Base-X 61 1000Base-T 62 Encoding in 1000Base-T 63 64 Token Passing Token Passing 66 11 Token Passing Token Passing 67 Token Passing 68 Token Ring Differential Manchester encoding Support up to 16 Mbps 3 types of frames: Data/command Token Abort 69 Token Ring Frame 70 Token Ring 71 72 12 Token Ring Switch Token Ring 74 MAU FDDI Use 4B/5B encoding then NRZ-I Support up to 100 Mbps 75 FDDI 76 FDDI Encoding 4B/5B encoding Data Sequence Encoded Sequence 0000 11110 0001 01001 0100 01010 1000 10010 NRZ-I Why 4B/5B? 77 Long Stream of zero 78 13 FDDI Layers FDDI Frames 79 FDDI Rings 80 FDDI Ring Failure 81 82 FDDI Nodes More on Ethernet Frame 83 14 Data Flow in a station Ethernet Frame Hello 5 Application 4 Transport 3 Network 5 Hello 45 Hello 345 Hello 00 A0 24 A6 F6 44 00 Destination A0 24 A6 F6 Data Link 1 Physical 2345 Hello 08 00 Physical Address Physical Address Type (First 6-byte) (Second 6-byte) 2 Bytes Ethernet Header 2 59 Source IP TCP Header Header CRC 4 bytes Data T 1001101001011101011 85 86 Regular Ethernet Regular Ethernet Station 1 transmits to all (broadcast) Station 1 transmits to station 4 3 4 3 4 Promiscuous mode 1 2 1 2 87 Assignment #1 Explore your network company Sniffer (e.g. EtherPeek) 88 In your report, it must contains Network and protocol analyzer 1. Physical topology (floor plan, wiring) 2. Logical topology 3. Devices in use (eg. Switch, router, modem, rack, etc.) 4. IP addresses (no need to show real names or real IP addresses) 5. Application uses 6. Explain your network policy 7. Criticize/Suggest for improvement For network maintenance and trouble shooting Capture, monitor, analyze, trouble shooting 89 90 15 Assignment #1 Explore your network company Group of 2 people One report for each group in Microsoft Word format Report should be sent to me by email Email: cs761@iwing.cpe.ku.ac.th The deadline is December 3, 2004 @Noon time No late assignment will be graded 91 16