A Network Interface Controller (NIC), also known as a network interface card or network adapter, is a hardware component that allows a computer or other device to connect to a network.
NICs can be built into the motherboard or added as an expansion card in a computer. They are essential for establishing communication between devices on a local area network (LAN) or the internet.
NICs operate at the Data Link Layer (Layer 2) of the OSI model. They handle the framing of data packets, error detection, and, in some cases, error correction.
A is a hardware component that enables a computer to connect to a network.
Key Functions of a NIC
Data Transmission and Reception
The primary function of a NIC is to transmit and receive data over a network. It converts data from the computer into a format suitable for transmission over the network medium (like Ethernet, Wi-Fi, etc.).
MAC Address
NICs have a unique Media Access Control (MAC) address, a hardware address that identifies the device on a network. The MAC address is used by switches and other network devices to route data to the correct destination.
Speed and Duplex Settings
NICs can operate at different speeds (e.g., 10/100/1000 Mbps for Ethernet) and in full-duplex (sending and receiving data simultaneously) or half-duplex (either sending or receiving at a time) modes.
Each NIC has a unique identifier known as the address.
Full Duplex
Types of NICs
Ethernet NICs
Used for wired networking. They connect devices using Ethernet cables.
Wireless NICs
Used for wireless networking, allowing devices to connect to Wi-Fi networks.
Fiber Optic NICs
Used in networks where fiber optic cables are employed for higher data transfer speeds and longer distances.
Virtual NICs
Used in virtual machines, providing them with network connectivity without a physical NIC.
Ethernet
NICs can be built into the motherboard or can be installed as a separate card.
NIC Features
Wake-on-LAN
Allows a computer to be remotely powered on or awakened from sleep mode using a network message.
TCP Offloading
Offloads certain processing tasks from the CPU to the NIC, improving performance in high-speed networks.
VLAN Support
Allows the NIC to be used in a virtual LAN, which can segment network traffic for security and efficiency.
What protocol does most NICs use for communication?