π CIE IGCSE Computer Science β Network Hardware
This topic focuses on how devices connect to networks and how data is identified and routed. You must understand:
- Network Interface Cards (NICs)
- MAC addresses
- IP addresses (IPv4 & IPv6)
- Routers and their role
This is commonly tested in definition, comparison, and explanation questions.
1οΈβ£ Network Interface Card (NIC)
πΉ Definitionβ
A Network Interface Card (NIC) is a hardware component that allows a computer to connect to a network.
Without a NIC, a device cannot access a network.
πΉ Purpose of a NICβ
- Enables communication between device and network
- Sends and receives data packets
- Contains a unique MAC address
πΉ Types of NICβ
- Wired NIC (Ethernet)
- Wireless NIC (Wi-Fi)
Most modern computers have built-in NICs.
πΉ Important Syllabus Pointβ
A NIC is given a MAC address at the point of manufacture.
This means:
- The MAC address is permanently assigned.
- It is unique to that device.
2οΈβ£ MAC Address
πΉ Definitionβ
A MAC (Media Access Control) address is a unique identifier assigned to a NIC.
It identifies a device on a local network.
πΉ Purpose of a MAC Addressβ
- Identifies device within a local network
- Ensures data is delivered to correct hardware
It works at the Data Link Layer (if OSI model is mentioned).
πΉ Structure of a MAC Addressβ
- 48 bits long
- Written in hexadecimal
- Usually written as 6 groups of 2 hex digits
Example:
00:1A:2B:3C:4D:5E
πΉ Why Hexadecimal?β
Hexadecimal:
- Compact way of writing binary
- Uses digits 0β9 and letters AβF
πΉ How MAC Addresses Are Createdβ
MAC address consists of:
- Manufacturer code (first 3 bytes)
- Serial number (last 3 bytes)
Example:
00:1A:2B β Manufacturer code
3C:4D:5E β Device serial code
πΉ Key Characteristicsβ
β Permanent
β Unique
β Hardware-based
β Cannot normally be changed
πΉ Exam Tipβ
If question asks difference between MAC and IP:
- MAC β physical, permanent
- IP β logical, changeable
3οΈβ£ IP Address
πΉ Definitionβ
An IP (Internet Protocol) address is a logical address assigned to a device on a network.
It identifies a deviceβs location on a network.
πΉ Purpose of an IP Addressβ
- Allows devices to communicate across networks
- Identifies source and destination of data
Unlike MAC:
- IP addresses can change.
πΉ Types of IP Addressβ
- Static IP
- Dynamic IP
πΉ Static IPβ
- Manually assigned
- Does not change
- Used for servers
πΉ Dynamic IPβ
- Automatically assigned
- Given by router using DHCP
- Can change over time
Most home networks use dynamic IP addresses.
4οΈβ£ IPv4 vs IPv6
This is frequently tested.
πΉ IPv4β
- 32 bits
- Written in decimal
- 4 numbers separated by dots
Example:
192.168.1.1
Range:
0β255 per section
Total addresses:
~4.3 billion
Problem:
- Address shortage
πΉ IPv6β
- 128 bits
- Written in hexadecimal
- 8 groups separated by colons
Example:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
Advantages:
β Much larger address space
β Better security
β More efficient routing
πΉ Comparison Tableβ
| Feature | IPv4 | IPv6 |
|---|---|---|
| Bit length | 32-bit | 128-bit |
| Format | Decimal | Hexadecimal |
| Address space | Limited | Extremely large |
| Address shortage | Yes | No |
πΉ Important Syllabus Pointβ
An IP address is allocated by the network.
This means:
- Router or ISP assigns it.
- It is not fixed at manufacture like MAC.
5οΈβ£ Role of a Router
πΉ Definitionβ
A router is a device that forwards data packets between networks.
It connects different networks together.
πΉ Main Roles of a Routerβ
- Sends data to correct destination
- Connects local network to the internet
- Assigns IP addresses (using DHCP)
- Chooses best route for data
πΉ How Router Sends Dataβ
When data arrives:
- Router checks destination IP address.
- Uses a routing table.
- Forwards data to correct next network.
πΉ Router vs Switch (Common Exam Confusion)β
| Router | Switch |
|---|---|
| Connects networks | Connects devices in same network |
| Uses IP address | Uses MAC address |
| Connects to internet | Does not connect to internet |
6οΈβ£ How Everything Works Together
When sending data:
- Device uses NIC.
- NIC uses MAC address to send data locally.
- Router assigns IP address.
- Data sent using IP address across networks.
- Destination device identified using MAC on local network.
7οΈβ£ Example Scenario
You send a message online:
- Your NIC sends data.
- Your router assigns dynamic IP.
- Router sends data to internet.
- Destination network uses IP to locate device.
- Final delivery uses MAC address.
8οΈβ£ Common Exam Questions
β Define NIC
β Explain purpose of MAC address
β Describe structure of MAC address
β Compare MAC and IP addresses
β Difference between static and dynamic IP
β Compare IPv4 and IPv6
β Explain role of router
9οΈβ£ Common Mistakes
β Saying MAC address changes (it does not normally)
β Confusing MAC and IP
β Forgetting IPv6 uses hexadecimal
β Saying router only connects computers (it connects networks)
β Forgetting router assigns IP addresses
π Key Definitions to Memorise
NIC: Hardware that allows device to connect to network.
MAC address: Permanent unique hardware address.
IP address: Logical address assigned to device on network.
IPv4: 32-bit address written in decimal.
IPv6: 128-bit address written in hexadecimal.
Router: Device that forwards data between networks.
π― Final Revision Summary
NIC β Connects device to network
MAC β Permanent hardware address
IP β Logical network address
IPv4 β 32-bit, decimal
IPv6 β 128-bit, hexadecimal
Router β Directs traffic & connects to internet