Resources | Subject Notes | Computer Science
This section explores the fundamental role of Network Interface Cards (NICs) and Media Access Control (MAC) addresses in enabling devices to communicate over a network. Understanding these components is crucial for comprehending how data is transmitted and received in computer networks.
A Network Interface Card (NIC), also known as a network adapter or network card, is a hardware component that allows a computer to connect to a network. It acts as the physical interface between the computer and the network medium (e.g., Ethernet cable, Wi-Fi signal).
Type | Description |
---|---|
Ethernet NIC | Connects to a network using an Ethernet cable. Common in wired networks. |
Wireless NIC | Connects to a network wirelessly using radio waves (e.g., Wi-Fi). |
Fiber Optic NIC | Uses fiber optic cables for high-speed data transmission. |
A Media Access Control (MAC) address is a unique hardware address assigned to a network interface card (NIC) by the manufacturer. It's a 48-bit hexadecimal address that identifies the device on the network.
A MAC address is typically represented as six pairs of hexadecimal digits, separated by hyphens or colons. For example: 00-1A-2B-3C-4D-5E
or 00:1A:2B:3C:4D:5E
.
When a device sends data on a local network, it includes the destination device's MAC address in the data packet's header. Network switches use these MAC addresses to forward the packet only to the device with the matching MAC address, ensuring efficient data delivery within the network.
In summary, NICs provide the physical link to the network, and MAC addresses provide a unique hardware identifier for each device on that network. Both are essential for reliable and efficient network communication.