Network Devices and Addressing
Network devices and addressing are essential components of computer networking. Devices such as routers and switches connect systems and direct traffic, while IP and MAC addresses help identify devices and deliver data across networks.
This section introduces common networking hardware and the addressing concepts used in local networks and across the internet.
What You'll Learn
- Understand the purpose of common network devices.
- Learn the differences between hubs, switches, routers, bridges, and gateways.
- Understand IP addresses and their role in network communication.
- Explore IPv4 and IPv6 addressing.
- Understand MAC addresses and their relationship to network interfaces.
- Learn the differences between IP and MAC addresses.
- Identify how devices use addressing to communicate.
Lessons
1. Network Devices
Learn about the hardware and virtual components that connect devices and manage network traffic.
Topics include:
- Network Interface Card (NIC)
- Hub
- Switch
- Router
- Bridge
- Repeater
- Modem
- Wireless Access Point
- Gateway
- Firewall
2. IP Addressing
Understand how IP addresses identify network interfaces and support communication between devices across networks.
Topics include:
- IPv4 and IPv6
- Public and private IP addresses
- Static and dynamic addressing
- Network and host portions
- Subnet masks and CIDR notation
- Default gateways
3. MAC Addressing
Learn how Media Access Control addresses identify network interfaces at the data link layer and support communication on local network segments.
Topics include:
- MAC address structure
- Unicast and multicast addresses
- MAC address versus IP address
- ARP and neighbor discovery fundamentals
- Viewing MAC addresses on Linux and Windows
Learning Path
- Network Devices — Understand how networking hardware connects and forwards traffic.
- IP Addresses — Learn logical addressing and how devices communicate across networks.
- MAC Addresses — Understand link-layer addressing within local network segments.
- Address Resolution — Explore how IP addresses are associated with link-layer addresses.
- Practical Networking — Inspect device addresses and network configuration on your computer.
Quick Comparison
| Feature | IP Address | MAC Address |
|---|---|---|
| Purpose | Supports logical addressing and routing. | Identifies a network interface at the link layer. |
| Layer | Network layer in the OSI model. | Data link layer in the OSI model. |
| Common format | IPv4: 192.168.1.10 | Common format: 00:1A:2B:3C:4D:5E |
| Scope | Can be used for communication across networks. | Primarily used for delivery within a local link. |
| Changes | May change when network configuration changes. | Often assigned to an interface, but may be changed or randomized. |
Basic Commands
View IP Addresses on Linux
ip addr
View the Routing Table
ip route
View Network Interfaces and MAC Addresses
ip link
View IP Configuration on Windows
ipconfig /all
Prerequisites
- Basic computer networking knowledge.
- Understanding of network types and topology.
- Familiarity with the OSI and TCP/IP models is recommended.
Practice Questions
- What is the function of a router?
- Differentiate between a hub and a switch.
- What is an IP address?
- What is the difference between IPv4 and IPv6?
- What is a MAC address?
- Differentiate between IP and MAC addresses.
- What is the purpose of a default gateway?
- What is ARP used for in IPv4 networks?
Next Steps
After completing this section, continue to:
- Protocols and Services — Learn about DNS, ports, TCP, UDP, and other networking protocols.
- Web Communication — Understand HTTP and HTTPS.
- Network Security — Explore how network devices and addressing are protected.
Ugenz Academy — Learn • Build • Protect • Grow.