Device addresses

2.7 Explain basic networking concepts

📘CompTIA ITF+ (FC0-U61)


Device Addresses in Networking

In networking, devices (computers, servers, printers, phones) need a way to identify themselves and communicate with other devices. This is done using device addresses. There are two main types:

  1. IP addresses – used to locate devices on a network.
  2. MAC addresses – used to identify devices physically on a network.

1. IP Addresses (Internet Protocol addresses)

Definition

An IP address is a logical address assigned to a device that allows it to communicate over a network, like a home network or the internet. Logical means it can change if the network changes.

Format

There are two main versions:

  • IPv4: 32-bit address, written as four numbers separated by dots. Example: 192.168.1.5 Each number ranges from 0 to 255.
  • IPv6: 128-bit address, written as eight groups of hexadecimal numbers separated by colons. Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334

Purpose

  • Identifies the location of the device in a network.
  • Allows data to be sent from one device to another.
  • Example in IT: A company server might have an IP address 10.0.0.5, so employees’ computers can access it for files.

Types of IP Addresses

  1. Public IP – used to identify a device on the internet. Example: A web server hosting a company website.
  2. Private IP – used inside a local network. Example: Computers inside a company LAN.

Static vs Dynamic IP

  • Static IP: Manually set and does not change. Good for servers or printers.
  • Dynamic IP: Automatically assigned by a DHCP server. Good for most user computers.

2. MAC Addresses (Media Access Control addresses)

Definition

A MAC address is a physical address burned into the network interface card (NIC) of a device. It uniquely identifies the hardware. Logical vs physical: the MAC address does not change, even if the device moves to a different network.

Format

  • 48-bit address, usually written as six pairs of hexadecimal numbers separated by colons or dashes: 00:1A:2B:3C:4D:5E

Purpose

  • Used by switches and other networking hardware to deliver data to the correct device within a local network (LAN).
  • Helps network administrators track and manage devices.
  • Example in IT: When a laptop connects to a Wi-Fi network, the Wi-Fi access point reads the laptop’s MAC address to allow it access.

How it works with IP

  1. IP address: tells where the device is on the network.
  2. MAC address: tells which physical device should get the data.
  • Network hardware uses a process called ARP (Address Resolution Protocol) to match IP addresses to MAC addresses.

Key Differences Between IP and MAC Addresses

FeatureIP AddressMAC Address
TypeLogicalPhysical
PurposeLocates devices on a networkIdentifies the actual device
Can change?Yes (dynamic)No
Layer in OSI ModelNetwork layerData link layer
FormatIPv4 or IPv6Hexadecimal (48-bit)
Used byRouters, IP-based communicationSwitches, local network delivery

Exam Tips

  • Remember: IP = location, MAC = device identity.
  • Know the difference between static vs dynamic IP.
  • Be able to identify IPv4 vs IPv6 formats.
  • Understand how IP and MAC addresses work together in a network.

This explanation covers all the essentials for the CompTIA ITF+ exam under device addresses. Students should now understand what IP and MAC addresses are, their differences, formats, and how they are used in real IT networks.

Buy Me a Coffee