This post continues from Part 1 and covers a few more important networking concepts. These terms often come up when learning how data moves through a network, especially when understanding how devices identify each other, how applications communicate, and how data is structured at each layer.
1. MAC Address – Device-Level Identification
A MAC (Media Access Control) address is a unique identifier assigned to a device’s network interface card (NIC). It works at the Data Link layer (Layer 2) and is mainly used for communication within a local area network.
Format:
- Usually shown in hexadecimal format.
- Example: 00:1A:2B:3C:4D:5E or 00-1A-2B-3C-4D-5E
Purpose:
- MAC addresses are factory-assigned by the NIC manufacturer, and they are meant to be globally unique.
- Though often described as being “burned into the hardware,” most operating systems allow users to manually change or override the MAC address via software configuration.
- Switches use MAC addresses to forward Ethernet frames to the correct destination within a LAN.
MAC addresses are used to represent the Next-Hop (Next device) in communication.
2. Port Numbers – Process-to-Process Communication
When two devices communicate, it’s not enough to just reach the device (IP address) — we also need to reach the correct application or process on that device. That’s where port numbers come in.
Port numbers are part of the Transport layer (Layer 4) and are used by protocols like TCP and UDP.
Example:
- Web traffic: Port 80 (HTTP), Port 443 (HTTPS)
- SSH: Port 22
- DNS: Port 53
Port Ranges:
| Range | Purpose |
| 0 – 1023 | Well-known ports (e.g., HTTP, FTP) |
| 1024 – 49151 | Registered ports (for user processes) |
| 49152 – 65535 | Dynamic/Ephemeral ports (temporary) |
When your browser connects to a website:
- Destination port = 443 (HTTPS)
- Source port = some random dynamic port (e.g., 51234) assigned temporarily
3. Protocol Data Unit (PDU) – The Payload at Each Layer
A Protocol Data Unit (PDU) is the formatted unit of data that each layer of the OSI model works with. As data moves down the layers, it gets wrapped with the necessary headers at each stage.
Here’s how the PDU is named at each layer:
| OSI Layer | PDU Name |
| Application | Data |
| Transport | Segment (TCP) / Datagram (UDP) |
| Network | Packet or Datagram |
| Data Link | Frame |
| Physical | Bits |
Example:
- A user sends a message → becomes application data
- Transport adds TCP header → becomes a segment
- IP header added → becomes a packet
- Ethernet header → becomes a frame
- Converted to bits → sent on the wire
Understanding these terms helps when you’re analyzing packet captures or discussing where certain headers are added.
4. Types of Communication – Who Gets the Data?
When a device sends data, it can send it to one or many recipients. Here are the common types of network communication:
Unicast
- One-to-one communication
- Most common form
- Example: your laptop browsing a website
Multicast
- One-to-many communication (but not to everyone)
- Used in video streaming, online classrooms, routing protocols (e.g., OSPF)
- IP Range: 224.0.0.0 to 239.255.255.255
Broadcast
- One-to-all communication in a local network
- Sent to all devices in the same broadcast domain
- Example: ARP request (Who has 192.168.1.1?)
- Limited to Layer 2 networks (e.g., switches)
Anycast
- One-to-nearest communication
- Used mostly in IPv6 and CDN networks (like DNS root servers)
- All receivers share the same IP, but the closest one responds
Summary Table
| Term | What It Refers To |
| MAC Address | Unique Layer 2 identifier for a device |
| Port Number | Layer 4 identifier for application traffic |
| PDU | Data format unit used at each OSI layer |
| Unicast | One-to-one communication |
| Multicast | One-to-selected group communication |
| Broadcast | One-to-all in the same network |
| Anycast | One-to-nearest receiver (IP shared) |
We’d love to hear your feedback and suggestions about this article. Feel free to reach out to us using the WhatsApp number below.
About The Author:
Sajith Achipra has been a trainer and testing consultant at Zframez Technologies since 2009. With 15+ years of experience, he specializes in networking, Python, development, and testing. He conducts online courses to help students and professionals enhance their skills. You can reach him on WhatsApp at +91 8884 884 844 for your training and testing requirements.