Networks, Connections & Hardware
The Internet vs The World Wide Web
The Internet is a worldwide collection of inter-connected networks, not owned or managed by any one group of people. Anyone can access the Internet.
The Internet is not the same thing as the World Wide Web. Websites are stored on web servers connected to the Internet, and each site has a unique web address so that it can be accessed. All information on the World Wide Web is stored in documents known as web pages. These pages are accessed using a program called a web browser such as Firefox, Mozilla or Google Chrome.
The Web is just one of the ways in which information is communicated over the Internet. The Internet, not the Web, is used for email and instant messaging.
IP addressing
Every networked computer or computing device in the world has a separate, unique IP address, although you will see later that a mobile device's IP address changes as it moves location. The current addressing system is called IPv4. An IPv4 address is typically written in dotted decimal digits, formatted as four 8-bit fields separated by full stops. Each 8-bit field represents a byte of the IPv4 address. IP stands for Internet Protocol and an IP version 4 address takes the form: 65.123.217.14
There are 4.3 billion IPv4 addresses and in 2020 there were over 30 billion connected devices. This is expected to double by 2025. We have run out of IPv4 addresses so a new system, IPv6, is replacing it.
An IPv6 address is 128 bits long, (four times as long as an IPv4 address), arranged in eight groups of 16 bits each. Each group is four hexadecimal digits, separated by colons.
IPv4 Address Breakdown
11000000.10101000.00000000.00000001
Each of the 4 sections is an 8-bit byte (octet). 4 x 8 = 32 bits total.
IPv6 Example
8 x 4 x 4 = 128 bits total.
MAC addressing
In order to connect to the Internet, a computer device must have a piece of hardware called a Network Interface Controller/card (NIC). Each NIC has a Media Access Control or MAC address assigned to it by the manufacturer. Your computer may have more than one MAC address - one for wired Ethernet and one for wireless. A mobile phone may have different MAC addresses for wireless and Bluetooth.
A MAC address is a 48-bit address that is written as twelve hex digits to make it easier for humans to work with.
Network hardware
Routers and switches: A router is designed to route data packets across a wide area network such as the Internet. It is used for connecting networks. Each router in a network acts as a node and packets are passed from router to router to their destination somewhere on the Internet. If a packet is destined for a computer in a LAN, it will typically be routed to a switch.
A switch is a component of a LAN that learns the MAC addresses of each individual device connected to it locally. Its function is to forward the inbound packets only to the intended recipient, using the recipient's MAC address and the port it is connected to.
Network Interface Card (NIC): A Network Interface Card (NIC) is required to connect any network-enabled device. This is a physical component which can either operate wirelessly or have a wired connection using a standard Ethernet cable.
Wireless Access Points (WAPs): A wireless transmitter (Wireless Access Point - WAP) receives data from a network via its physical connection. The transmitter then converts this data into radio waves which are then transmitted. Any device on the network receives this radio signal via a Wi-Fi adaptor which allows it to communicate or download data from the data source.
Domain names and DNS
Websites are stored on web servers connected to the Internet. Each website has an IP address so people can access the pages using their browser software. However, when you want to access a site you don't enter the IP address, you type in a domain name or URL (Uniform Resource Locator) such as www.rspb.org.uk.
When you type the domain name www.rspb.org.uk into a browser, the web page request is sent to a Domain Name Server on the Internet. Each DNS server has a database that maps domain names to IP addresses so it can translate the human-friendly domain name into an IP address.
When a user types a URL:
- The URL is sent to a local DNS server where it is translated into an IP address.
- If the IP address is found, it is passed back to the browser.
- If the IP address is not found, it is passed 'up the chain' to the next DNS server.
WANs vs LANs
Wide Area Networks: The Internet is the largest and most famous Wide Area Network in the world but some large and medium-sized organisations have their own private Wide Area Networks, or WANs. A WAN is a collection of computers and networks connected together using resources supplied by a 'third party carrier' such as British Telecom. It uses cables, telephone lines, satellites and radio waves to connect the components, which are usually spread over a wide geographical area.
Local Area Networks (LANs): A Local Area Network (LAN) usually covers a relatively small geographical area. It consists of a collection of computers and peripheral devices (such as printers) connected together, often on a single site. A LAN is often owned and managed by a single person or organisation.
Network Topologies
Computers can be connected together in different layouts, or topologies. Two common topologies are star and mesh.
Star networks: All of the computers have their own cable connecting them to a hub, switch or computer which acts as a server.
Mesh networks: A mesh network can be a local area network (LAN), a wireless LAN (WLAN) or a virtual LAN. In a wireless mesh network, there is no central connection point. Instead, each point on the network acts as a 'node', equipped with a small radio transmitter. Information travels from node A to node B by hopping wirelessly from one mesh node to another, choosing the quickest route.
Factors affecting network performance
- Bandwidth is the main factor affecting network performance. Bandwidth is measured in megabits per second (Mbps), and the higher the bandwidth, the faster data is transferred.
- Number of devices connected. Network load or a large number of users can slow down network performance.
- Latency is the time delay between the moment that transmission of the first byte or packet of a communication starts, and when it is received at its destination.
- Errors in transmission due to noise or distortion mean that the data has to be retransmitted.
- Interference during Wi-Fi transmission from other devices. Thick walls between the router and the Wi-Fi device can result in a weak Wi-Fi connection.