CCNA HUB

CCNA and Linux Training Hub!

CCNA and Linux Training Hub!

  • Home
  • R&S
    • IP Fundamentals
    • Switching
    • Routing
    • IPv4 Suite
    • IPv6 Suite
    • Labs
  • Linux
    • Virtualization 101
    • Basic Configuration
    • Security Measures
    • Database Server
    • Web Server
    • HTTP Tuneup
    • FTP Server
    • Mail Server
    • DNS Server
    • Control Panels
    • Monitoring
    • Backup and Maintenance
  • WordPress
  • About
    • Contact Us
    • Be part of It
    • Under the Hood
CCNA HUB > Blog > IP Fundamentals > Models, Protocols, and Standards > Understanding Ethernet MAC Addresses

Understanding Ethernet MAC Addresses

By Imad Daou 2 Comments

Post Views: 14,620

CCNA Routing and Switching
<< IP and Network Fundamentals Course
>> Models, Protocols, and Standards Section

section table
  1. Understanding TCP/IP and OSI Models
  2. Understanding Packet Flow Across the Network Part1
  3. Understanding Packet Flow Across the Network Part2
  4. Understanding Ethernet LAN Standards
  5. Understanding Ethernet MAC Addresses
  6. Understanding WAN Technologies
  7. Understanding Data Link Layer Encapsulation
  8. Understanding EoMPLS WAN Technology
  9. Understanding IP Routing Process Concept
  10. Understanding Web Browser DNS Lookup
  11. Understanding ARP Broadcast Message
  12. Understanding TCP and UDP Protocols
  13. Understanding TCP and UDP Multiplexing
  14. Understanding Application Layer Services
  15. Understanding Quality of Service Concept
Image Source
Image Source

Media Access Control meant to to be a Physical Hardware Address System used by Ethernet. Understanding Ethernet MAC Addresses will help you grasp how Ethernet transfer frames filled with packets across network devices using MAC Addresses format. So, if Network Layer package Packets using IP Addressing system which is a logical Addressing system, then Ethernet frames or load those packets using a physical Addressing system that meant on the hardware level.

Each network device in this world get its own unique 48bit MAC Address which will be used only by Ethernet Technology. The moment you hear MAC address, think Ethernet is being used regardless of the Media (cable type) is being used between the devices such Copper, Fiber cables, or even over Wireless radio wave.

Table of Contents

  • Ethernet MAC Address
  • Types of MAC addresses
  • Address Resolution Protocol
  • MAC Addresses Distribution 
  • Is it IPv4 or IPv6 Frame?
  • Layer 2 Error detection FCS

Ethernet MAC Address

All Ethernet addresses (Including Unicast, Broadcast, and Multicast) are 6-byte-long (48-bit-Long) or 12-character Hexadecimal Address. Most computers list this address as 12-digit Hexadecimal numbers. Cisco divides it to 3 groups: E.g. 2001.1111.1111

An Ethernet MAC address is a hardware address, therefore, it MUST uniquely identifies every Ethernet device in the world. When vendors create network devices such Ethernet NICs, wireless devices, routers, and switches, they burn-in these addresses into their devices.

A MAC address has few names, including Physical Address, Ethernet Address, Burned-in Address, and Hardware Address. No matter what it’s called, it is a 12-character hexadecimal Address. Examples:

  • Cb54.5689.90cc (Cisco Way of Displaying MAC Address)
  • 18:40:58:76:90:hh (Linux Way of Displaying MAC Address)

Types of MAC addresses

1. Unicast Address

Is another name for MAC address or an Ethernet Address. Every MAC address represent a single NIC in the world; hence, it is called Unicast (Unique) Global Address.

Unicast Message

In addition to unicast addresses, Ethernet also uses group addresses. Group addresses identify more than one LAN interface card. A frame sent to a group of addresses might be delivered to a small set of devices on the LAN, or even to all devices (everyone) on the LAN. So the IEEE defines categories of group addresses for Ethernet communications:

2. Broadcast Address

Meaning to everyone – Frames sent using this address should be delivered, received, and processed by all devices on the Ethernet LAN or VLAN.

Broadcast Message

Broadcast conclude 12-digit Hexadecimal address with value of FFFF.FFFF.FFFF inserted into the destination filed of the Frame.

3. Multicast Address

To a specific group – Frames sent using Multicast Ethernet address will be copied and forwarded to a subset of devices on the LAN that volunteers to receive such frames which sent to a specific multicast address – for specific group only and NOT to everyone. It is a 12-digit Hexadecimal with most of the time carries the following value 0100.5E7F.XXXX, this is an official (IANA) Multicast address.

Multicast Message

Note: Unicast Address is the mostly used Media Access Control Address among network devices.

Address Resolution Protocol

How would PC1 figure out R3’s Unicast MAC Address for the first time?

PC1 Gateway Router

In order to learn R3 MAC address, PC1 announces or broadcast through Address Resolution Protocol (ARP). PC1 sends broadcast frame using ARP Message Request, creates an IP packet indicating R3’s IP Address (192.168.1.1) as destination (which is known to PC1 through DHCP or Static IP configuration), and encapsulates the packet inside a frame indicating an ARP Message Request as Broadcast address (FFFF.FFFF.FFFF) inside the frame.

Broadcast Frame

After receiving an ARP Reply Message and learning R3’s MAC address, PC1 can now use R3 as next hop for outside routing, and can create an IP Packet destined to Web-server’s IP address.  PC1 in the following figure creates a new IP packet indicating this time Web-Server’s IP address as destination IP address (172.16.10.20), and encapsulates the IP packet inside a Frame heading to R3’s MAC address as next-hop since PC1 knows now the R3 MAC address.

Unicast Frame

Multicast Address

Multicast frame used in special cases for a specific group of computers. The following figure shows a Multicast Frame message, e.g. from a Ghost-Server heading to group of computers on the network and PC1 could be one of them. Usually, devices volunteer through a Ghost Client loaded by CD or USB on the PC to receive this type of message.

Multicast Frame

MAC Addresses Distribution 

So how would an Ethernet Address Assigned to Manufactures? Since it must be a unique number, all Ethernet devices are assigned a Universal Unique MAC Address. Before a manufacture can build Ethernet NICs or Interfaces, it must ask the IEEE group to assign the manufacture a Universally Unique 3-byte Code, called Organizational Unique Identifier (OUI).

Ethernet MAC Address Structure
Image Source

Ethernet’s NIC or Interface Hardware Address

Media Access Control Address (MAC), Burned-in Address, data link address, hardware address, physical address, or MAC address, all these names refer to the same exact 12-hex digit hardware address that is used by any NIC or interface in the world (1001.2222.3333 – Cisco style MAC Address) and (AF:02:CD:EE:71:AB – PC style MAC Address). Remember, Network devices initially need the help of Address Resolution Protocol (ARP) to learn each other MAC addresses once they are plugged into an Ethernet LAN network switch or hub.

Is it IPv4 or IPv6 Frame?

Identifying which Network Layer Protocol being used is crucial for Network devices to distinguish when Dual Stack is being used (IPv4 and IPv6 Internet). The Ethernet Type Field (EtherType) sits in the Ethernet data link layer header, but its purpose is to directly help the network processing (TCP/IP Stack) on routers and hosts.

Basically, the Type Field identifies what type of network layer (Layer 3) is being used inside the packet that sits inside the Ethernet frame. Internet uses 2 Types of Internet Protocols: IPv4 and IPv6.

So, what number should the sender put in the header to identify an IPv4 Packet or an IPv6 packet? As it turns out, the IEEE manages a list of EtherType values, so that every network layer protocol needs a unique EtherType value can have a number, however, only 2 types are being used these days: IPv4 and IPv6.

  • IPv4 value in Hexadecimal is: 0800
  • IPv6 value in Hexadecimal is: 86DD
Ehernet type 2 Frame
Image Source

Notice that the Ethernet Frame doesn’t change to accommodate IPv6 packet. Ethernet keeps the same frame as is whether IPv4 or IPv6 is being used, the only thing changes is: the Ethernet Type Field number: Either 0800 for IPv4 or 86DD for IPv6.

Layer 2 Error detection FCS

The Ethernet Frame Check Sequence (FCS) field in the Ethernet Trailer – the only field in the ethernet trailer – gives the receiving node a way to compare results with the sender, to discover whether errors occurred to the frame on the way.

Note that error detection does not also means error recovery, ethernet defines that the frame with error should be discarded, and ethernet does not attempt to recover the frame. It is the TCP protocol at Layer 4 (Transport Layer) where it recover the lost data by noticing that it is lost and sending the data again. (FCS IS NOT AN ERROR RECOVERY)

Recommended Readings

By Wikipedia MAC Address | IEEE.org | HighTech Ethernet Explained | Router Ally Ethernet Guide | Whatismyipaddress MAC Explained |  Cisco CCNA Simplified | Cisco CCNA in 60 Days | Networking for Dummies | CCNA R&S Certification Kit | Ethernet Definitive Guide

CCNA Routing and Switching
<< IP and Network Fundamentals Course
>> Models, Protocols, and Standards Section

section table
  1. Understanding TCP/IP and OSI Models
  2. Understanding Packet Flow Across the Network Part1
  3. Understanding Packet Flow Across the Network Part2
  4. Understanding Ethernet LAN Standards
  5. Understanding Ethernet MAC Addresses
  6. Understanding WAN Technologies
  7. Understanding Data Link Layer Encapsulation
  8. Understanding EoMPLS WAN Technology
  9. Understanding IP Routing Process Concept
  10. Understanding Web Browser DNS Lookup
  11. Understanding ARP Broadcast Message
  12. Understanding TCP and UDP Protocols
  13. Understanding TCP and UDP Multiplexing
  14. Understanding Application Layer Services
  15. Understanding Quality of Service Concept
  • Was this information helpful?
  • Yes(0)   No(0)
Get CCNA R&S Updates!

system-software-update-hi

Filed Under: IP Fundamentals, Models, Protocols, and Standards Tagged With: burned-in address, hardware address, mac address, physical address

About Imad Daou

CCNA HUB Founder, Imad has been in IT field since 2007. Currently holding A+, Network+, Server+, Security+, and Storage+. HP, Dell, and IBM Hardware Certified. Pursuing Linux+, LPIC-2, RHCSA, RHCE, AWS, CCNA, and JNCIA.

DISCUSSION

  1. Svein Karlsen author says

    May 12, 2017 at 4:46 PM

    The notion that MAC addresses must be unique is wrong!

    Most professional grade network gear get their MAC address configured by the network administrator.

    Google "locally administered mac address" to see what I'm talking about.

    Reply Report comment
    • Imad Daou author says

      May 12, 2017 at 8:14 PM

      Well, it's like Public vs. Private IP Address. You can if you want configure 2 local machines using a (Public IP addresses) that is known only and only by these 2 machines locally, although these 2 Public IP addresses are being used some where on the internet. MAC addresses is no difference, you can spoof mac addresses internally as well. Button line, when it comes to Public Network (not LAN neither EoMPLS), every MAC address and Public IP address must be unique. Maybe the technology nowadays doesn't require unique MAC addresses at some networks, however, it started this way and I believe is going to continue this way at least at the public side as pre-caution measures.

      Reply Report comment

LEAVE A COMMENT Cancel reply

We're glad you have chosen to leave a comment. All comments are moderated according to our comment policy. Use your real name and not keywords in the name field. Let's have a personal and meaningful conversation.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categories

Get CCNA HUB Updates!

MISSION

CCNA, Linux, and Wordpress Training Hub. For Students, Network Pros, DevOps, Linux/Wordpress Lovers, and Entrepreneurs. CCNA HUB Articles and Labs will help you build a solid foundation in Network, Linux, and Wordpress. E.g. Linux WHS will show you how to build a Professional Web Hosting Solution using DigitalOcean or Vultr VPS provider.

TAG CLOUD

transmission control protocol TCP/IP VPS Hosting understanding Routing sudo wordpress CMS SSH Client understanding switching subnet mask udp sockets TCP virtual circuit su VLSM transport layer wordpress.org CMS tcp sockets switches T1 Wordpress Multisite WAN SSH Agent Forwarding transport layer protocols Wordpress Hosting Hub wide area network

RSS UPDATES

  • IP Fundamentals
  • CCNA R&S
  • CCNA Labs
  • Linux WHS
  • Wordpress
  • All CCNA HUB Topics

Copyright © 2023 ·Genesis Sample Theme - Genesis Framework by StudioPress - WordPress - Log in

This website uses cookies. By continuing to browse the site, you are agreeing to our use of cookies
  • Home
  • R&S
    • IP Fundamentals
    • Switching
    • Routing
    • IPv4 Suite
    • IPv6 Suite
    • Labs
  • Linux
    • Virtualization 101
    • Basic Configuration
    • Security Measures
    • Database Server
    • Web Server
    • HTTP Tuneup
    • FTP Server
    • Mail Server
    • DNS Server
    • Control Panels
    • Monitoring
    • Backup and Maintenance
  • WordPress
  • About
    • Contact Us
    • Be part of It
    • Under the Hood