Routelearn.net
Course menu

Unit 2: Network DevicesLesson 2.1 (1 of 8 in this unit)5 of 84 in the Network Fundamentals course

Network interface cards (NICs)

Every device that joins a network needs a network interface: the hardware that turns data into signals on a cable or radio waves, and back again. This lesson explains what a NIC is, what is inside it, and how to check one on your own computer.

Beginner · 13 min read · Before this: What is a computer network?

A NIC (network interface card) is the hardware that connects a device to a network. It converts data into electrical, light or radio signals for the medium and back again, and carries a MAC address that identifies the interface on the local network.

In simple terms: A NIC is the part of a computer that connects it to a network, by cable or by Wi-Fi. It sends and receives the signals that carry your data.

A network interface card (NIC) is the part of a device that connects it to a network. It is also called a network adapter or network interface. On old desktop PCs it really was a separate card that you plugged in. Today it is usually a small chip built into the main board, but the name stuck.

💡 In simple terms: a NIC is the device's mouth and ears for the network. The computer decides what to say; the NIC actually says it on the wire (or over the air) and listens for anything addressed to it.

A two-port PCI Express network card: metal bracket with two RJ45 ports and LEDs, a controller chip, magnetics and a gold PCIe connectorNICMetal bracket: screws to the caseRJ45 ports: the network cables plug in hereLEDs: link (green) and activity (amber)Magnetics: electrical isolationController chip: the brainsPCIe connector: plugs into the motherboard
A two-port network card for a desktop or server. Laptops and most PCs have the same parts built into the main board.

Why a device needs a NIC

Inside a computer, data is just numbers in memory. A cable carries electrical pulses, a fibre carries flashes of light, and Wi-Fi carries radio waves. Something has to translate between the two worlds. That is the NIC's job. It solves three problems:

  • Signals: it converts bits (1s and 0s) into the right kind of signal for the medium, and back again.
  • Addressing: it gives the device a hardware address, the MAC address, so other devices on the same network can send frames to it.
  • Filtering: it checks every frame it hears and only passes the ones meant for this device up to the operating system. This saves the computer a lot of work.

Where the NIC sits in a network

Every end device has at least one NIC: laptops, desktops, phones, printers, servers, smart TVs. Network devices have them too: every port on a switch and every interface on a router is really a network interface. Here is a small home network. Each device has a NIC, and each NIC has its own MAC address.

Wi-FiCat 6 cableLaptopWi-Fi NIC 02:00:00:00:00:aaDesktopEthernet NIC 02:00:00:00:00:bbHome routerLAN 192.168.1.1Printer02:00:00:00:00:ccInternet
  1. 1. The laptop's Wi-Fi NIC transmits. It turns the frame into radio waves. The home router's own wireless interface receives them.
  2. 2. The desktop's Ethernet NIC transmits. It sends the same kind of data as electrical pulses on the copper cable.
  3. 3. The printer's NIC listens. It accepts only frames addressed to its MAC (02:00:00:00:00:cc) or to everyone (broadcast).
Every device, and every port on the home router, has a network interface with its own MAC address.

In an office the idea is the same, just with more NICs. Desk PCs have one wired NIC each. Important servers often have two NICs, each cabled to a different switch, so the server stays online if one cable, NIC or switch fails.

NIC 1NIC 2Routergateway 192.168.10.1Switch 1Switch 2Desk PC1 NIC · 192.168.10.11File server2 NICs · 192.168.10.20IP phone1 NIC + PC port
  1. 1. The PC opens a shared file. Its frames reach the server's first NIC through Switch 1.
  2. 2. Switch 1's link to the server fails. The server's second NIC, on Switch 2, keeps it reachable. Two NICs remove a single point of failure.
A server with two NICs (often called NIC teaming or bonding) can survive the loss of one link.

What is inside a NIC

You don't need to know the electronics, but knowing the main parts helps you understand what can go wrong.

Port or antenna

The physical connection: an RJ45 socket for copper cable, a cage for a fibre module (SFP), or antennas for Wi-Fi.

PHY (physical-layer chip)

Turns bits into electrical pulses, light or radio waves, and back again. It also detects whether a link is up.

MAC controller

Builds and checks frames: adds the MAC addresses and the error check, and throws away damaged frames.

Buffer memory

A small store that holds frames while they wait to be sent, or wait for the computer to collect them.

Bus connection

How the NIC talks to the computer: PCI Express inside a PC, USB for an adapter, or built into the main chip on phones and laptops.

Firmware and LEDs

Small built-in software that runs the card, and the link/activity lights on the port.

Types of NIC

TypeWhere you see itTypical speed
Built-in (onboard) EthernetDesktops, many laptops, printers1 Gb/s, increasingly 2.5 Gb/s
Wireless (Wi-Fi) NICLaptops, phones, tablets, smart devicesHundreds of Mb/s to a few Gb/s, shared over the air
USB network adapterThin laptops without an Ethernet port1 Gb/s or 2.5 Gb/s
PCIe expansion cardDesktops and servers that need more or faster ports1 to 10 Gb/s
Server NIC with SFP portsData centres, fibre or short copper cables10, 25, 100 Gb/s and more
Virtual NICVirtual machines, containers, VPN softwareDepends on the real NIC underneath

Wired and wireless NICs compared

Wired (Ethernet) NICWireless (Wi-Fi) NIC
MediumCopper cable or fibreRadio waves
Connects toA switch port (or router LAN port)A wireless access point
SpeedFixed and predictable, e.g. 1 Gb/sChanges with distance, walls and how many others share the channel
DuplexFull duplex: sends and receives at the same timeHalf duplex: takes turns on the shared channel
JoiningPlug in the cableChoose a network name (SSID) and enter the password

The MAC address: the NIC's hardware address

Every Ethernet and Wi-Fi NIC is given a MAC address when it is made. It is 48 bits long and written as 12 hexadecimal digits, for example 02:00:00:00:00:aa. Windows writes it with dashes (02-00-00-00-00-AA) and Cisco devices with dots (0200.0000.00aa). They are all the same address.

02
00
00
00
00
aa
OUI (24 bits): who made the interface
Device-specific (24 bits): assigned by the maker
First octet 02 in binary (bit 7 … bit 0)
0
0
0
0
0
0
1
0
  • Bit 0, I/G: 0 = individual (unicast), 1 = group (multicast/broadcast)
  • Bit 1, U/L: 0 = universally administered (burned in), 1 = locally administered (set by software)
Written as 00:1A:2B:3C:4D:5E, 00-1A-2B-3C-4D-5E, or Cisco-style 001a.2b3c.4d5e. The broadcast address is FF:FF:FF:FF:FF:FF.

The first half (the OUI, organisationally unique identifier) normally identifies the manufacturer; the second half is a serial number the maker chooses. Because the address is stored in the NIC's chip, it is often called the burned-in address (BIA). The example above starts with 02, which sets the "locally administered" bit: that marks an address chosen by software rather than by a manufacturer, which is exactly what an example needs.

MAC vs. IP: the MAC address belongs to the hardware and is used to deliver frames on the local network. The IP address is configured in software and is used to reach devices on any network. A NIC with no IP address can still send and receive Ethernet frames, which is exactly what happens during DHCP.

⚠️ Modern phones and laptops often use a random MAC address on Wi-Fi networks for privacy, and may use a different one on each network. If a router's list of devices shows a MAC you don't recognise, this is a common reason.

How a NIC sends and receives, step by step

Sending

Application
Browser has data to send
Operating system
Adds TCP and IP headers
Driver
Hands the packet to the NIC
NIC builds a frame
MAC addresses + FCS
Signals out
Pulses, light or radio
Sending: the NIC wraps the packet in a frame and puts it on the medium.
  1. An application, such as a web browser, has data to send.
  2. The operating system wraps it in TCP or UDP and IP headers. This is called encapsulation.
  3. The driver (software that lets the operating system control the NIC) passes the packet to the NIC.
  4. The NIC builds an Ethernet frame: destination MAC, its own MAC as the source, and an error check called the FCS at the end.
  5. The PHY sends the frame as signals: electrical pulses on copper, light on fibre, or radio waves on Wi-Fi.

Receiving

  1. The NIC hears signals and turns them back into bits.
  2. It recalculates the error check. If it doesn't match the FCS in the frame, the frame was damaged and is silently thrown away.
  3. It looks at the destination MAC. It keeps the frame only if it is addressed to its own MAC, to the broadcast address ff:ff:ff:ff:ff:ff, or to a multicast group it has joined.
  4. It stores the frame in memory and tells the operating system (an interrupt) that something has arrived.
  5. The driver collects it and the operating system unwraps it and hands the data to the right application.

💡 Step 3 is why NICs matter so much. On a shared medium a NIC may hear many frames that are not for it. It drops them in hardware, so the computer's processor never has to look at them. Tools like Wireshark can put the NIC into promiscuous mode to keep everything it hears.

What the NIC puts on the wire

On Ethernet, the NIC adds the outer layer around the IP packet: the Ethernet frame. The destination and source MAC addresses and the FCS all come from the NIC.

Preamble7 BSync pattern
SFD1 BStart of frame
Destination MAC6 BWho it's for
Source MAC6 BWho sent it
EtherType2 Be.g. 0x0800 = IPv4
Payload46–1500 BIP packet (+ padding)
FCS4 BError check (CRC)
On the wire only (8 B)
Ethernet header: 14 B
Frame: 64–1518 bytes (destination MAC → FCS)
Ethernet II frame. The preamble and SFD are transmitted before the frame but aren't counted in its size. Payloads under 46 bytes are padded; 802.1Q VLAN tags add 4 bytes.

For example, when the desktop above (02:00:00:00:00:bb, IP 192.168.1.20) sends a web request to a server on the internet, the frame it sends looks like this:

FieldValueWhy
Destination MAC02:00:00:00:00:01The home router's LAN interface: the next hop, found with ARP
Source MAC02:00:00:00:00:bbThe desktop's own NIC
EtherType0x0800The payload is an IPv4 packet
PayloadIP packet from 192.168.1.20 to 203.0.113.80The IP addresses are end to end
FCS4-byte CRC valueLets the receiver detect damage

Speed and duplex

A wired NIC and the switch port at the other end must agree on two things before they can talk:

  • Speed: how fast bits are sent, such as 100 Mb/s, 1 Gb/s or 10 Gb/s.
  • Duplex: whether both sides can send at the same time (full duplex) or must take turns (half duplex).

Normally they agree automatically using auto-negotiation: each side advertises what it can do and they pick the best setting both support. Problems start when one side is set by hand and the other is left on auto. You can read more in Speed and duplex.

Common nameSpeedUsual cable
Fast Ethernet (100BASE-TX)100 Mb/sCat 5 or better copper
Gigabit Ethernet (1000BASE-T)1 Gb/sCat 5e or better copper
2.5GBASE-T2.5 Gb/sCat 5e or better copper
10GBASE-T / 10GBASE-SR10 Gb/sCat 6A copper / multimode fibre

Link lights

Most Ethernet ports have one or two small LEDs. They are the fastest check you can do: no software needed. Colours vary by maker, so check the manual, but the usual meaning is:

What you seeWhat it usually means
Solid green (link light)A working physical link to the other device
Flickering (activity light)Frames are being sent or received
Amber or a different colourOften a lower speed than the maximum, e.g. 100 Mb/s instead of 1 Gb/s
No light at allNo link: cable unplugged or broken, the other end is off, or the port is disabled

Drivers

A driver is the software that lets the operating system use a particular NIC. Windows, macOS and Linux include drivers for most common NICs. A missing or broken driver is a common reason a brand-new adapter "does nothing": the hardware is fine, but the operating system cannot talk to it. Updating the driver also fixes many odd Wi-Fi problems, such as dropped connections after sleep.

Which OSI layers a NIC works at

A NIC covers the bottom two layers of the OSI model: Layer 1 (signals) and Layer 2 (frames and MAC addresses). Everything above that, such as IP and TCP, is done by the operating system. Some server NICs can help with higher-layer work (called offloading), but that is an optimisation, not their main job.

OSI layerNICsignals + frames
L7 Application–
L6 Presentation–
L5 Session–
L4 Transport–
L3 Network–
L2 Data Link✓
L1 Physical✓
A NIC works at Layer 1 (Physical) and Layer 2 (Data Link).

Seeing your NIC

Windows

Example output from a Windows PC, written for this lesson
C:\>ipconfig /all
Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : home
   Description . . . . . . . . . . . : Intel(R) Ethernet Connection I219-V
   Physical Address. . . . . . . . . : 02-00-00-00-00-BB
   DHCP Enabled. . . . . . . . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.20(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 192.168.1.1

Wireless LAN adapter Wi-Fi:

   Media State . . . . . . . . . . . : Media disconnected
   Description . . . . . . . . . . . : Intel(R) Wi-Fi 6 AX201 160MHz
   Physical Address. . . . . . . . . : 02-00-00-00-00-AA

Each adapter is a separate NIC with its own Physical Address (MAC). "Media disconnected" means that NIC has no link right now.

PowerShell shows the link speed and status in one line per NIC:

Example output from a Windows PC, written for this lesson
PS C:\>Get-NetAdapter
Name      InterfaceDescription                ifIndex Status       MacAddress         LinkSpeed
----      --------------------                ------- ------       ----------         ---------
Ethernet  Intel(R) Ethernet Connection I219-V      12 Up           02-00-00-00-00-BB    1 Gbps
Wi-Fi     Intel(R) Wi-Fi 6 AX201 160MHz            18 Disconnected 02-00-00-00-00-AA     0 bps

Linux

Example output from a Linux PC, written for this lesson
$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 02:00:00:00:00:bb brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
    link/ether 02:00:00:00:00:aa brd ff:ff:ff:ff:ff:ff

lo is the loopback, a virtual interface for talking to yourself. enp3s0 is the wired NIC: UP and LOWER_UP mean it is enabled and has a link. wlp2s0 is the Wi-Fi NIC: NO-CARRIER means no link. link/ether shows each MAC address.

Example output from a Linux PC (trimmed), written for this lesson
$ sudo ethtool enp3s0
Settings for enp3s0:
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Speed: 1000Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	Link detected: yes

ethtool shows what the NIC can do and what it actually agreed with the switch: here 1 Gb/s, full duplex, using auto-negotiation.

More commands are covered in Essential Windows network commands and Essential Linux network commands.

When a NIC fails

A faulty NIC, cable or setting usually shows up as one of these symptoms:

SymptomLikely causeCheck first
No link light, "Media disconnected"Cable unplugged or broken, port disabled, other end offReseat or swap the cable; try another switch port
Adapter missing from the listDriver missing, or NIC disabled in the OS or BIOSDevice Manager (Windows) or lspci / lsusb (Linux)
Works, but only at 100 Mb/sDamaged cable (a broken pair), old cable, or old switchLink speed in Get-NetAdapter or ethtool; swap the cable
Slow with many errorsDuplex mismatch or a damaged cableDuplex on both ends; error counters
Link up but no IP address (169.254.x.x)The NIC is fine; DHCP is not answeringSee DHCP
Wi-Fi drops after sleepPower-saving or driver bugUpdate the driver; check power settings

💡 Work from the bottom up: light, then link status, then speed and duplex, then IP settings. A link light that won't come on is a Layer 1 problem; no amount of IP troubleshooting will fix it. See Layer 1 and 2 problems.

Common mistakes

  • Thinking the MAC address is the same as the IP address. They are separate: one is hardware and local, the other is configured and routable.
  • Looking at the wrong adapter. ipconfig lists every NIC, including virtual ones from VPNs and virtual machines. Check the one you are actually using.
  • Forcing speed or duplex on one side only. Leave both ends on auto, or set both by hand to the same values.
  • Blaming the NIC for a slow internet. A 1 Gb/s NIC is rarely the bottleneck for a home internet plan.
  • Trusting a MAC to identify a phone. Random Wi-Fi MAC addresses mean one phone can appear as several devices.
✅ Key takeaways
  • A NIC connects a device to a network and works at OSI Layers 1 and 2.
  • It turns bits into signals, builds and checks frames, and filters out frames not addressed to it.
  • Each NIC has a 48-bit MAC address, burned in at the factory but changeable in software.
  • Wired NICs are usually full duplex; Wi-Fi NICs share the air and take turns.
  • Link lights, link speed and duplex are the first things to check when a connection fails.

Knowledge check

Predict · scenario 1

A desktop's Ethernet port shows no lights at all, and ipconfig says “Media disconnected”.

Predict · scenario 2

A NIC receives a frame whose destination MAC is another device's address (not broadcast or multicast). It is not in promiscuous mode.

Predict · scenario 3

A laptop has both Wi-Fi and Ethernet NICs. How many MAC addresses does it have?

Predict · scenario 4

A new PC connects to a 1 Gb/s switch but ethtool reports “Speed: 100Mb/s”. Both ends use auto-negotiation.

Where to go next

The next devices in this unit are the ones your NIC plugs into: hubs (the old way) and switches (the modern way). To go deeper on the addresses and frames a NIC handles, read MAC addresses and The Ethernet frame.

FAQ

Can a computer have more than one NIC?
Yes, and most do. A typical laptop has a Wi-Fi NIC and often an Ethernet NIC or USB adapter as well. Each NIC has its own MAC address and can have its own IP address. Servers often have two or more so they can stay connected if one cable or switch fails.
Can I change my MAC address?
The address burned into the hardware stays the same, but the operating system can tell the NIC to use a different one. Phones and laptops do this on purpose for Wi-Fi privacy (random MAC addresses), so the same device can appear with a different MAC on different networks.
Does a faster NIC make my internet faster?
Only if the NIC is the slowest part of the path. If your internet plan is 300 Mb/s, a 1 Gb/s NIC is already faster than the plan, so a 10 Gb/s NIC will not help. A faster NIC helps for transfers inside your own network, if the switch and the other device are fast too.
What is a virtual NIC?
Software that behaves like a NIC. Virtual machines, containers and VPN apps create virtual NICs with their own MAC and IP addresses. Their traffic is eventually carried by a real physical NIC.