Ethernet, MAC Address & ARP Explained (With Cisco & Hikvision/Dahua Examples)

 

Networking for Beginners – Tutorial 4

Ethernet, MAC Address & ARP Explained (With Cisco & Hikvision Examples)

Course: Networking for Beginners to Advanced
Lesson: 4 of 30


Introduction

Before devices can communicate on a network, they must know where to send data and how to deliver it. This is where Ethernet, MAC Addresses, and ARP (Address Resolution Protocol) work together.

These technologies are used every day in:

  • Cisco Switches
  • Hikvision IP Cameras
  • NVRs
  • Routers
  • Firewalls
  • Computers
  • Servers

If you understand these concepts, you'll find it much easier to troubleshoot enterprise CCTV and computer networks.


What is Ethernet?

Ethernet is the most widely used wired networking technology. It defines how devices communicate over cables such as CAT5e, CAT6, and CAT6A.

Common Ethernet Speeds

StandardSpeed
Fast Ethernet100 Mbps
Gigabit Ethernet1 Gbps
10 Gigabit Ethernet10 Gbps
25 Gigabit Ethernet25 Gbps
40 Gigabit Ethernet40 Gbps
100 Gigabit Ethernet100 Gbps

Where Ethernet is Used

  • Office Networks
  • Enterprise CCTV Systems
  • Schools
  • Hospitals
  • Banks
  • Data Centers

Ethernet Frame Structure

When data travels through an Ethernet network, it is encapsulated into an Ethernet frame.

+-------------------------------------------------------------+
| Destination MAC | Source MAC | Type | Data | FCS (Checksum) |
+-------------------------------------------------------------+

Main Fields

  • Destination MAC Address
  • Source MAC Address
  • EtherType
  • Payload (Data)
  • Frame Check Sequence (Error Detection)

What is a MAC Address?

A MAC (Media Access Control) Address is a unique hardware identifier assigned to every network interface card (NIC).

Unlike an IP address, a MAC address usually does not change.

Example

00:1A:2B:3C:4D:5E

or

F4-5C-89-AB-CD-EF

MAC Address Structure

A MAC address consists of 48 bits (6 bytes).

Example:

00 : 1A : 2B : 3C : 4D : 5E
│    │
│    └── Device Identifier
└────── Manufacturer Identifier (OUI)

The first half identifies the manufacturer, and the second half uniquely identifies the device.


Devices That Have MAC Addresses

  • Computers
  • Laptops
  • Cisco Switches
  • Routers
  • IP Cameras
  • NVRs
  • Wireless Access Points
  • Printers

IP Address vs MAC Address

FeatureIP AddressMAC Address
LayerNetwork (Layer 3)Data Link (Layer 2)
Assigned ByDHCP or AdministratorManufacturer
Can ChangeYesUsually No
Example192.168.10.10100:1A:2B:3C:4D:5E

What is ARP?

ARP (Address Resolution Protocol) is used to find the MAC address of a device when its IP address is known.

Think of ARP as asking:

"I know your IP address. What is your MAC address?"


How ARP Works

Suppose:

Camera IP:

192.168.10.101

NVR IP:

192.168.10.201

The camera wants to send video to the NVR.

Step 1

The camera knows the NVR IP address.

Step 2

The camera sends an ARP Request:

Who has 192.168.10.201?
Tell 192.168.10.101

Step 3

Every device on the LAN receives the broadcast.

Step 4

Only the NVR replies:

192.168.10.201 is at
00:1A:2B:3C:4D:5E

Step 5

The camera stores this mapping in its ARP Cache and sends video directly to the NVR.


ARP Communication Diagram

IP Camera
192.168.10.101
      │
      │ ARP Request (Broadcast)
      ▼
Cisco PoE Switch
      │
 ┌────┼────┐
 │    │    │
PC   NVR  Printer
     │
ARP Reply
00:1A:2B:3C:4D:5E

What is an ARP Table?

Every device keeps a temporary table of recently learned IP-to-MAC mappings.

Example:

IP AddressMAC Address
192.168.10.100:11:22:33:44:55
192.168.10.10100:AA:BB:CC:DD:11
192.168.10.20100:1A:2B:3C:4D:5E

This allows devices to communicate without sending an ARP request every time.


How a Cisco Switch Learns MAC Addresses

Cisco switches build a MAC Address Table (CAM Table).

When a frame arrives, the switch records:

  • Source MAC Address
  • Switch Port
  • VLAN

Example:

MAC AddressPortVLAN
00:AA:11:22:33:44Gi1/0/110
00:BB:22:33:44:55Gi1/0/210
00:CC:33:44:55:66Gi1/0/320

Cisco Commands

View MAC Address Table

show mac address-table

View ARP Table

show ip arp

View Interface Status

show interfaces status

Unicast, Broadcast & Multicast

Unicast

One device communicates with one device.

Example:

IP Camera
     │
     ▼
NVR

Broadcast

One device sends data to every device in the same network.

Example:

  • ARP Request
  • DHCP Discover
Camera
   │
──────────────► All Devices

Multicast

One device sends data to a selected group of devices.

Examples:

  • IPTV
  • Video conferencing
  • Some CCTV streaming applications
Camera
   │
──► Monitor 1
──► Monitor 2
──► Monitor 3

Enterprise CCTV Example

IP Camera
     │
CAT6 Cable
     │
Cable Manager
     │
48-Port PoE Switch
     │
Fiber ODF
     │
Cisco Catalyst C9300X-24Y
     │
Gigabit Switch
     │
Hikvision NVR
     │
LCD Monitor

Data Flow

  1. Camera captures video.
  2. Camera checks the ARP cache.
  3. If necessary, sends an ARP request.
  4. Cisco switch forwards frames based on the MAC table.
  5. Video reaches the NVR.
  6. The NVR displays and records the video.

Troubleshooting Example

Problem: A camera is online but cannot communicate with the NVR.

Check the following:

  • Is the camera in the correct VLAN?
  • Does the camera have the correct IP address?
  • Is the MAC address visible in the switch's MAC table?
  • Does the ARP table contain the correct IP-to-MAC mapping?
  • Is the switch port active?
  • Are there duplicate IP or MAC address issues?

Summary

After completing this lesson, you should understand:

  • ✅ What Ethernet is
  • ✅ How Ethernet frames work
  • ✅ What a MAC address is
  • ✅ The difference between IP and MAC addresses
  • ✅ How ARP resolves IP addresses to MAC addresses
  • ✅ How Cisco switches learn MAC addresses
  • ✅ The difference between Unicast, Broadcast, and Multicast
  • ✅ How these concepts are used in enterprise CCTV networks

Next Tutorial (Lesson 5)

IPv4 Addressing & Subnetting Fundamentals

In the next lesson, you'll learn:

  • IPv4 address structure
  • Public vs. Private IP addresses
  • Network ID and Host ID
  • Subnet masks
  • CIDR notation
  • Default gateway
  • Basic subnetting with practical examples
  • IP planning for Cisco enterprise networks and Hikvision CCTV deployments

This lesson will prepare you for designing scalable networks and assigning IP addresses efficiently in enterprise environments.

Post a Comment

0 Comments

WhatsApp .whatsapp-float{ position:fixed; bottom:20px; right:20px; background:#25D366; color:#fff; padding:14px 18px; border-radius:50px; text-decoration:none; font-weight:bold; z-index:999; }