CN 7
CN 7
Assignment
An Ethernet network consists of computers (or devices) connected via Ethernet cables to a
switch or a router. Each device in the network needs a Network Interface Card (NIC), which
has a unique MAC (Media Access Control) address.
A MAC address is a 48-bit (6-byte) hardware address that uniquely identifies a device on a
network. It is usually represented in hexadecimal,
The MAC address is used for communication within a network segment (Layer 2 of the OSI
model). Each device listens to all network traffic but only processes frames addressed to its
own MAC address.
1. Data Encapsulation:
o Computer 1 creates a data packet with the destination IP address 192.168.1.3
(Computer 2).
o The Ethernet layer adds a frame header with Computer 1's MAC address as the
source and Computer 2's MAC address as the destination.
Practical Example:
Computer 1 sends a message to Computer 2. The Ethernet frame will look like this:
The switch uses MAC addresses to ensure the message reaches the correct device.This setup
can be tested in a lab environment using physical devices or simulated in virtual
environments like Cisco Packet Tracer or GNS3.