Download ppt

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

IEEE 1355 wikipedia , lookup

Point-to-Point Protocol over Ethernet wikipedia , lookup

VMEbus wikipedia , lookup

Network tap wikipedia , lookup

CAN bus wikipedia , lookup

I²C wikipedia , lookup

IEEE 802.1aq wikipedia , lookup

Wake-on-LAN wikipedia , lookup

Cracking of wireless networks wikipedia , lookup

UniPro protocol stack wikipedia , lookup

Zero-configuration networking wikipedia , lookup

Transcript
Hardware Addressing and Frame
Type Identification
1
Identifying A Destination
• All stations on shared-media LAN receive all
transmissions
• To allow sender to specify destination
– Each station assigned unique number
– Known as station’s address (physical address,
hardware address, MAC address)
– Each frame contains address of intended recipient
2
Ethernet Addressing
• Standardized by IEEE
• Each station assigned unique 48-bit address
• Address assigned when network interface card
(NIC) manufactured
3
Ethernet Address Recognition
• Each frame contains destination address
• All stations receive a transmission
• Station discards any frame addressed to
another station
• Important: interface hardware, not software,
checks address
4
Organization of the hardware in a
Computer attached to a LAN
5
Possible Destinations
• Packet can be sent to:
– Single destination (unicast)
– All stations on network (broadcast)
– Subset of stations (multicast)
• Address used to distinguish
6
Advantages Of Address Alternatives
• Unicast
– Efficient for interaction between two computers
• Broadcast
– Efficient for transmitting to all computers
• Multicast
– Efficient for transmitting to a subset of computers
7
Broadcast On Ethernet
• All 1s address specifies broadcast
• Sender
– Places broadcast address in frame
– Transmits one copy on shared network
– All stations receive copy
• Receiver always accepts frame that contains
– Station’s unicast address
– The broadcast address
8
Multicast On Ethernet
• Half of addresses reserved for multicast
• Network interface card
– Always accepts unicast and broadcast
– Can accept zero or more multicast addresses
• Software
– Determines multicast address to accept
– Informs network interface card
9
Promiscuous Mode
• Designed for testing/debugging
• Allows interface to accept all packets
• Available on most interface hardware
10
Identifying Frame Contents
• Integer type field tells recipient the type of data
being carried
• Two possibilities
– Self-identifying or explicit type (hardware records
type)
– Implicit type (application sending data must handle
type)
11
Conceptual Frame Format
• Header
– Contains address and type information
– Layout fixed
• Payload
– Contains data being sent
12
Illustration Of Ethernet Frame
• Sender places
–
–
–
–
Sender’s address in source
Recipient’s address in destination
Type of data in frame type
Cyclic redundancy check in CRC
• Example
– DIX Ethernet Standard specifies that the address with all 48 bits set to 1
is for broadcast, other addresses that start with a 1 bit are used for
multicast.
13
Ethernet Overview
• History
–
–
–
–
developed by Xerox PARC in mid-1970s
roots in Aloha packet-radio network
standardized by Xerox, DEC, and Intel (DIX) in 1978
similar to IEEE 802.3 standard
• CSMA/CD
– carrier sense
– multiple access
– collision detection
• Frame Format
Frame formats. (a) DIX Ethernet, (b) IEEE 802.3.
14
Example Ethernet Types
15
When Network Hardware
Does Not Include Types
• Sending and receiving computers must agree
– To only send one type of data
– To put type information in first few octets of
payload
• Most systems need type information
16
Illustration Of Type
Information Added To Data
• In practice
– Type information small compared to data
carried
– Format of type information standardized
17
A Standard For Type Information
• Defined by IEEE
• Used when hardware does not include type
field
• Called LLC/SNAP header
18
Demultiplexing On Type
• Network interface hardware
– Receives copy of each transmitted frame
– Examines address and either discards or accepts
– Passes accepted frame to system software
• Network device software
– Examines frame type
– Passes frame to correct software module
19
Network Analyzer
• Device used for testing and maintenance
• Listens in promiscuous mode
• Produces
– Summaries (e.g., % of broadcast frames)
– Specific items (e.g., frames from a given address)
20