Hardware Addressing and Frame Type Identification - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

Hardware Addressing and Frame Type Identification

Description:

Most LAN technologies have addressing scheme. Each station has unique physical address, often called medium ... 'Subscribes' to multicast 'group: Summary: ... – PowerPoint PPT presentation

Number of Views:125
Avg rating:3.0/5.0
Slides: 19
Provided by: elliot8
Category:

less

Transcript and Presenter's Notes

Title: Hardware Addressing and Frame Type Identification


1
Hardware Addressing and Frame Type Identification
2
Addressing
  • Most LAN technologies have addressing scheme
  • Each station has unique physical address, often
    called medium access controller (MAC) address
  • Each frame in LAN uses physical address to send
    frames

3
Addressing Continued
  • Every station receives every frame but only pays
    attention to those addressed to it
  • Each frame includes both destination and source
    physical addresses
  • Including source hastens reply
  • Each frame has a fixed header that is broken into
    fields

4
LAN Hardware
  • The hardware in a computer that talks to LAN
    completely separate from CPU - NIC
  • This LAN interface HW has to own processor and
    can do work independently of the CPU
  • LAN interface hardware checks frame size, CRC,
    etc.
  • Discards bad frames
  • CPU knows nothing of all this
  • Efficient use of hardware

5
(No Transcript)
6
LAN Hardware Continued
  • LAN interface uses physical addressing to ignore
    frames not intended for this computer
  • If physical address matches, frame contents given
    to CPU

7
Physical Addresses(Dont confuse with IP
Addresses)
  • Type and Formats
  • Static set by manufacturer and never changed
    (must be globally unique! fit anywhere)
  • Configurable customer may set via switches or
    EPROM. Typically configured once stay fixed
    across reboots
  • Dynamic address given during each boot
  • Can be random, clock based
  • Check to see if others using

8
Physical Addresses Continued
  • Physical addresses must be unique on single LAN
  • Not necessarily globally unique

9
Broadcasting
  • E.g. computer wants to know all printers on LAN
  • Medium shared so broadcasting easy
  • Need mechanism for all station to pay attention
    to frame
  • Have special physical address that everyone
    listens to

10
Broadcasting Continued
  • Create broadcast address
  • LAN interface card also forwards these to CPU

11
Multicasting
  • Broadcasting can be inefficient if only small
    group needs message
  • Broadcasts involve every CPU
  • Multicasting like broadcasting in that only one
    frame sent on shared medium
  • Interface does not forward to CPU by default
  • Interface must be programmed to do this

12
Multicasting Continued
  • Reserves some addresses for multicast
    transmissions
  • Application notifies interface card it wants to
    receive multicasts
  • Subscribes to multicast group
  • Summary
  • NIC can be set up to recognize its own address,
    all broadcast addresses, and programmed
    multicast addresses.
  • NIC passes frames with these into CPU.

13
Frame Content Identification Frame Type
  • Explicit have content description in frame
    frame type in header
  • Implicit sender and receiver must agree
    (coordinate) before frames transferred frame
    type embedded in payload somewhere

14
Ethernet Frame Format
  • 64-bit preamble
  • Used to synchronize sender and receiver
  • Destination and source addresses
  • 48 bit physical addresses are used
  • 16-bit frame type
  • Data
  • CRC

15
Ethernet Frame with type field in header
  • See page 130 for possible values of frame type
    field for self-identifying frames

16
Standard
  • Specifies all aspects of frame
  • E.g. all 1s in destination is broadcast
  • All others starting with 1 are multicast

17
Frame Type Not in Header
  • Use data field at beginning of payload
  • Use 8 octet IEEE LLC/SNAP layout for type
    identification
  • Octets LLC (3 octets) followed by SNAP (5)
  • LLC logical link control - AA AA 03
  • SNAP sub-network attachment point
  • Organizationally unique ID (3 octets - 00 00 00
    for all Ethernet) specify standards
    organization
  • Two octet type field specific frame type within
    organizations standards

18
Network Analyzers
  • Used to debug networks
  • Interface cards receive all packets
  • Can forward all to CPU instead of discarding
  • Called promiscuous mode
  • No special card or computer required can just
    be NIC and laptop with the right software
Write a Comment
User Comments (0)
About PowerShow.com