Docsity

Hardware Addressing - Computer Network - Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download Hardware Addressing - Computer Network - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

COMPUTER

NETWORKS

Lecture-

Review Lecture 8

 CSMA/CD

 Wireless LANs and CSMA/CA

 Token Ring

 FDDI

 ATM

Introduction

 Need to devise technique for delivering message through LAN medium to single, specific destination computer

 Sending computer uses a Hardware Address to identify the intended destination of a frame

 Sending computer also identifies Type of data carried in the frame

Specifying a Destination

 Data sent across a shared network reaches all attached stations - for all LAN topologies

 Interface hardware detects delivery of frame and extracts frame from medium

 But ... most applications want data to be delivered to One specific application on another computer - not All computers

Hardware Addressing

 Sender includes hardware address in each transmitted frame

 Only station identified in frame receives copy of frame

 Most LAN technologies include sender's hardware address in frame, too

LAN Hardware and

Packet Filtering

LAN Interface

  • Checks error detection codes on incoming frames
  • May use DMA to copy data directly into main memory
  • Checks destination address on incoming frames
    • Station's address, a copy of the frame is passed to the attached computer
  • Frames not addressed to the local computer are ignored and don't affect the local computer in any way Docsity.com

Format of Hardware Addresses

 Numeric value

 Size selected for specific network technology

 Length is one to six bytes

Assigning Hardware

Addresses

Static Hardware manufacturer assigns permanent physical address to each network interface.

Manufacturer must ensure every interface has a unique address Configurable Address can be set by end user, either manually (e.g., switches or jumpers on the interface) or electronically (e.g., through software

System administrators must coordinate to avoid conflict

Dynamic Interface automatically assigns physical address each time it is powered up

Automatic scheme must be reliable to prevent conflicts

Broadcasting

 Some applications want to broadcast messages to all stations on the LAN

 Shared communication channel can make broadcast efficient - message is delivered to all stations

 Special broadcast address used to identify broadcast messages, which are captured by all stations

Problems with Broadcasting

  • If a pair of computers, use broadcasting, instead of sending them directly, all other computers waste CPU time while discarding the frames.

Multicasting

 Solution: The restricted form of broadcasting: Multicasting:

  • It works like broadcasting
  • However it does not forward frames automatically to the CPU
  • The interface hardware is programmed in advance to accept certain frames that have multicast address as the destination address