1 Fall 2005 Hardware Addressing and Frame Identification Qutaibah Malluhi CSE Department Qatar University.

Slides:



Advertisements
Similar presentations
Chapter 7 Data Link Layer
Advertisements

CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
IP: The Internet Protocol
1 Fall 2005 Extending LANs Qutaibah Malluhi CSE Department Qatar University Repeaters, Hubs, Bridges, Fiber Modems, and Switches.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
1 Fall 2005 Internetworking: Concepts, Architecture and TCP/IP Layering Qutaibah Malluhi CSE Department Qatar University.
Computer Network 實踐資管 Wang-Jiunn Cheng 2004 PART IV-2 Local Area Networks (LANs) Frame.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
OSI Model.
Ethernet: CSMA/CD (Carrier Sense Multiple Access with Collision Detection) Access method: method of controlling how network nodes access communications.
EECC694 - Shaaban #1 lec #6 Spring Point-to-Point Vs. Shared Channel Communication In LANs Point-to-point: –Computers connected by communication.
Chapter 9 Hardware Addressing & Frame Type Identification EE 526 Presentation by Ryan Star.
Review on Networking Technologies Linda Wu (CMPT )
CS335 Networking & Network Administration Tuesday, April 13, 2010.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Data Link Layer IS250 Spring 2010
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
TCP/IP Networking sections 13.2,3,4,5 Road map: TCP, provide connection-oriented service IP, route data packets from one machine to another (RFC 791) ICMP,
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Data Link Layer Network Fundamentals – Chapter 7.
Chapter 1-3 The Ethernet LAN. Ethernet The networking protocol used in most modern computer networks is Ethernet. Ethernet is a CSMA/CD LAN protocol.
Ethernet, MAC podvrstva
Chapter 13 Wired LANs: Ethernet
Packet Transmission (Part III) Local Area Networks (LANs)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Connecting to the Network Networking for Home and Small Businesses.
1 LAN Technologies and Network Topology. 2 Direct Point-to-Point Communication.
Chapter 7 Low-Level Protocols
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 16.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Ethernet Introduction to Networks.
1 Layer 2: Concepts Honolulu Community College Cisco Academy Training Center Semester 1 Version
Chapter 7 - LAN Technologies and Network Topology Direct point-to-point communication Connections in a point-to-point network Reducing the number of communication.
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
Chapter 1 - Local Area Network Technologies. How IP Datagrams are Encapsulated IP datagrams are found at the OSI Network layer IP datagrams are sent to.
Chapter 9 Hardware Address & Frame Type Identification Hardware address of frame Addressing schemes Ethernet Frame header format.
Chapter 9 Hardware Addressing and Frame Type Identification 1.Delivering and sending packets 2.Hardware addressing: specifying a destination 3. Broadcasting.
1 Ch 9 Hardware Addressing and Frame Type Identification.
1 Part IV Local Area Networks (LANs). 2 Classification Terminology  Network technologies classified into three broad categories  Local Area Network.
Chapter 11 Extending LANs 1. Distance limitations of LANs 2. Connecting multiple LANs together 3. Repeaters 4. Bridges 5. Filtering frame 6. Bridged network.
Ethernet Overview it the IEEE standard for Ethernet.
Data Link Layer and Ethernet COM211 Communications and Networks CDA College Theodoros Christophides
13-LAN, packets, frames and topologies Dr. John Abraham Professor UTPA.
1 Chapter 8-10 Local Area Networks (LANs). Comparison 4e and 5e  Ch 7, 4eCh 8, 5e Ch 10, Forouzan  Ch 8, 4eCh 14, 5e Ch 13, Forouzan  Ch 9, 4eCh 13,
Chapter 7 OSI Data Link Layer.
1 Hardware Addressing and Frame Type Identification.
CNAP AT VCC Semester 1 CHAPTER 7 Wael Yousif Connecting The Internet Generation.
+ Lecture#2: Ethernet Asma ALOsaimi. + Objectives In this chapter, you will learn to: Describe the operation of the Ethernet sublayers. Identify the major.
Week #8 OBJECTIVES Chapter #5. CHAPTER 5 Making Networks Work Two Networking Models –OSI OPEN SYSTEMS INTERCONNECTION PROPOSED BY ISO –INTERNATIONAL STANDARDS.
Local Area Networks: Topologies. 2 Packet Identification & MAC Addresses Each packet specifies an intended recipient with an identifier. – Demultiplexing.
Data Communication Networks Lec 18. Wired LAN:Ethernet Datalink layer – Logical link control(LLC) – MAC Physical layer.
LAN Topologies Part 1. What is topology? Topology is the physical or logical interconnection of communicating devices Physical Topology: LANtopology,
Introduction to Networks v6.0
Instructor Materials Chapter 5: Ethernet
Local Area Networks: Topologies
COMPUTER NETWORKS CS610 Lecture-9 Hammad Khalid Khan.
Lec 2: Protocols.
Hardware Addressing and Frame Type Identification
Ct1403 Lecture#2: DATA LINK LAYER
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
Net 323: NETWORK Protocols
Ethernet : Framing and Addressing
Data Link Issues Relates to Lab 2.
COMPUTER NETWORKS CS610 Lecture-10 Hammad Khalid Khan.
Data-link Layer Computer Networks.
Protocol layering and data
Ch 17 - Binding Protocol Addresses
Protocol layering and data
Local Area Networks (LANs)
Chaithra Ashwin Sanjana
LAN Addresses and ARP IP address: drives the packet to destination network LAN (or MAC or Physical) address: drives the packet to the destination node’s.
13-LAN, packets, frames and topologies
Presentation transcript:

1 Fall 2005 Hardware Addressing and Frame Identification Qutaibah Malluhi CSE Department Qatar University

2 Identifying a Destination  Data sent across a shared network reaches all attached stations –All stations on shared-media LAN receive all transmissions –True for all LAN topologies  Need to devise a technique for delivering message through LAN medium to single, specific destination computer  To allow sender to specify destination –Each computer is assigned a unique number. Commonly referred to as »hardware address »physical address, or »media access (MAC) address

3 Specifying a Recipient  Sending computer includes in the frame –Destination hardware address –Source hardware address (its own), for most LAN technologies –Sending computer also identifies type of data carried in the frame  Only the computer identified in frame receives copy of frame. –Frames not addressed to me are discarded by my net interface card

4 LAN Interface Hardware  LAN interface handles all details of frame transmission and reception –Adds hardware addresses, error detection codes, etc. to outgoing frames –May use DMA to copy frame data directly from main memory (when sending) or to main memory (when receiving) –Obeys access rules (e.g., CSMA/CD) when transmitting –Checks error detection codes on incoming frames –Checks destination address on incoming frames  If destination address on incoming frame matches the local station's address, a copy of the frame is passed to the attached computer  Frames not addressed to the local computer are ignored –don't affect the local computer in any way – do not interfere with processing or memory of local computer

5 Format of Physical Address  What valid numeric value are used?  What is the size of this value? –In practice 1-6 bytes  How are these addresses assigned?  Where are they located inside the frame?  The specific network technology/standard specifies all of the above questions

6 Assigning Hardware Addresses  Hardware addresses must be unique on a LAN  How can those address be assigned and who is responsible for uniqueness?  Static: Hardware manufacturer assigns permanent address to each interface –Manufacturer must ensure every interface has a unique address  Configurable: Address can be set by end user, either thru switches or jumpers on the interface or thru software –System administrators must coordinate to avoid conflict  Dynamic: Interface automatically assigns hardware address each time it is powered up –Automatic scheme must be reliable to prevent conflicts

7 Broadcast Address  Some applications want to broadcast messages to all stations on the LAN  Because LAN technologies use a shared communication channel, broadcasting is naturally very efficient  Special reserved broadcast address –Station’s network interface hardware accepts its own address as well as the broad cast address.

8 Multicasting  Broadcasting consumes computational resources on the stations because the station’s memory and CPU (not the Net Interface Hardware) are involved in processing and discarding unwanted broadcast frames.  Multicasting –Network interface card »Always accepts unicast and broadcast »Can accept zero or more multicast address –Application software »Determine multicast address to accept »Informs network interface card

9 Identifying Frame Content  Destination must get some clue about how to interpret frame data –E.g., ASCII, ARP, IPX, etc.  Can use: –Explicit frame type - identifying value included with frame describes type of included data (self-identifying frames) –Implicit frame type – sender and receiver must agree on »a content of the frame, or »a mechanism to determine the content from the data

10 Conceptual Frame Format  LAN technology standards define frame format for each technology  All contemporary standards use a format consisting of a header part and a data part.  Header –Has address and other identifying information –Has fixed layout -- fields with fixed size and location  Payload –Data area –May vary in size

11 Ethernet Addressing  Standardized by IEEE  Each station assigned unique 48-bit address  Addresses are static and are assigned when network interface card (NIC) manufactured  All 1s address specifies broadcast  Addresses starting with 1 are used for multicast –Half of address reserved for multicast  Uses self-identifying frames –2-byte explicitly determine frame type

12 Ethernet Frame Format  Preamble is alternating 1’s and 0’s to synchronize the sender and receiver hardware  Sender places –Sender’s address in source –Recipient’s address in destination –Type of data in frame type –Cyclic redundancy check in CRC

13 Ethernet Type Examples

14 LANs without Frame Type  If not frame type field, sending and receiving computers must agree –To only send one type of data (imposes severe limitations) –To put type information in first few octets of payload  Most system need type information  In practice, to ensure interoperability –format of encoding area must be universally agreed upon –format typically set by standards body

15 IEEE LLC/SNAP  IEEE standard includes Logical Link Control (LLC) SubNetwork Attachment Point (SNAP) header  SNAP/LLC header is widely used; e.g., by Ethernet  LLC portion indicates SNAP field to follow  OUI (Organizationally Unique Identifier) identifies –Ethernet specification organization in this example  TYPE field interpreted as in Ethernet –IP type in this example

16 Demultiplexing On Type  Network interface hardware –Received copy of each transmitted frame –Examines address and either discards or accepts –Passes accepted frames to system software  Network device software –Examines frame type –Passes frames to correct software module

17 Network Analyzers  A network analyzer or network monitor or ``network sniffer'' is used to examine the performance of or debug a network –Can report statistics such as capacity utilization, distribution of frame size, collision rate or token circulation time –Can record and display specific frames, to understand and debug packet transmissions and exchanges  Basic idea is a computer with a network interface that receives all frames –This mode of operation is called promiscuous mode –Standard interface cards can be configured for promiscuous mode  Combined with software, a computer can examine any frame on LAN –No privacy over a LAN

18 Filtering Frames  Analyzer can be configured to filter and process frames –Count frames of a specific type or size –Display only frames from or to specific computers –In general, can be configured to match value of any field and capture only those frames meeting the filter specification  Analyzer can display real-time performance by computing running totals over specific time periods

19 Hardware Addressing Summary  LAN technologies use hardware addresses to identify frame destination –Each station must have a unique address on the LAN segment  Hardware addresses may be statically assigned, configurable or automatically assigned  Each LAN technology defines its own hardware format  Frames include a header with fields for destination, source and other information such as frame type  Frame type defines how to interpret frame data  Network analyzer can receive all frames and display statistics or aid in debugging problems