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

Networks consist of various hardware.
Networks consist of various hardware.

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
Networks consist of various hardware.
Networks consist of various hardware.

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 allow computers on a LAN to connect to a WAN.
Routers allow computers on a LAN to connect to a WAN.
Multiple devices connecting to the internet through a router.
Multiple devices connecting to the internet through a router.

Routers connect networks together

Routers can connect networks together.

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

Network Devices: Routers connect networks together

What exactly do routers do?

Packets of data sent over the internet can pass through many other networks' routers until it reaches its destination.
Packets of data sent over the internet can pass through many other networks' routers until it reaches its destination.

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.

Packets of data sent over the internet can pass through many other networks' routers until it reaches its destination.
Packets of data sent over the internet can pass through many other networks' routers until it reaches its destination.

What are data packets?

Network Devices: 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.

Network Devices: What are data packets?

Structure of a data packet

A data packet contains the IP address of the destination computer, so the router knows where to send.
A data packet contains the IP address of the destination computer, so the router knows where to send.

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.

A data packet contains the IP address of the destination computer, so the router knows where to send.
A data packet contains the IP address of the destination computer, so the router knows where to send.

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.

Network Devices: Example of data being routed to different countries

Breakdown of an IP address

Network Devices: 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
Network Devices: Breakdown of an IP address

IP addresses identifying devices on the same network

Routers use IP addresses to work out which device on a network to send data.
Routers use IP addresses to work out which device on a network to send data.

How does a router store IP addresses?

IP addresses stored in a routing table where the best route in which to send data to its destination network is mapped.
IP addresses stored in a routing table where the best route in which to send data to its destination network is mapped.

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.

IP addresses stored in a routing table where the best route in which to send data to its destination network is mapped.
IP addresses stored in a routing table where the best route in which to send data to its destination network is mapped.

2. Network Interface Card (NIC)

A network interface card with a port that allows the device to connect to the network.
A network interface card with a port that allows the device to connect to the network.

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.

A network interface card with a port that allows the device to connect to the network.
A network interface card with a port that allows the device to connect 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.
Wired NIC - connects network devices using cables.
Wired NIC - connects network devices using cables.
Wireless NIC - A wireless network interface card connects computers to a network using Wi-Fi signals.
Wireless NIC - A wireless network interface card connects computers to a network using Wi-Fi signals.

Network interface cards image

A wired NIC uses cables to connect computers/devices to a network.
A wired NIC uses cables to connect computers/devices to a network.
A wireless NIC uses Wi-Fi to connect computers/devices to a network.
A wireless NIC uses Wi-Fi to connect computers/devices to a network.

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).
Network cables plug into the ports on network interface cards.
Network cables plug into the ports on network interface cards.
Network cable is used to connect computers and devices to a network.
Network cable is used to connect computers and devices to a network.

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

Hubs allow devices to connect to each other by plugging network cables into their ports.
Hubs allow devices to connect to each other by plugging network cables into their ports.

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.

Hubs allow devices to connect to each other by plugging network cables into their ports.
Hubs allow devices to connect to each other by plugging network cables into their ports.

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.

Network Devices: A network connected by a hub

5. Switches

A network switch performs a similar function to a hub and connects network devices to each other.
A network switch performs a similar function to a hub and connects network devices to each other.

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.

A network switch performs a similar function to a hub and connects network devices to each other.
A network switch performs a similar function to a hub and connects network devices to each other.

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.

Network Devices: A network connected by a switch

6. Bridge

Bridges are used to connect (bridge) different networks together.
Bridges are used to connect (bridge) different networks together.

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.
Bridges are used to connect (bridge) different networks together.
Bridges are used to connect (bridge) different networks together.

Networks joined together by a bridge

A bridge allows two different networks to communicate with each other.

Network Devices: Networks joined together by a bridge

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.
An old modem which allowed people to connect to the internet.
An old modem which allowed people to connect to the internet.
A modem must be connected to a router to allow multiple devices to connect to the same internet connection.
A modem must be connected to a router to allow multiple devices to connect to the same internet connection.

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.

Network Devices: How do modems work?

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

Network Devices: How do modems work?
Modems convert digital signals into analogue sound so they can be sent down a telephone line to their destination
Modems convert digital signals into analogue sound so they can be sent down a telephone line to their destination

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.
Modems convert digital signals into analogue sound so they can be sent down a telephone line to their destination
Modems convert digital signals into analogue sound so they can be sent down a telephone line to their destination

Analogue to Digital Converters

A modem sits between the computer and the telephone system and converts data between digital and analogue
A modem sits between the computer and the telephone system and converts data between digital and analogue

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.
A modem sits between the computer and the telephone system and converts data between digital and analogue
A modem sits between the computer and the telephone system and converts data between digital and analogue

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.

Network Devices: Image showing how modems work

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!

35%

When you are ready, click the Next button below to move on to WiFi and Bluetooth.