Network Devices
The seven main network devices, from routers to modems, and what each one does.
Key words (13)
network devices, router, network interface card, NIC, network cable, hub, switch, bridge, modem, data packet, IP address, MAC address, routing table
Lesson Objectives
Types of networking devices

There are seven main devices that are used to build a network. These are:
- Router
- Network Interface Cards (NIC)
- Network Cable
- Hubs
- Switches
- Bridges
- Modems

1. Router
Routers enable data packets to be sent (routed) between different types of networks:
They are also commonly used to allow multiple computers to share the same internet connection.
Computers can connect to a router either through cables or wirelessly.


Routers connect networks together
Routers can connect networks together.
They are also used to connect multiple networks or computers to the same internet connection.

What exactly do routers do?

Routers connect networks and computers together and send data packets between them.
They can do this because they are intelligent devices and can perform the following:
- They read data and decide where to send it.
- They can decide on the fastest route in which to send the data.
- They make the format of the data suitable for transmission (e.g. binary into radio signals).
This is where the name ‘router’ comes from. They re-route data between networks using the best or fastest route possible.

What are data packets?

When data travels across a network, it is not sent in one big chunk. It is split up into smaller packets:
- A packet of data is typically about 1500 bytes in size (equivalent to 1500 keyboard characters).
The separate data packets are sent across the network from one device to another.
When they arrive at the destination device, the data packets are reassembled back into the original larger set of data.

Structure of a data packet

We need to understand two parts of a data packet:
- Header - this contains the IP address of the computer/network we are sending the data to:
- IP addresses are used to identify the location of computing devices. They are the computing equivalent to your home post or zip code.
- Payload - this is the actual data that we are sending.
A router uses the IP address contained in the packet header to determine where to send the data packet.

More on IP addresses
All computers and devices connected to the internet are assigned a unique number called an Internet Protocol Address (IP address):
- An IP address can show roughly where a device is connected to the internet.
The IP address of the device would depend on where in the world it connected to the internet from.
The list below shows some examples of different IP addresses of devices in various countries:
- Macau - 202.86.188.84
- United Kingdom - 80.247.16.0
- United States - 168.99.0.0
Example of data being routed to different countries
This image shows data being routed from the USA to Australia.
The IP Address of the destination computer tells the router exactly where to send the data.
Notice how the data is getting re-routed through the UK.
Each router that the data passes through is known as a hop.
In this example, it takes the data 3 hops to reach its destination.

Breakdown of an IP address

There are two types of IP addresses on a network - Public IP and Private IP:
- Public IP - usually assigned to the network router and is used to locate the network.
- Private IP - uniquely identifies the individual devices on the network.
All network devices share the same public IP.
Individual devices are assigned private IPs where the last few digits are unique:
- Desktop PC - 192.168.0.1
- Laptop - 192.168.0.2
- Printer - 192.168.0.3

IP addresses identifying devices on the same network

How does a router store IP addresses?

Routers store IP addresses in something called a routing table.
The routing table maps out all the possible routes to other networks.
The router uses the routing table to determine the best and most efficient route to use when sending data to another network.

2. Network Interface Card (NIC)

Network Interface Cards are used to connect individual devices to a network:
- Modern computers usually come with network interface cards already built-in.
Network interface cards have ports which allow network cables to be plugged in and connect the computer to the network.

Types of Network Interface Cards
There are two types of network interface card:
- Wired card - cables are used to connect devices to the network.
- Wireless card - devices are connected using Wi-Fi.


Network interface cards image


3. Network cable
Network cables are plugged into a computer’s wired NIC to connect it to the network:
- Data is sent around the network through the network cables.
Cables have advantages over wireless connections for two reasons:
- Cables can transfer data faster than wireless.
- Data transferred over cables is more secure than over wireless (Hackers can't intercept data easily).


4. Hubs
Hubs connect network computers and devices to each other so they can share files, data and resources.
Hubs are non-intelligent devices, and they don't manage any of the data that flows through them:
- When data gets sent to the hub, there is no attempt to locate the computer/device that the data is meant for.
- The hub simply sends the same data to every computer/device on the network whether they requested the data or not.
- This floods the network with lots of unnecessary data.
- Because of this, networks that use hubs perform very slowly.
Hubs are old and slow

Networks that are connected by hubs run slowly because there is a lot of unnecessary data flowing around:
- Hubs are old technology and have been replaced by switches which manage data more effectively and operate much faster (more on switches later).
Because of their slow data transmission speed, hubs are not used much anymore.

A network connected by a hub
Hubs are non-intelligent devices and do not manage data flowing around the network.
This makes them very slow.

5. Switches

Switches perform a similar function as hubs and are used to connect computers/devices together to form a LAN.
However, switches are intelligent devices and transmit data around the network more efficiently.

How do switches manage network data?
How switches manage data is summarised below:
- Each device on a Local Area Network is uniquely identified by a Media Access Control (MAC) address. MAC addresses are 12 hexadecimal digits in length.
- Data packets sent to the switch contain the MAC address of the sending device and the MAC address of the receiving device.
- A switch can check these addresses and only send the data packet to the relevant device rather than to all devices.
Because switches send data directly to the correct device, the amount of unnecessary data travelling around the network is reduced and the whole network works faster.
A network connected by a switch
Switches are intelligent devices and effectively manage network data.
Data is sent only to the device that requested it.
This frees up the network of unnecessary data and allows it to run very fast.

6. Bridge

Bridges are used to connect separate networks so that they act as one single network:
- You have two networks. One network connects devices with cables and the other connects devices using wireless.
- The cabled network cannot communicate with the wireless network and vice versa.
- By using a bridge, all the devices can communicate with each other as one single LAN.

Networks joined together by a bridge
A bridge allows two different networks to communicate with each other.

7. Modem
Modem = Modulator Demodulator.
Modems are used to connect computers to the internet:
- Modern modems have routers built-in to allow multiple devices to connect to the same internet connection
- If a modem doesn’t include a router, you can only connect ONE device to the internet. You can, alternatively, buy a separate router and connect it to your modem.


How do modems work?
Older internet connections are made over telephone lines. Telephone lines are designed to carry sound and voices, which are analogue signals.

The problem is that computer data is digital and it is not possible to send digital data over an analogue telephone line.


A modem is used to convert data between analogue and digital:
- The modem converts digital computer data into an analogue signal/noise (modulate) so it can be sent over the analogue telephone line
- Modems also reverse the process to convert analogue signals from the telephone line into digital data (demodulate) so the computer can use it.

Analogue to Digital Converters

In order to switch between analogue and digital data, modems use two different data converters:
- Digital to Analogue Converter (DAC) - converts the digital data from the computer into an analogue signal (sound/noise) which can then be sent down the telephone line.
- Analogue to Digital Converter (ADC) - converts the analogue signal in the telephone line into digital data so that the computer can process and use the data.

Image showing how modems work
This diagram shows how modems are used to convert data between analogue and digital in order to send it down a telephone line to the receiving computer.

End of the topic
You've completed the topic: lesson 4 of 12 published in this unit, and already 35% of the way through. Keep it up!
When you are ready, click the Next button below to move on to WiFi and Bluetooth.